View all credentials on an instance (global, folders, users, ...)

26 views
Skip to first unread message

geoffroy...@gmail.com

unread,
Sep 14, 2020, 8:57:33 AM9/14/20
to Jenkins Users
Hello

as a global instance admin, is there a way i can view (not decrypt) all credentials stored in it?
<instance_url>/credentials will only show global/system credentials.

If a credential is created within a Folder, the only way to view it is to go to url <instance_url>/job/<folder_name>/credentials/store/folder/

This is quite difficult to track all those credentials provided Folders are used quite extensively on our instance.
The same also apply to user credentials, although it is not on our immediate concerns.

Is there any option to activate on Jenkins to get such "recursive" view on credentials, or shall we go for a script to execute? Any pointer?

Regards

Ivan Fernandez Calvo

unread,
Sep 14, 2020, 12:08:10 PM9/14/20
to Jenkins Users

Geoffroy J

unread,
Sep 16, 2020, 8:53:36 AM9/16/20
to jenkins...@googlegroups.com
Thanks Ivan, this is a great start and it is properly listing folder-level credentials.
I just need to make the output more user friendly, especially adding the scope of the credential.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/l-3IuWtaCOs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/31f5dd0f-1069-4cac-81bc-470788914400n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages