Get
Secrets
Get
Get retrieves a secret’s metadata by vault ID. Creator can always get their own secrets. Admins can get any secret.
GET
Get
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Path Parameters
The vaultId field.
Response
200 - application/json
Successful response
The PaperSecretServiceGetResponse message.
PaperSecret is the API view of a secret (combines Vault + PaperVault fields). The vault_id is the primary identifier (Vault.id).