azure_key_vault::lookup
azure_key_vault::secret
: Retrieves secrets from Azure's Key Vault.
Type: Ruby 4.x API
The azure_key_vault::lookup function.
azure_key_vault::lookup(Variant[String, Numeric] $secret_name, Struct[{vault_name => String, vault_api_version => String, metadata_api_version => String, confine_to_keys => Array[String], Optional[key_replacement_token] => String}] $options, Puppet::LookupContext $context)
The azure_key_vault::lookup function.
Returns: Variant[Sensitive, Undef]
Data type: Variant[String, Numeric]
Data type: Struct[{vault_name => String, vault_api_version => String, metadata_api_version => String, confine_to_keys => Array[String], Optional[key_replacement_token] => String}]
Data type: Puppet::LookupContext
Type: Ruby 4.x API
Retrieves secrets from Azure's Key Vault.
azure_key_vault::secret(String $vault_name, String $secret_name, Hash $api_versions_hash, Optional[String] $secret_version)
Retrieves secrets from Azure's Key Vault.
Returns: Sensitive[String]
Returns the secret as a String wrapped with the Sensitive data type.
Data type: String
Name of the vault in your Azure subscription.
Data type: String
Name of the secret to be retrieved.
Data type: Hash
A Hash of the exact versions of the metadata_api_version and vault_api_version to use.
Data type: Optional[String]
The version of the secret you want to retrieve. This parameter is optional and if not passed the default behavior is to retrieve the latest version.