AccessServiceToken

class AccessServiceToken : KotlinCustomResource

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>

Properties

Link copied to clipboard
val accountId: Output<String>?

The account identifier to target for the resource. Conflicts with zone_id.

Link copied to clipboard
val clientId: Output<String>

Client ID associated with the Service Token. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val clientSecret: Output<String>

A secret for interacting with Access protocols. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val duration: Output<String>

Length of time the service token is valid for. Available values: 8760h, 17520h, 43800h, 87600h, forever.

Link copied to clipboard
val expiresAt: Output<String>

Date when the token expires.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val minDaysForRenewal: Output<Int>?
Link copied to clipboard
val name: Output<String>

Friendly name of the token's intent.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val zoneId: Output<String>?

The zone identifier to target for the resource. Conflicts with account_id.