Skip to content

Key Pairs Console

Reference · Updated Sep 2026

Coming from another cloud?

▸AWS·EC2 Key Pairs

EC2 Key Pairshigh

  • Public key auto-injected to authorized_keys at boot.
  • Up to 5000 per region; AWS stores public key.
  • Supports import of external keys (RSA/ED25519).
  • No post-launch addition without userdata/SSM.
AWS docs ↗
▸Azure·SSH public keys

SSH public keyshigh

  • Managed as ARM resources (Microsoft.Compute/sshPublicKeys), reusable across VMs, vs OpenStack's keypairs injected only at boot.
  • API /providers/Microsoft.Compute/sshPublicKeys, supports ED25519/RSA, no private key storage.
  • Keys provided during VM create or via portal/CLI, not listed/injected separately post-boot like OpenStack.
  • No deletion/re-import of injected keys; new VM for changes.
Azure docs ↗
▸DigitalOcean·SSH keys (Account/Team SSH keys)

SSH keys (Account/Team SSH keys)high

  • SSH keys are managed at the account/team level via /v2/account/keys and then referenced by ID/fingerprint when creating Droplets, whereas OpenStack Nova keypairs are typically created per project/tenant and managed via the Nova API.
  • DigitalOcean explicitly notes that including a key during Droplet creation embeds it into the root user’s authorized_keys, whereas OpenStack’s keypair injection mechanism is generally cloud-init/metadata-service driven and may vary by image/cloud config.
  • DigitalOcean tokens/scopes model for API authorization (bearer tokens with scopes like ssh_key:read) differs from OpenStack Keystone’s token + role-based policy model.
  • DigitalOcean documentation emphasizes that post-creation SSH key changes are performed inside the guest OS (not via control panel), whereas OpenStack users may rely more heavily on metadata/cloud-init or config management patterns post-boot.
DigitalOcean docs ↗
▸Google Cloud·SSH keys

SSH keyshigh

  • Managed in project/instance metadata or OS Login (IAM); no central 'keypairs' resource like Nova.
  • Auto-generates ephemeral keys for CLI/console; manual upload only in OpenStack.
  • Public key includes username suffix; injected differently.
Google Cloud docs ↗
▸Hetzner·SSH Keys

SSH Keyshigh

  • API /v1/ssh_keys; POST public_key, name; inject array of ssh_keys on server create.
  • No private key management; user provides public keys only.
  • Fingerprint-based listing/filtering; labels support.
  • Injected via cloud-init on boot.
Hetzner docs ↗

Key pairs console

Overview#

The Key Pair service enhances the security of virtual machine instances by providing a mechanism for secure, passwordless authentication using SSH keys. It is an essential feature for users who need to access their instances remotely and securely.

Select Compute > Key Pairs to view the key pairs console.

The console lists all key pairs in your project and lets you view, edit, and delete key pairs. You can select key pairs from the console to view details and copy the public key.

Key Pairs console listing key pairs with columns for name and fingerprint, with Create Keypair buttonClick to zoom
Key Pairs console showing project key pairs with name and fingerprint

Select Create Keypair to generate or upload a new key pair.

Key pair details#

Here's a table summarizing the properties and attributes that you should understand to work with key pairs in the Compute service:

Property/AttributeDescription
NameA unique name identifying the key pair, used for reference and management.
FingerprintA hash value that uniquely identifies the public key, used for verifying the key pair's integrity.
Public KeyThe public key component of the key pair, used for encrypting data and authenticating the user.
Private KeyThe private key component of the key pair, used for decrypting data. This is only available when the key pair is created and should be stored securely on your machine.
User IDThe ID of the user who owns the key pair, linking the key pair to a specific user account.
TypeThe type of key pair, typically ssh for SSH key pairs used for accessing instances.

Understanding these properties and attributes helps you manage key pairs, ensuring secure access to instances and proper authentication for cloud operations.

Key pairs service#

Key pairs CLI reference#

Key pairs API reference#

See also#

Was this page helpful?