SafeNet Trusted Access for Jenkins
Configuring SafeNet Trusted Access for Jenkins is a three-step process:
2.SafeNet Trusted Access setup
As a prerequisite, download the Identity Provider metadata from the SafeNet Trusted Access console by clicking the Download metadata file button. You will need this metadata in one of the steps below.
Perform the following steps to configure SafeNet Trusted Access as your Identity Provider in Jenkins:
1.Log in to Jenkins as an administrator using the Jenkins login URL.
2.On the Dashboard, in the left, click Manage Jenkins.
3.Under Manage Jenkins, click Manage Plugins.
4.Under Plugin Manager, click the Available tab.
5.Under Available, select the SAML check box, and click the Download now and install after restart button.
6.After successful download of SAML plugin, under Installing Plugins/Upgrades within Update Center, select the Restart Jenkins when installation is complete and no jobs are running check box.
7.The system prompts you with the following message:
8.Login to Jenkins with administrator credentials again.
9.Under Update Center, in the left, click Manage Jenkins.
10.Under Manage Jenkins, click Configure Global Security.
11.In the Configure Global Security window, under Security Realm, select the SAML 2.0 option and perform the following steps:
a.In the IdP Metadata field, copy the Identity Provider metadata, you downloaded earlier and paste it here.
b.Click the Validate IdP Metadata button.
c.At the bottom, click the Apply button.
d.Click the Service Provider Metadata link to open it in a new tab.
f.At the bottom, click the Save button.
After completing the first step of configuring SafeNet Trusted Access in Jenkins, the second step is to activate the Jenkins application in SafeNet Trusted Access by performing the following steps:
1.In the Applications pane, you will notice that the Jenkins application you added earlier is currently in inactive state by default. To configure and activate this application, click the application (for example, Jenkins) and proceed to the next step.
2.Under STA Setup, click Upload Jenkins Metadata.
3.On the Metadata upload window, click Browse to search and select Jenkins metadata, you saved in step 11(e) of Jenkins Setup.
4.Under Account Details, the service provider's metadata information is displayed.
5.Click Save Configuration to save the details and activate the Jenkins application in SafeNet Trusted Access.
Navigate to the Jenkins login URL (for example, <Jenkins URL>. Here, Jenkins URL is your company URL registered in Jenkins). You will be redirected to the SafeNet Trusted Access sign-in page. Enter your primary directory login information, approve the two-factor authentication, and you should be redirected to the Jenkins application after authentication.
Navigate to the User Portal URL to log in to the STA User Portal dashboard. On the dashboard, you will see a list of applications to which you have access. Click on the Jenkins application icon, you should be redirected to the Jenkins support portal after authentication.
© 2018 SafeNet Trusted Access. Various trademarks held by their respective owners.