Get an SSH key

Returns a single SSH Key object identified by id that you have access to view.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • Identity and access permissions. Your user needs a role with these permissions. Learn more.

    • Permissions: view_profile_ssh_key
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: account:read_only

CLI

linode-cli sshkeys view 42

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
integer
required

The ID of the SSHKey.

Responses

Language
Credentials
Response
Choose an example:
application/json