/vault/api/v1/metadata/secrets/{name}
Get a secret's metadata.
name
string
required
Secret name
Successful response, returns a secret without secret data
{
"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"
}
/vault/api/v1/user/{user_id}/metadata/secrets/{name}
Get a secret's metadata.
name
string
required
Secret name
user_id
string
required
User ID of the user who owns the secret
Successful response, returns a secret without secret data
{
"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"
}
Was this page helpful?