Skip to main content
Each API key belongs to one project and contains an access key, a secret, a status, and explicit permissions. API keys are for server-side automation, not browser sessions.

Create a key

1

Select the project

Use the project selector before opening Developers. The selected project becomes the key’s permanent resource scope.
2

Name and scope the key

Use a name that identifies the workload and environment, such as production-dns-deployer. Enable only the actions the workload performs.
3

Store both credentials

Save the APTRANET_… access key and secret in a secret manager. The secret is shown only after creation or rotation.

Authenticate

The access key is sent as a bearer credential. The secret is sent separately in Aptranet-Secret. Both are required.

Credential lifecycle

Rolling a secret invalidates the old value immediately. There is one active secret per key, so consumers using the old value fail until they receive the replacement.

Rotate with deployment overlap

For a planned change that needs overlap:
  1. Create a second key in the same project with the required minimum permissions.
  2. Store its access key and secret as a new deployment secret.
  3. Deploy the new credentials to every consumer and verify a representative request.
  4. Confirm scheduled jobs and older application instances no longer use the old key.
  5. Disable the old key, monitor for failures, and delete it when the transition is complete.
If a credential is exposed, disable it or roll its secret immediately and update affected workloads. Do not retain a compromised credential to preserve deployment overlap. Use your first API request to verify a replacement key. A successful list request confirms only that read permission; also verify the specific operations your workload needs. See API authentication and API permissions for request details.