Skip to main content

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

ParameterDescriptionTypeRequired/ Optional
idThe unique ID of the application for which the access key will be created.stringRequired.

Response

Returns the generated ID and secret for the application.

ParameterDescription
idThe access key ID (public identifier).
secretThe 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"
}