AccountToken

class AccountToken : KotlinCustomResource

Example Usage

resources:
exampleAccountToken:
type: cloudflare:AccountToken
name: example_account_token
properties:
accountId: eb78d65290b24279ba6f44721b3ea3c4
name: readonly token
policies:
- effect: allow
permission_groups:
- id: c8fed203ed3043cba015a93ad1616f1f
meta:
key: key
value: value
- id: 82e64a83756745bbbb1c9c2701bf816b
meta:
key: key
value: value
resources:
com.cloudflare.api.account.zone.22b1de5f1c0e4b3ea97bb1e963b06a43: '*'
com.cloudflare.api.account.zone.eb78d65290b24279ba6f44721b3ea3c4: '*'
condition:
request_ip:
in:
- 123.123.123.0/24
- 2606:4700::/32
notIn:
- 123.123.123.100/24
- 2606:4700:4700::/48
expiresOn: 2020-01-01T00:00:00Z
notBefore: 2018-07-01T05:20:00Z

Import

$ pulumi import cloudflare:index/accountToken:AccountToken example '<account_id>/<token_id>'

Properties

Link copied to clipboard
val accountId: Output<String>

Account identifier tag.

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

The expiration time on or after which the JWT MUST NOT be accepted for processing.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val issuedOn: Output<String>

The time on which the token was created.

Link copied to clipboard
val lastUsedOn: Output<String>

Last time the token was used.

Link copied to clipboard
val modifiedOn: Output<String>

Last time the token was modified.

Link copied to clipboard
val name: Output<String>

Token name.

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

The time before which the token MUST NOT be accepted for processing.

Link copied to clipboard

List of access policies assigned to the token.

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

Status of the token. Available values: "active", "disabled", "expired".

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val value: Output<String>

The token value.