SSH Key Group
Create SSH Key Group
Create an SSH Key Group for the current Tenant.
Org must have a Tenant entity. User must have authorization role with TENANT_ADMIN suffix.
post/v2/org/{org}/nico/sshkeygroup
Request body
Example request
{
"name": "reno-integration-sre",
"description": "SRE access SSH keys for Reno Integration",
"siteIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"sshKeyIds": [
"ff06da79-707a-4069-8623-211d49ae96c8"
]
}Response
Created
Example response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "reno-integration-sre",
"description": "SRE access SSH keys for Reno Integration",
"org": "wdksahew1rqf",
"tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
"version": "fbc692b61ffef6fbfc38a3833f6b7e7ae508da75",
"siteAssociations": [
{
"site": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "sjc-central-1",
"infrastructureProviderId": "5f2cc306-76e9-4fca-9186-950c9ef9a74e",
"isSerialConsoleEnabled": true,
"isOnline": true,
"capabilities": {
"nativeNetworking": false,
"networkSecurityGroup": true,
"nvLinkPartition": false,
"flow": false,
"imageBasedOperatingSystem": false
},
"status": "Registered"
},
"status": "Syncing",
"version": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
],
"sshKeys": [
{
"id": "ff06da79-707a-4069-8623-211d49ae96c8",
"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"
}
],
"status": "Syncing",
"statusHistory": [
{
"status": "Syncing",
"message": "Group is being synced to Sites",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
],
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}