credential
: Manages Credential Manager credentials on Windows systems.
conjur::secret
: Function to retrieve a Conjur 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 Conjur instance
The API key matching the Conjur 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.
Conjur URL
Type: Ruby 4.x API
Function to retrieve a Conjur 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 Conjur secret
Returns: Sensitive
Value of the Conjur 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
Conjur 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 Conjur instance.
- account: Name of the Conjur account that contains this variable.
- authn_login: The identity you are using to authenticate to the Conjur 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 Conjur instance on the agent. This variable overrides
ssl_certificate
. - ssl_certificate: The raw PEM-encoded x509 CA certificate chain for the Conjur instance. Overwritten by the contents read from
cert_file
when it is present. - version: Conjur API version, defaults to 5.