Skip to main content

SSH keys

SSH keys are account-level credentials used when deploying compute instances. The API lets you register, list, and remove keys so they're available at deploy time.

For authentication and general request format, see the API introduction.

For complete request/response schemas, see the API reference (Swagger UI).

tip

You can also manage SSH keys through the Fluence Console settings.

Endpoints

Base URL: https://api.fluence.dev

MethodPathDescription
GET/ssh_keysList all registered keys
POST/ssh_keysAdd a new key
DELETE/ssh_keysRemove a key

Add a key

Provide a friendly name and the full publicKey string. If the key already exists in your account (matched by fingerprint), the endpoint returns 200 with the existing key details instead of creating a duplicate. A newly created key returns 201.

tip

Read how to generate SSH keys if you don't have one yet.

Delete a key

Deletion uses the key's fingerprint as the identifier — not its name. You can find fingerprints by listing your keys first.

info

Removing a key from your account does not affect instances that were already deployed with it. Those instances remain accessible until terminated.