Recall & Review
beginner
What is the purpose of credentials in Jenkins?
Credentials in Jenkins store sensitive information like passwords, tokens, or keys securely to allow Jenkins jobs to access external systems without exposing secrets.
Click to reveal answer
beginner
Name three common types of credentials supported by Jenkins.
Jenkins supports Username and Password, Secret Text, and SSH Username with Private Key as common credential types.
Click to reveal answer
intermediate
How does Jenkins store credentials securely?
Jenkins encrypts credentials and stores them in its internal credentials store, which is protected by Jenkins' security settings and file system permissions.
Click to reveal answer
intermediate
What is the difference between 'Secret Text' and 'Username and Password' credential types in Jenkins?
'Secret Text' stores a single secret string like an API token, while 'Username and Password' stores a pair of username and password for authentication.
Click to reveal answer
intermediate
Where can Jenkins credentials be scoped to control their availability?
Credentials in Jenkins can be scoped globally (available to all jobs) or to specific folders or pipelines to limit access.
Click to reveal answer
Which Jenkins credential type would you use to store an SSH private key?
✗ Incorrect
The 'SSH Username with Private Key' credential type is designed specifically to store SSH private keys for authentication.
Where are Jenkins credentials stored?
✗ Incorrect
Jenkins encrypts credentials and stores them securely in its internal credentials store on the server.
What is the main benefit of scoping credentials in Jenkins?
✗ Incorrect
Scoping credentials limits their availability to specific jobs or folders, improving security by reducing exposure.
Which credential type is best for storing an API token in Jenkins?
✗ Incorrect
Secret Text is used to store single secret strings like API tokens.
Can Jenkins credentials be shared between different pipelines?
✗ Incorrect
Credentials scoped globally or to a shared folder can be accessed by multiple pipelines.
Explain the different types of credentials Jenkins supports and when to use each.
Think about what kind of secret you need to store and how Jenkins uses it.
You got /4 concepts.
Describe how Jenkins stores credentials securely and how scoping affects their availability.
Consider both storage and access control.
You got /4 concepts.