Skip to content

Managed secret providers

Cloudflare

Connect Cloudflare to Alter Vault for secure API access

Use Cloudflare credentials to make authenticated API calls through Alter Vault without exposing API keys in code.

PropertyValue
Provider IDcloudflare
CategoryDeveloper Tools
Credential TypeBearer Token

Log in to the Cloudflare Dashboard

Log in to the Cloudflare Dashboard at dash.cloudflare.com.

Go to My Profile → API Tokens

Go to My Profile → API Tokens at dash.cloudflare.com/profile/api-tokens.

Create a token

Click ‘Create Token’ and select a template or create custom.

Configure permissions

Configure permissions and click ‘Create Token’.

Copy the generated API token

Copy the generated API token (it won’t be shown again).

Open the Developer Portal

Go to portal.alterauth.com and navigate to the application.

Add Cloudflare

Go to Managed Secrets > Add Provider > Cloudflare.

Enter credentials

Paste your API Token into the credential field.

Save

Click Save. You’ll receive a grant_id to use with the SDK.

response = await alter_app.request(
HttpMethod.GET,
"https://api.cloudflare.com/client/v4/zones",
grant_id="YOUR_GRANT_ID",
)