@@ -6637,6 +6637,52 @@ paths:
6637
6637
- lang: CLI
6638
6638
source: >
6639
6639
linode-cli managed credential-revoke 9991
6640
+ /managed/credentials/sshkey:
6641
+ x-linode-cli-command: managed
6642
+ get:
6643
+ x-linode-grant: unrestricted only
6644
+ tags:
6645
+ - Managed
6646
+ summary: View Managed SSH Key
6647
+ description: >
6648
+ Returns the unique SSH public key assigned to your Linode account's
6649
+ Managed service. If you [add this public key](https://linode.com/docs/platform/linode-managed/#adding-the-public-key) to a Linode on your account,
6650
+ Linode special forces will be able to log in to the Linode with this key
6651
+ when attempting to resolve issues.
6652
+ operationId: viewManagedSSHKey
6653
+ x-linode-cli-action: credential-sshkey-view
6654
+ security:
6655
+ - personalAccessToken: []
6656
+ - oauth:
6657
+ - account:read_only
6658
+ responses:
6659
+ '200':
6660
+ description: The requested Managed SSH public key.
6661
+ content:
6662
+ application/json:
6663
+ schema:
6664
+ type: object
6665
+ description: >
6666
+ A unique SSH public key that allows Linode's special forces
6667
+ to access a Managed server to respond to Issues.
6668
+ properties:
6669
+ ssh_key:
6670
+ type: string
6671
+ description: >
6672
+ The unique SSH public key assigned to your Linode account's Managed service.
6673
+ example: ssh-rsa AAAAB...oD2ZQ== managedservices@linode
6674
+ readOnly: true
6675
+ x-linode-cli-display: 1
6676
+ default:
6677
+ $ref: '#/components/responses/ErrorResponse'
6678
+ x-code-samples:
6679
+ - lang: Shell
6680
+ source: >
6681
+ curl -H "Authorization: Bearer $TOKEN" \
6682
+ https://api.linode.com/v4/managed/credentials/sshkey
6683
+ - lang: CLI
6684
+ source: >
6685
+ linode-cli managed credential-sshkey-view
6640
6686
/managed/issues:
6641
6687
x-linode-cli-command: managed
6642
6688
get:
0 commit comments