Ephemeral resources are available only in terraform versions starting from 1.10.0.
More about ephemeral resources can be found in the Terraform documentation.
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) -
secret_id(String) -
version_id(String) Desired version of the secret. If not provided, the primary version of the secret will be returned.
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.