Using Jenkins Credentials
Jenkins collaborates with a multitude of tools to facilitate automation, CI, CD, and more. To ensure smooth integration between Jenkins and these third-party tools, Jenkins offers a dedicated feature called Credentials. This feature allows you to securely manage and configure the necessary authentication details for seamless interaction with external tools. In this section, we will learn about the default credentials provided by Jenkins and their scope.
Types of credentials
To suit various needs, Jenkins provides you with at least five different kinds of credentials to choose from. They are as follows:
- Username and password
- Secret text
- Secret file
- SSH username with private key
- Certificate
In addition to these, when certain plugins are installed in Jenkins, other types of credentials become available. For example, installing the Jenkins plugin for Kubernetes adds a new credential type: Kubernetes Service Account.
Having...