Secrets

Create

Create a new Secret

post/vault_secrets

Headers

ngrok-versioninteger required

Request body

namestring

Name of secret

valuestring

Value of secret

metadatastring

Arbitrary user-defined metadata for this Secret

descriptionstring

description of Secret

vault_idstring

unique identifier of the referenced vault

vault_namestring

name of the referenced vault

Response

Create a new Secret

idstring

identifier for Secret

uristring

URI of this Secret API resource

created_atstring

Timestamp when the Secret was created (RFC 3339 format)

updated_atstring

Timestamp when the Secret was last updated (RFC 3339 format)

namestring

Name of secret

descriptionstring

description of Secret

metadatastring

Arbitrary user-defined metadata for this Secret

vault_namestring

Name of the vault the secret is stored in

Changes

Changed in 2 of the 9 revisions of this API.4

    • added the new optional request property vault_name

      new-optional-request-property

    • the request property vault_id became optional

      request-property-became-optional

    • added the optional property vault_name to the response with the 201 status

      response-optional-property-added

    • endpoint added

      endpoint-added