Skip to main content
UpCloud API credentials store the API access for an UpCloud subaccount, used to provision and manage self-managed UpCloud clusters and UpCloud Managed Kubernetes (UKS). The credential is validated against the UpCloud API on creation.

Creating an UpCloud API Credential

1

Enable API access in UpCloud

  1. Log in to the UpCloud Control Panel
  2. Go to People and create (or open) a subaccount with API connections allowed
  3. Note the subaccount’s API credentials
2

Add to Ankra (UI)

Go to CredentialsAddUpCloud, enter a name, and paste the API credential.
3

Or via CLI

ankra credentials upcloud create --name my-upcloud
# You will be securely prompted for the API token
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.

Listing UpCloud Credentials

ankra credentials upcloud list
curl https://platform.ankra.app/api/v1/credentials/upcloud \
  -H "Authorization: Bearer $ANKRA_API_TOKEN"