Introduction
Jenkins needs to use passwords, keys, and tokens safely to connect to other tools and servers. Credential types and storage help keep these secrets safe and easy to use in your automation.
When Jenkins needs to connect to a Git repository using a username and password or SSH key.
When Jenkins must deploy code to a server using an SSH private key.
When Jenkins pipelines require API tokens to access cloud services.
When you want to avoid putting passwords directly in your pipeline scripts.
When you want to share credentials securely across multiple Jenkins jobs.