Lockbox API, gRPC: PayloadService
Written by
Updated at December 13, 2022
Set of methods to access payload of secrets.
Call | Description |
---|---|
Get | Returns the payload of the specified secret. |
Calls PayloadService
Get
Returns the payload of the specified secret.
To get the list of all available secrets, make a SecretService.List request.
rpc Get (GetPayloadRequest) returns (Payload)
GetPayloadRequest
Field | Description |
---|---|
secret_id | string Required. ID of the secret. The maximum string length in characters is 50. |
version_id | string Optional ID of the version. The maximum string length in characters is 50. |
Payload
Field | Description |
---|---|
version_id | string ID of the version that the payload belongs to. |
entries[] | Entry Payload entries. |
Entry
Field | Description |
---|---|
key | string Non-confidential key of the entry. |
value | oneof: text_value or binary_value Confidential value of the entry. |
text_value | string Text value. |
binary_value | bytes Binary value. |