CfTokenPolicy
Defined in: tokens/tokens.ts:26
One policy of a token: which permission groups it grants on which resources.
Properties
Section titled “Properties”effect
Section titled “effect”effect:
"allow"
Defined in: tokens/tokens.ts:28
Always allow: a token policy only grants.
permission_groups
Section titled “permission_groups”permission_groups:
object[]
Defined in: tokens/tokens.ts:32
The permission groups granted, by id.
id:
string
resources
Section titled “resources”resources:
Record<string,string>
Defined in: tokens/tokens.ts:30
The resources the policy covers, by resource name (com.cloudflare.api.account.<id>), each "*" for all of its kind.