secure
secrets

Sets multiple secret values in the key store for multiple secret names.

Args: secrets (SecretsModel): Collection of secrets to store.

Returns: OperationResponse: The operation response.

put/api/v1/secrets

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/secrets
  • Auth
    HTTP bearer

Request body

SecretsModel required

Example request

{
  "target-db": {
    "TARGET_DB_PASSWORD": "password",
    "TARGET_DB_USERNAME": "admin"
  }
}

Response

Secrets were set successfully

statusboolean required

Changes

    • info

      added the non-success response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      removed the non-success response with the status