Create an Access Key for Application
Endpoint: POST /api/applications/{id}/accessKeys
Creates an access key for an existing application in your Conductor cluster.
Path parameters
| Parameter | Description | Type | Required/ Optional |
|---|---|---|---|
| id | The unique ID of the application for which the access key will be created. | string | Required. |
Response
Returns the generated ID and secret for the application.
| Parameter | Description |
|---|---|
| id | The access key ID (public identifier). |
| secret | The access key secret (private credential). The key secret is only shown once and cannot be retrieved again. |
Returns 404 if an invalid application ID is provided.
Examples
Create an access key for the application
Request
curl -X 'POST' \
'https://<SERVER-URL>/api/applications/243a8a88-9f77-48b2-9429-76793a123344/accessKeys' \
-H 'accept: application/json' \
-H 'X-Authorization: <TOKEN>' \
-d ''
Response
{
"id": "XXXXXXXXXXXXXXXXXXXXXXXXX",
"secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}