/next/credentials). This page holds the steps every credential shares. Each provider page below covers only what differs: what to create at the provider, the access it needs, the fields the form asks for, and the CLI command.
Choose a credential type
Registry
Helm chart registries (HTTP and OCI).
Git
GitHub, GitLab and Bitbucket Cloud for GitOps and applications.
Hetzner
Hetzner Cloud API token for cluster provisioning.
OVH
OVHcloud application keys and Public Cloud project.
DigitalOcean
DigitalOcean personal access token for droplets and DOKS.
UpCloud
UpCloud API token for servers and UKS.
Scaleway (Closed Beta)
Project-scoped API key for Scaleway Instances clusters and Kapsule.
AWS
IAM role or access keys for cost, EKS, and self-managed clusters on EC2.
Google Cloud (GCP)
Service account key for cost and discovery, or with provisioning roles for GKE.
Azure
Service principal for provisioning AKS.
Proxmox VE
Proxmox API address and token for self-managed clusters.
Morpheus (Closed Beta)
HPE Morpheus appliance address and access token.
Ankra Cloud (Closed Beta)
Ankra Cloud API token for self-managed clusters and Ankra Cloud Kubernetes.
SSH Key
SSH keys for server access on self-managed clusters.
Compare credential types
Commands that work on any credential:
ankra credentials list, get, validate, delete and propagation. See the CLI reference.
Before you start
- A role that may change credentials. Every role can list and read credentials. Adding, renaming, checking and replacing a secret need
credentials.write, deleting needscredentials.delete, and showing stored values needscredentials.reveal; the built-inownerandadminroles hold all three. See the permission matrix. Withoutcredentials.writethe add page reads Your role cannot add credentials. - The secret from the provider. Create it first, with only the access Ankra needs. The provider page says how.
Add a credential
- Portal
- CLI
1
Open the add page
Go to Integrations & alerts → Credentials and click Add credential. The Add a credential page shows two groups: Cloud providers and Git, registries and keys (GitHub, Bitbucket Cloud, GitLab, Helm registry, SSH key, and AWS role (CloudFormation)).
2
Choose the provider
Click the provider. A cloud provider opens the form New
<provider> credential. Git, registry, SSH key and AWS role connections open their own flow, described on their pages.3
Name the credential
Enter a Name: 3 to 100 lowercase letters, digits and single hyphens, starting and ending with a letter or a digit. Clusters and YAML refer to the credential by this name, so it cannot change later. You can give it a friendlier label afterwards. Ankra checks the name is free as you type; a taken name shows the reason and, where it has one, a name to try.
4
Fill in the provider's fields
Enter the values the provider page lists. Some providers have an extra section you can open for optional settings (an endpoint, a jumphost, Tailscale).
5
Test the connection
Click Test the connection. Testing checks the values with the provider without saving them. You see The connection works, or The connection did not work with the provider’s answer and a list of what to check.
6
Add it
Click Add credential. Ankra checks the values with the provider before it stores them and refuses them if the provider does (an HPE Morpheus appliance behind a jumphost is the one exception: test it first). The credential’s page opens, and Ankra checks the connection again as soon as it is saved. The status next to the title reads Connection works once the provider accepts it.
Find a credential
Integrations & alerts → Credentials lists every credential with its provider, the account or address it points at, and its health. The counts above the list read Credentials, Needs attention (failed checks or unavailable connections), Healthy connections and No recent check.- Filter by name, account or provider… searches the list.
- The provider filter starts at All providers; the health filter offers All health states, Recorded issues, Last checks passed, No recent check, Not monitored and Other recorded states.
- Credentials Ankra creates for the organisation, such as registry robot logins, are hidden until you tick Show managed by Ankra. They are marked managed by Ankra and cannot be changed.
- Clear filters resets the search and both filters. Past ten credentials the list pages, at 10, 25 or 50 per page.
- Portal
- CLI
- MCP
Click a credential’s name to open it.
The credential page
The header shows the credential’s name, its provider and its health. The page has these tabs:Check the connection
On Overview, under Check the connection, click Check now. Ankra asks the provider whether it accepts the stored credential. You see The provider accepted this credential just now., or the provider’s answer and its error code. For an SSH key the section is Validate the public key and it checks only the stored key’s format, not access to a server. Git and registry credentials have no Check now. The CLI has no command that runs this check.Usage and limits
Usage & limits reads the provider’s API with the credential each time you open it, so it counts everything in the account, including resources created outside Ankra.
For any other cloud provider the tab reads Provider capacity is unavailable, with the reason.
Rename a credential
The name is fixed. You can give the credential a Display name that the list and the page show instead.- Open the credential and click Settings & access.
- Under Display name, enter a Label and click Save label. You see The label is saved. Clear the field and save to remove it.
Replace the secret
The identity fields stay fixed, so a credential always points at the same account. What you replace is the secret.- Open the credential and click Settings & access.
- Under Replace the secret, enter the new values. Where there are several fields, leave a field empty to keep what is stored for it.
- Click Check and replace.
Show stored values
A role withcredentials.reveal can open Settings & access → Stored values and click Show stored values to see what Ankra holds for the credential and which environments use it. Hide stored values clears them from the page. Some secrets are write-only and read Never shown: Ankra only uses it to connect.: the Scaleway secret key, the Proxmox token secret, the Morpheus access token, the Google Cloud service account key and the Azure client secret.
Delete a credential
- Portal
- CLI
- MCP
- Open the credential and check Connected resources (or Repositories & resources) for what still uses it.
- Click Settings & access, then Delete credential under Delete this credential.
- Type the credential’s name to confirm and click Delete credential. Ankra returns you to the list, where the credential is gone.
See what a cluster uses
Infrastructure → Clusters → <your cluster> → Settings → Credentials lists Credentials this cluster uses: the credentials its definition names for the Git repository it syncs with, its metrics and log sources, and the registries its add-ons install from. Each row gives the Name, what it is Used for and its Kind; click a name to open the credential. A name that matches no stored credential reads Not among your stored credentials.AI and MCP access
Ankra AI and MCP clients can list and inspect credentials (secret fields are always redacted), validate names, delete unused credentials, and plan and apply a GitHub credential rotation. They can never create a credential, because that would mean passing the secret itself to the AI, which the platform refuses. See the MCP Tool Reference.Security
Credentials are stored in a dedicated secret store (HashiCorp Vault or OpenBao):- Encrypted at rest
- One store for all organisations: Ankra’s API checks on every request that a credential belongs to your organisation, and there is no separate encryption key per organisation
- Read by Ankra’s platform services when an action needs the credential, such as provisioning, deploying or calling the provider
- Every reveal of a secret value through the API is written to the organisation’s audit log, as are checking, rotating, renaming and deleting a credential. Listing credentials, and the platform’s own use of a credential when it provisions or deploys, are not written there.
What can go wrong
For provider-specific errors, see the provider’s page.
API access
Manage credentials with the Ankra API:POST /api/v1/credentials/{provider} with the fields that provider needs; the API reference lists them.
See the API Reference for complete documentation.