users
List SSH Public Keys
Lists all SSH public keys associated with the authenticated user's account. These keys can be used for Git operations and SFTP access.
Returns a map where keys are SSH key UUIDs (fingerprints without colons) and values are the full SSH public key strings in standard format: "ssh-rsa AAAAB3... comment" or "ssh-ed25519 AAAAC3... comment"
get/v0/users/{user_id}/keys
Request
- Base URLhttps://api.pantheon.io
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_idstring required
User ID
Response
List SSHKeys Response required
Example response:
{ "28107bd5a8612555538bfa962bc64e20": "ssh-rsa AAAAB3... user@example.com", "a3c4f8b9d2e1a5c6b7d8e9f0a1b2c3d4": "ssh-ed25519 AAAAC3... admin@host.com" }
Changes
No recorded changes to this operation across all 2 revisions of this API.