ApiClient

Issue or rotate an API client secret

Adds a secret generation (201 + Location). Requires the Idempotency-Key header and the version query parameter; a GENERATED value is returned once, under no-store, and never again.

post/apiops/projects/{projectName}/api-clients/{apiClientKey}/secret-versions

Request

Path parameters

projectNamestring required
apiClientKeystring required

Query parameters

versioninteger

Request body

materialType'LOCAL_SECRET' | 'SECRET_REFERENCE'
generateboolean
valuestring
referencestring
labelstring
validFromstring date-time
expiresAtstring date-time
graceWindowSecondsinteger
storageMode'ENCRYPTED' | 'HASHED'

Response

OK

versionIdstring
secretstring

Changes

No recorded changes to this operation across all 21 revisions of this API.