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.
vault_name => String,
vault_api_version => String,
Optional[metadata_api_version] => String,
confine_to_keys => Array[String],
Optional[key_replacement_token] => String,
Optional[service_principal_credentials] => 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,
Optional[metadata_api_version] => String,
confine_to_keys => Array[String],
Optional[key_replacement_token] => String,
Optional[service_principal_credentials] => String
}]
Data type: Puppet::LookupContext
Type: Ruby 4.x API
Retrieves secrets from Azure's Key Vault.
vault_api_version => String,
Optional[metadata_api_version] => String,
Optional[service_principal_credentials] => Struct[{
tenant_id => String,
client_id => String,
client_secret => String
}]
}] $api_endpoint_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:
Struct[{
vault_api_version => String,
Optional[metadata_api_version] => String,
Optional[service_principal_credentials] => Struct[{
tenant_id => String,
client_id => String,
client_secret => String
}]
}]
A Hash with API endpoint and authentication information
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.