GET /account), so a rejected or mistyped token is refused immediately.
What Ankra Accesses
One token covers both cluster types. For self-managed UpCloud clusters, Ankra provisions the infrastructure directly:
For UKS, Ankra uses the managed Kubernetes API instead:
Creating an UpCloud API Credential
1
Create an UpCloud API token
- Log in to the UpCloud Control Panel
- Open the API tokens page. Where it lives depends on your account type: a workspace account has it under Settings → API tokens (
hub.upcloud.com/settings/api-tokens), a regular account under Account → API tokens (hub.upcloud.com/account/api-tokens). For a scoped identity, first create a workspace member under People with API connections allowed, and create the token as that member - Create a token and copy it (prefixed with
ucat_; shown once)
2
Add it to Ankra
- Portal
- CLI
Go to Integrations & alerts → Credentials, click Add credential, and under Cloud providers choose UpCloud. Enter:
- Name: 3 to 100 lowercase letters, digits and single hyphens (for example
upcloud-prod). It cannot change later. - API token: the
ucat_...token from the previous step
ankra credentials upcloud ssh-key create --name my-key --generate.
You can replace the token later under Settings & access → Replace the secret, without recreating the credential (see Replace the secret). Ankra checks the new token with UpCloud before it stores it.
credentials.write to add or replace the credential (the built-in owner and admin roles have it). See Credentials.
Listing UpCloud Credentials
Troubleshooting UpCloud Credentials
These are the answers Test the connection and Check now give:
The check verifies the token is accepted, not what its account may manage. If the credential saves fine but provisioning later fails with a permissions error, the token’s account is restricted - allow it to manage servers, networking, storage, and Kubernetes, or create a token for a less restricted account and replace it on the credential’s page.