0
0
Jenkinsdevops~5 mins

Credential scoping (global, folder) in Jenkins - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is credential scoping in Jenkins?
Credential scoping in Jenkins means deciding where a credential can be used, such as globally across all jobs or limited to a specific folder.
Click to reveal answer
beginner
What does 'global' scope mean for Jenkins credentials?
Global scope means the credential is available to all jobs and folders in the Jenkins instance.
Click to reveal answer
intermediate
What is the benefit of using folder-scoped credentials in Jenkins?
Folder-scoped credentials limit access to only jobs inside that folder, improving security by restricting credential use.
Click to reveal answer
intermediate
How do you create a folder-scoped credential in Jenkins?
Go to the folder, click 'Credentials', then add a new credential. It will be scoped only to that folder and its subfolders.
Click to reveal answer
beginner
Can a folder-scoped credential be used outside its folder in Jenkins?
No, folder-scoped credentials are only accessible within the folder they belong to and its subfolders.
Click to reveal answer
What does a global credential scope in Jenkins allow?
AAccess to all jobs and folders
BAccess only to one job
CAccess only to one folder
DNo access to any job
Where can folder-scoped credentials be used in Jenkins?
AAnywhere in Jenkins
BOnly inside the folder and its subfolders
COnly in the global folder
DOnly in other folders
Why use folder-scoped credentials instead of global ones?
ATo delete credentials automatically
BTo make credentials available everywhere
CTo improve security by limiting access
DTo share credentials with other Jenkins instances
How do you add a credential scoped to a folder in Jenkins?
AAdd it inside the folder's Credentials section
BAdd it in the global Jenkins credentials
CAdd it in the system configuration
DAdd it in the job configuration
If a credential is global, can it be used in a folder job?
AOnly if the job is admin
BNo, global credentials are restricted
COnly if the folder allows it
DYes, global credentials are accessible everywhere
Explain the difference between global and folder-scoped credentials in Jenkins.
Think about who can use the credential depending on where it is stored.
You got /3 concepts.
    Describe how to create and use a folder-scoped credential in Jenkins.
    Focus on the steps inside the folder context.
    You got /4 concepts.