SSH Key
Create SSH Key
Changed onCreate an SSH Key for the current Tenant. If an SSH Key Group is specified, all Sites associated with the SSH Key Group must be online.
Org must have a Tenant entity. User must have authorization role with TENANT_ADMIN suffix.
post/v2/org/{org}/nico/sshkey
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/sshkey
- AuthHTTP bearer
Request body
Example request
{
"name": "sre-ssh-reno",
"publicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICip4hl6WjuVHs60PeikVUs0sWE/kPhk2D0rRHWsIuyL jdoe@test.com",
"sshKeyGroupId": "0b5be54a-65ee-4a85-9928-90e6bca22dac"
}Response
Created
Example response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "sre-ssh-reno",
"org": "wdksahew1rqf",
"tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
"fingerprint": "CaK2yoj5fDOhf1swM2kFyjQrd3bwZfDYlWnVjBHgveQ",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}Changes
- info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info