v1

latestOpenAPI 3.1.02026-07-22106199311.5 KB
Secrets

Create a new Secret Value

Creates a new secret value, which is encrypted in transit using the certificate of the provided Agent, then decrypted by the Agent and stored in plain-text within the Customer vault.

post/v1/secrets/{agentId}/secret-value

Path parameters

agentIdstring required

Query parameters

projectIdstring uuid

Request body

Example request

{
  "secret": {
    "key": "password",
    "name": "my-secret",
    "type": "PASSWORD"
  }
}

Response

Created

resolver_refstring
vaultSecretNamestring