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. Go to AccountAPI 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 to Ankra (UI)

Go to CredentialsAddUpCloud, then provide:
  • Name: a unique identifier - lowercase letters and numbers only, cannot start with a hyphen (e.g. upcloud-prod)
  • API Token: the ucat_... token from the previous step
Click Test connection to verify the token against the UpCloud API, then save.
3

Or via CLI

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.
The token can be rotated later from the credential’s page without recreating the credential - everything using it picks up the new token automatically.

Listing UpCloud Credentials

Troubleshooting UpCloud Credentials

The table below covers the Test connection result in the Ankra UI: Test connection 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 rotate it in on the credential’s page.