Skip to content

CfTokenPolicy

Defined in: tokens/tokens.ts:26

One policy of a token: which permission groups it grants on which resources.

effect: "allow"

Defined in: tokens/tokens.ts:28

Always allow: a token policy only grants.


permission_groups: object[]

Defined in: tokens/tokens.ts:32

The permission groups granted, by id.

id: string


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.