Terraform and Service Accounts

I’m trying to setup a CI/CD pipeline to execute my terraform which includes CloudFlare resources. I’d prefer to use a service account.

My org signed up for CloudFlare Teams, and we licensed some users so we could create Service Tokens and scope them appropriately. However this system seems completely different from the API Tokens we create in the normal CloudFlare portal. Are service Tokens usable with Terraform in anyway? Can I use the service token to retrieve an API Token somehow?

Yes, the service tokens are a completely different system, mainly for authenticating to hostnames protected by CF Access. The CF API is only accessible via the global API key or API tokens.

No, there is no API token vending API.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.