Add a New SSH Public Key
post
/paas/api/v1.1/instancemgmt/{identityDomainId}/services/IntegrationCloud/instances/{service_name}/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 Integration Classic account.
-
service_name: string
Name of the Oracle Integration Classic instance.
Header Parameters
-
X-ID-TENANT-NAME: string
Identity domain ID for the Oracle Integration Classic account.
The request body defines the details of the SSH public key name and value.
Root Schema : addsshkey-postrequest
Type:
object
The request body defines the SSH public key name and value to add.
Show Source
-
public-key:
string
The SSH public key value and name. This key will be used for authentication when connecting to the Oracle Integration Classic instance using an SSH client.
Response
Supported Media Types
- application/json
202 Response
Accepted.
The Location
header returns a URI that can be used to view the job status.
The response body shows the status.
Root Schema : addsshkey-response
Type:
object
The response body shows the status.
Show Source
-
status(optional):
string
Status description. For example:
submitted job
.