> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# nebius_mysterybox_v1_secret_payload_entry ephemeral resource

<Info>
  Ephemeral resources are available only in terraform versions starting from **1.10.0**.
  More about ephemeral resources can be found in the [Terraform documentation](https://developer.hashicorp.com/terraform/language/resources/ephemeral).
</Info>

Returns the secret's payload value by key in its decrypted format.

## Schema

### Required

* `key` (String) Payload's key to be retrieved.

### Optional

* `data` (Attributes) :

  #### Inner value description

  Represents the secret's content as key-value pair. (see [below for nested schema](#nestedatt--data))
* `secret_id` (String)
* `version_id` (String) Desired version of the secret. If not provided, the primary version of the secret will be returned.

<a id="nestedatt--data" />

### Nested Schema for `data`

Optional:

* `binary_value` (String, Sensitive) :

  The binary data to encrypt and store in the version of the secret.

  *Cannot be set alongside string\_value.*
* `key` (String, Sensitive) Non-confidential key of the payload entry.
* `string_value` (String, Sensitive) :

  The text data to encrypt and store in the version of the secret.

  *Cannot be set alongside binary\_value.*
