Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Lockbox
  • Getting started
  • Quotas and limits
  • Access management
  • Pricing policy
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
        • Get
        • GetEx
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • HTTP request
  • Path parameters
  • Query parameters
  • Response
  • Entry
  1. API reference
  2. REST
  3. Payload
  4. Get

Lockbox API, REST: Payload.Get

Written by
Yandex Cloud
Updated at November 26, 2024
  • HTTP request
  • Path parameters
  • Query parameters
  • Response
  • Entry

Returns the payload of the specified secret.

To get the list of all available secrets, make a SecretService.List request.

HTTP requestHTTP request

GET https://payload.lockbox.api.cloud.yandex.net/lockbox/v1/secrets/{secretId}/payload

Path parametersPath parameters

Field

Description

secretId

string

Required field. ID of the secret.

Query parametersQuery parameters

Field

Description

versionId

string

Optional ID of the version.

ResponseResponse

HTTP Code: 200 - OK

{
  "versionId": "string",
  "entries": [
    {
      "key": "string",
      // Includes only one of the fields `textValue`, `binaryValue`
      "textValue": "string",
      "binaryValue": "string"
      // end of the list of possible fields
    }
  ]
}

A payload.

Field

Description

versionId

string

ID of the version that the payload belongs to.

entries[]

Entry

Payload entries.

EntryEntry

Field

Description

key

string

Non-confidential key of the entry.

textValue

string

Text value.

Includes only one of the fields textValue, binaryValue.

Confidential value of the entry.

binaryValue

string (bytes)

Binary value.

Includes only one of the fields textValue, binaryValue.

Confidential value of the entry.

Was the article helpful?

Previous
Overview
Next
GetEx
Yandex project
© 2025 Yandex.Cloud LLC