Configuring for SAML Authentication

[edit on GitHub]

_images/chef_automate_full.png

Chef Manage can support logging in users via SAML authentication. In order to do so, there must be a Chef Automate Server that is configured to act as a SAML Identity Provider (IdP). When the Chef Automate Server is configured to do so, it will provide an OpenID Connect (OIDC) protocol end-point that Chef Manage can use to initiate authentication.

Configuring Chef Manage

To configure the Chef server management console, add the following code to /etc/chef-manage/manage.rb:

saml.enabled true
saml.issuer_url '<AUTOMATE OIDC ENDPOINT>'
saml.client_id '<CLIENT ID>'
saml.client_secret '<CLIENT SECRET>'
saml.verify_tls false

The issuer_url property should be set to something like 'https://<yourChefAutomateDomain>/api/v0'. Also, the client_id must be known to the Chef Automate server. For development purposes only, you may also need to turn off the TLS verification for the OIDC client as shown in the settings above.

Run chef-manage-ctl reconfigure to apply these settings.

Warning

You cannot have both LDAP and SAML authentication enabled at the same time. If you do, the reconfigure will fail with an appropriate error message.

Configuring the Chef Automate Server

See Integrate Chef Automate with SAML for information on how to configure it to act like an OpenID Connect server.