Access Service Token Args
data class AccessServiceTokenArgs(val accountId: Output<String>? = null, val duration: Output<String>? = null, val minDaysForRenewal: Output<Int>? = null, val name: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<AccessServiceTokenArgs>
Access Service Tokens are used for service-to-service communication when an application is behind Cloudflare Access.
Import
If you are importing an Access Service Token you will not have the client_secret available in the state for use. The client_secret is only available once, at creation. In most cases, it is better to just create a new resource should you need to reference it in other resources.
$ pulumi import cloudflare:index/accessServiceToken:AccessServiceToken example <account_id>/<service_token_id>
Content copied to clipboard