v1

latestOpenAPI 3.1.02026-07-241280174.1 KB

Issue Lease

Issue a lease for a dynamic secret

post/v3/configs/config/dynamic_secrets/dynamic_secret/leases

Request body

projectstring required

The project where the dynamic secret is located

configstring required

The config where the dynamic secret is located

dynamic_secretstring required

The name of the dynamic secret for which to issue this lease

ttl_secinteger required

The number of seconds until this lease is automatically revoked

Response

200

successboolean
idstring
expires_atstring
valueobject

Example response

{
  "success": true,
  "id": "59ed03c9-63a7-4789-9187-a3d858355353",
  "expires_at": "2022-02-18T20:36:28.427Z"
}