in Jenkins by
Q:
How to secure Jenkins?

1 Answer

0 votes
by

We can secure Jenkins and configure global security through the following:

  1. Deploy Jenkins.war file to the server and start it.
  2. From the homepage (through URL), click on Manage Jenkins.
  3. On this page, click on the ‘Setup Security’ button.
  4. Check the ‘Enable Security’ checkbox.
  5. It is a good practice to have your own database for security. Select this option in the ‘Security Realm’ and check the ‘Allow users to sign up’ checkbox.
  6. Fill the signup form. Once the signup is successful, you can log in with the new account.
  7. Next, go to Manage Jenkins and ‘Configure Global Security’. Now, uncheck the ‘Allow users to sign up’ checkbox. This way, no new users can be created without permission.
  8. Now, you can configure the account authentication. There are two strategies: Matrix-based security&Project-based project authorization strategy. You can select the one which is suitable for you.
  9. Save the form and logout and then login with the new account.

Related questions

0 votes
asked Oct 21, 2019 in Jenkins by rajeshsharma
+1 vote
asked May 20 in POSTMAN by sharadyadav1986
...