Actions12
- Secret Actions
- Version Actions
- Payload Actions
Version → Add
AI-generatedSummary
Add a new version to an existing secret in Yandex Cloud Lockbox, specifying a description and one or more payload entries containing key-value pairs (text or binary).
Inputs
- Secret (required) — The secret to which the new version will be added; can be selected from a list, specified by ID, or by name.
- Version Description — Optional description for the new secret version.
- Payload Entries (required) — One or more key-value entries for the version's payload. Each entry requires a key and a value, which can be text or binary (base64-encoded).
- Additional Fields — Optional fields, including a base version ID to specify the version on which to base the new version; if omitted, the current version is used.
Output shape
a single JSON object indicating success status, operation type, associated secret ID, new version ID, operation ID, and completion status
The output confirms the addition of the version with relevant IDs and operation details. Errors will be thrown if required fields are missing or the API call fails.
Examples
Example 1: Add a new secret version with text payload
Select the secret by list or ID, add a description, input one or more payload entries with keys and text values.