Conjur - How do find out what secrets user have access to?
83
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 12:57 PM
Question
How do find out what secrets user have access to?
Environment
12.1;12.2;12.4;12.3;12.5;12.6;12.7 Conjur
Answer
Use the following CLI command to see which variables the current logged in user has permission on:
$ conjur list --kind variable
Reference for the list command in Conjur CLI:https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-DAP/12.7/en/Content/Developer/CLI/cli-list.htm
Additional Information
Details
PROBLEM: -
How do find out what secrets user have access to?
SOLUTION: -
Use the following CLI command to see which variables the current logged in user has permission on:
$ conjur variable list -iNote that the values of the variables listed cannot necessarily be fetched. Any permission held on a variable will cause it to appear in this list. Note that this request can be quite slow, and it is not recommended to programmatically resolve secret values at run-time.