Creating an SSH Key Credential
1
Choose an approach
- Bring your own key: provide an existing SSH public key
- Generate a keypair: Ankra generates a new Ed25519 keypair and returns the private key for you to save
2
Add to Ankra (UI)
Go to Credentials → Add → SSH Key, enter a name, and either paste your public key or choose Generate.
3
Or via CLI
An SSH key credential belongs to the whole organisation, so one credential can be attached to clusters on any provider.The provider-named routes, such as
ankra credentials hetzner ssh-key create --name my-key --generate, create the same organisation-wide credential and still work.