Yandex Cloud Lockbox icon

Yandex Cloud Lockbox

Manage secrets and retrieve payloads from Yandex Cloud Lockbox

Secret → Create

AI-generated

Summary

Create a new secret in Yandex Cloud Lockbox with an initial version containing one or more payload entries.

Inputs

  • Folder ID — The ID of the folder in which to create the secret. If omitted, the folder ID from credentials is used.
  • Secret Name (required) — The name of the secret to create.
  • Description — A description for the secret.
  • Deletion Protection — Enable or disable deletion protection for the secret.
  • Payload Entries (required) — One or more key-value pairs that form the secret's payload. Each entry includes a key, a value type (text or binary), and the corresponding value (text or Base64-encoded binary). At least one entry is required.
  • Additional Fields — Optional additional settings including labels (key-value pairs), a KMS key ID for encryption, and a description for the secret's initial version.

Output shape

a JSON object confirming the creation operation

Returns an object with success status, operation type, and identifiers for the created secret and its initial version. Operation completion status and operation ID are also included. If errors occur, the node may throw or return errors based on workflow settings.

Examples

Example 1: Create a new secret with text and binary entries, setting deletion protection and labels.

Specify Folder ID or leave blank to use credentials folder, set secret name and optional description, toggle deletion protection, add one or more payload entries (keys with text or base64 binary values), and optionally set labels and KMS key ID.

Links

Discussion