Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folder specific credentials #802

Open
zagy opened this issue Nov 27, 2020 · 1 comment
Open

Folder specific credentials #802

zagy opened this issue Nov 27, 2020 · 1 comment

Comments

@zagy
Copy link

zagy commented Nov 27, 2020

ISSUE TYPE
  • Feature Idea
Jenkinsapi 0.3.11
Jenkins 2.268
SUMMARY

Jenkins supports credentials which are scoped to a folder. This is handy so not expose credentials to otherwise unauthorised users.

EXPECTED RESULTS

Some way to access the credentials, e.g.

jenkins['my-folder'].credentials
ACTUAL RESULTS

No obvious way to get/set folder specific credencials

USEFUL INFORMATION

This can currently be achieved via

url = f'{j.baseurl}/job/{folder}/credentials/store/folder/domain/_/'
credentials = Credentials2x(url, j)
@joelee2012
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants