credential: Manages Credential Manager credentials on Windows systems.
conjur::secret: Function to retrieve a Secrets Manager secret
Manages Credential Manager credentials on Windows systems.
The following properties are available in the credential type.
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
The identity used to authenticate to the Secrets Manager instance
The API key matching the Secrets Manager identity
The following parameters are available in the credential type.
The specific backend to use for this credential resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.
Secrets Manager URL
Type: Ruby 4.x API
Function to retrieve a Secrets Manager secret
Deferred(conjur::secret, ['production/postgres/password'])$sslcert = @("EOT")
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
|-EOT
$dbpass = Deferred(conjur::secret, ['production/postgres/password', {
appliance_url => "https://my.conjur.org",
account => "myaccount",
authn_login => "host/myhost",
authn_api_key => Sensitive("2z9mndg1950gcx1mcrs6w18bwnp028dqkmc34vj8gh2p500ny1qk8n"),
ssl_certificate => $sslcert
}])Function to retrieve a Secrets Manager secret
Returns: Sensitive Value of the Secrets Manager variable.
Deferred(conjur::secret, ['production/postgres/password'])$sslcert = @("EOT")
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
|-EOT
$dbpass = Deferred(conjur::secret, ['production/postgres/password', {
appliance_url => "https://my.conjur.org",
account => "myaccount",
authn_login => "host/myhost",
authn_api_key => Sensitive("2z9mndg1950gcx1mcrs6w18bwnp028dqkmc34vj8gh2p500ny1qk8n"),
ssl_certificate => $sslcert
}])Data type: String
Secrets Manager variable ID that you want the value of.
Data type: Optional[Hash]
Optional parameter specifying server identity overrides The following keys are supported in the options hash:
- appliance_url: The URL of the Secrets Manager instance.
- account: Name of the Secrets Manager account that contains this variable.
- authn_login: The identity you are using to authenticate to the Secrets Manager instance.
- authn_api_key: The API key of the identity you are using to authenticate with (must be Sensitive type).
- cert_file: The absolute path to CA certificate chain for the Secrets Manager instance on the agent. This variable overrides
ssl_certificate. - ssl_certificate: The raw PEM-encoded x509 CA certificate chain for the Secrets Manager instance. Overwritten by the contents read from
cert_filewhen it is present. - version: Secrets Manager API version, defaults to 5.