From the course: Intermediate Jenkins: Automate, Integrate, and Secure CI/CD Workflows at Scale
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
Secure Jenkins with user accounts - Jenkins Tutorial
From the course: Intermediate Jenkins: Automate, Integrate, and Secure CI/CD Workflows at Scale
Secure Jenkins with user accounts
You know, Jenkins does a pretty good job of providing security out-of-the-box. It has features that stop unauthorized access to new installations and lets you create accounts with usernames and passwords. But even with these controls in place, you can make Jenkins more secure for your specific use case. I'm logged into my Jenkins account and I'm viewing the User Management page. When Jenkins first starts, any user that can log in is authenticated as an administrator. Let's create another user that doesn't have admin access. I'll scroll down on the page and select Users. And then I'll start by selecting Create User. On this screen, I'll enter a username, password, full name, and e-mail address. When everything is filled in, I'll select Create User. Once I have a user in place, I can make additional security changes. From here, I'll go back to the Manage Jenkins home page and select Security. As I mentioned, the default security configuration allows any logged in user to do anything…