-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workflows for configuring Conjur identity are more clearly documented in README #128
Comments
|
This module provides the Methods to establish Conjur host identityConjur requires an In this module, we provide multiple ways to establish Conjur application identity for
Please note that before getting started configuring your Puppet environment, you'll need In the sections below, we'll outline the different methods of providing this
Note that not all variables are required for each method of configuration. Conjur host identity with API keyThe simplest way to get started with a Conjur application identity is to Updating the Puppet manifestWhen you update the Puppet manifest to include the Conjur host identity and API key, you In this example, after you have created a Conjur host named class { 'conjur':
appliance_url => 'https://conjur.mycompany.com/',
account => 'myorg',
authn_login => 'host/redis001',
authn_api_key => Sensitive('f9yykd2r0dajz398rh32xz2fxp1tws1qq2baw4112n4am9x3ncqbk3'),
ssl_certificate => file('/absolute/path/to/conjur-ca.pem')
}Using HieraYou can also add the Conjur identity configuration to Hiera, which provides the Conjur ---
lookup_options:
'^conjur::authn_api_key':
convert_to: 'Sensitive'
conjur::appliance_url: 'https://conjur.mycompany.com/'
conjur::account: 'myorg'
conjur::authn_login: 'host/redis001'
conjur::authn_api_key: 'f9yykd2r0dajz398rh32xz2fxp1tws1qq2baw4112n4am9x3ncqbk3'
# conjur::cert_file: '/absolute/path/to/conjur-ca.pem'
conjur::ssl_certificate: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----Using Conjur identity files (Linux agents only)To configure Linux agents with a Conjur host identity, you can add the Conjur host Using the same ---
account: myorg
plugins: []
appliance_url: https://conjur.mycompany.com
cert_file: "/absolute/path/to/conjur-ca.pem"and a Using Windows Registry / Windows Credential Manager (Windows agents only)To configure Windows agents with a Conjur host identity, you set up the Conjur Connection settings for Conjur are stored in the Windows Registry under the key
These may be set using Powershell (use either > reg ADD HKLM\Software\CyberArk\Conjur /v ApplianceUrl /t REG_SZ /d https://conjur.mycompany.com
> reg ADD HKLM\Software\CyberArk\Conjur /v Version /t REG_DWORD /d 5
> reg ADD HKLM\Software\CyberArk\Conjur /v Account /t REG_SZ /d myorg
> reg ADD HKLM\Software\CyberArk\Conjur /v SslCertificate /t REG_SZ /d "-----BEGIN CERTIFICATE-----..."
> reg ADD HKLM\Software\CyberArk\Conjur /v CertFile /t REG_SZ /d "C:\Absolute\Path\To\SslCertificate"Or using a Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\CyberArk\Conjur]
"ApplianceUrl"="https://conjur.mycompany.com"
"Version"=dword:00000005
"Account"="myorg"
"SslCertificate"="-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----"
"CertFile"="C:\Absolute\Path\To\SslCertificate"Credentials for Conjur are stored in the Windows Credential Manager. The credential This may be set using Powershell: > cmdkey /generic:https://conjur.mycompany.com /user:hosts/redis001 /pass
Enter the password for 'hosts/my-host' to connect to 'https://conjur.net/authn': #
{Prompt for API Key}
CMDKEY: Credential added successfully.Conjur host factoryConjur Host Factories The Conjur Puppet module is provided with a host factory token which will only be used on Updating the Puppet manifestTo use a Host Factory token with this module, set variables class { 'conjur':
appliance_url => 'https://conjur.mycompany.com/',
account => 'myorg',
authn_login => 'host/redis001',
host_factory_token => Sensitive('3zt94bb200p69nanj64v9sdn1e15rjqqt12kf68x1d6gb7z33vfskx'),
cert_file => file('/absolute/path/to/conjur.pem')
}Conjur will automatically add the annotation Using HieraRather than storing the host factory token in the manifest, Puppet server can also be ---
lookup_options:
'^conjur::host_factory_token':
convert_to: 'Sensitive'
conjur::appliance_url: 'https://conjur.mycompany.com/'
conjur::account: 'myorg'
conjur::authn_login: 'host/redis001'
conjur::host_factory_token: '3zt94bb200p69nanj64v9sdn1e15rjqqt12kf68x1d6gb7z33vfskx'
# conjur::cert_file: '/absolute/path/to/conjur-ca.pem'
conjur::ssl_certificate: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----Pre-established host identity (Conjur Enterprise v4 only)When using Conjur Enterprise v4 only, you can use If a host is so pre-configured, the settings and credentials are automatically include conjur |
At current, the README documents the following workflows for defining Conjur identity:
This list is not comprehensive, and should be updated with more detail added to better cover the actual complete set of options for configuring this module.
Draft list of options (still in progress):
The text was updated successfully, but these errors were encountered: