Add a New SSH Public Key
post
/paas/api/v1.1/instancemgmt/{identityDomainId}/services/DHCS/instances/{serviceId}/credentials/crednames/{credentialName}
Adds a new SSH public key for the given credential name.
Note: vmspublickey
is the only supported credential name.
Request
Supported Media Types
- application/json
Path Parameters
-
credentialName: string
Credential name to add the SSH public key to. Currently, the only credential name you can use is
vmspublickey.
-
identityDomainId: string
Identity domain ID for the Oracle Data Hub Cloud Service account.
-
serviceId: string
Name of the Oracle Data Hub Cloud Service instance.
The request body defines the details of the SSH public key name and value.
Root Schema : Request Body
Type:
object
Title:
Show Source
Request Body
-
public-key:
string
SSH public key value.
Response
Supported Media Types
- application/json
202 Response
Accepted
Root Schema : accepted-response
Type:
Show Source
object
-
jobId:
string
Job ID of the operation.
-
message:
string
System message that describes the operation. For example:
Submitted job to create service [{serviceName}] in domain [{identityDomainId}].