- Account keys live on your account. A key marked
auto_injectis installed into every new pod you create, so you never have to add it again. - Pod keys are the
authorized_keysentries on one pod. Adding one here affects that pod only.
Account Keys
List
200 OK
Add
Response:
201 Created - returns the stored key, including the fingerprint we computed.
Update
- delete and re-add instead.
Delete
{"status": "deleted"}.
Deleting an account key does not remove it from pods it was already installed on. Remove it from
each pod as well if that’s what you meant.
Pod Keys
Connection Info
200 OK
port rather than assuming 22.
A pod whose SSH port hasn’t been allocated yet - which happens briefly right after creation -
answers 503 with ssh_ready: false and an explanatory error. Retry rather than treating it as a
failure.
List Keys on a Pod
authorized_keys. A pod with no keys returns an empty array, not a 404.
Add a Key to a Pod
200 with {"message": "key already exists"}.
Remove a Key From a Pod
DELETE with a body. Returns 404 if the pod
has no keys, or if that key isn’t among them.