Skip to main content
Version: v41

vault_secret

Secret

namestring
dataobject

Stored secret.

read_roles object[]

List of roles that can read secret.

  • Array [
  • idstringrequired

    Role ID

    namestring

    Role name, ignored by server in requests.

    deletedboolean

    true if role is deleted

  • ]
  • write_roles object[]

    List of roles that can replace secret.

  • Array [
  • idstringrequired

    Role ID

    namestring

    Role name, ignored by server in requests.

    deletedboolean

    true if role is deleted

  • ]
  • authorstring

    ID of secret's author

    pathstring

    The path to access this secret

    updated_bystring

    ID of last user to update secret

    createdstring

    Creation time

    updatedstring

    Update time

    vault_secret
    {
    "name": "string",
    "data": {},
    "read_roles": [
    {
    "id": "string",
    "name": "string",
    "deleted": true
    }
    ],
    "write_roles": [
    {
    "id": "string",
    "name": "string",
    "deleted": true
    }
    ],
    "author": "string",
    "path": "string",
    "updated_by": "string",
    "created": "string",
    "updated": "string"
    }