Get a SSH key
Returns a specific SSH public key belonging to a user.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”The SSH key’s UUID value.
This can either be an Atlassian Account ID OR the UUID of the account,
surrounded by curly-braces, for example: {account UUID}.
Responses
Section titled “ Responses ”The specific SSH key matching the user and UUID
object
The SSH key’s immutable ID.
The SSH public key value in OpenSSH format.
The comment parsed from the SSH key (if present)
The user-defined label for the SSH key
object
A link to a resource related to this object.
object
object
Links related to an Account.
object
A link to a resource related to this object.
object
The SSH key fingerprint in SHA-256 format.
Examples
{ "comment": "user@myhost", "created_on": "2018-03-14T13:17:05.196003+00:00", "expires_on": null, "fingerprint": "w9tZSiFoZ8oXwS4ZSWrJopGxwvnPIewA6Mo4owAHPrI", "key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqP3Cr632C2dNhhgKVcon4ldUSAeKiku2yP9O9/bDtY", "label": "", "last_used": "2018-03-20T13:18:05.196003+00:00", "links": { "self": { "href": "https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}/ssh-keys/b15b6026-9c02-4626-b4ad-b905f99f763a" } }, "owner": { "display_name": "Mark Adams", "links": { "avatar": { "href": "https://bitbucket.org/account/markadams-atl/avatar/32/" }, "html": { "href": "https://bitbucket.org/markadams-atl/" }, "self": { "href": "https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}" } }, "type": "user", "username": "markadams-atl", "nickname": "markadams-atl", "uuid": "{d7dd0e2d-3994-4a50-a9ee-d260b6cefdab}" }, "type": "ssh_key", "uuid": "{b15b6026-9c02-4626-b4ad-b905f99f763a}"}If the specified user or key is not accessible to the current user
If the specified user or key does not exist
Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.
object
object
Optional structured data that is endpoint-specific.
object
Example generated
{ "type": "example", "error": { "message": "example", "detail": "example", "data": {} }}