Skip to main content
UpCloud API credentials store an UpCloud API token, used to provision and manage self-managed UpCloud clusters and UpCloud Managed Kubernetes (UKS). The token is validated when you save it - Ankra makes a read-only call to the UpCloud API (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

  1. Log in to the UpCloud Control Panel
  2. 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
  3. Create a token and copy it (prefixed with ucat_; shown once)
The token inherits the permissions of the account it belongs to - that account must be allowed to manage servers, networking, storage, and Kubernetes. A read-only or restricted member’s token passes the save-time check but fails when Ankra provisions.
2

Add it to Ankra

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
Click Test the connection. You see The connection works. Then click Add credential; the credential’s page opens.
For self-managed UpCloud clusters you also need an SSH key credential - create one with 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.
You need a role with 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.