» cloudflare_access_service_token

Access Service Tokens are used for service-to-service communication when an application is behind Cloudflare Access.

» Example Usage

resource "cloudflare_access_service_token" "my_app" {
  account_id = "d41d8cd98f00b204e9800998ecf8427e"
  name       = "CI/CD app"
}

» Argument Reference

The following arguments are supported:

  • account_id - (Required) The ID of the account where the Access Service is being created.
  • name - (Required) Friendly name of the token's intent.

» Attributes Reference

The following attributes are exported:

  • client_id - UUID client ID associated with the Service Token.
  • client_secret - A secret for interacting with Access protocols.

» Import

Access Service Tokens can be imported using a composite ID formed of account ID and Service Token ID.

$ terraform import cloudflare_access_service_token.my_app cb029e245cfdd66dc8d2e570d5dd3322/d41d8cd98f00b204e9800998ecf8427e

where