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

What are the minimum necessary permissions? #4

Closed
zwiebelspaetzle opened this issue Feb 14, 2020 · 2 comments
Closed

What are the minimum necessary permissions? #4

zwiebelspaetzle opened this issue Feb 14, 2020 · 2 comments
Labels
question Further information is requested

Comments

@zwiebelspaetzle
Copy link

The readme uses the root token of a dev setup. In prod, what are the minimum permissions needed for this script to run?

@madrisan
Copy link
Owner

madrisan commented Feb 26, 2020

For reading secrets (get) and monitor the token expiration (token-lookup) you do not need a root token.
In general you just need a token associated to a policy just allowing the actions you need.
For instance the get command need a token able to read in a sub-tree of secret/.
The token-lookupmethod works with any given token of course.
Conversely the method policy requires a root token or the appropriate rights.

@madrisan madrisan added the question Further information is requested label Feb 26, 2020
@madrisan
Copy link
Owner

madrisan commented Mar 6, 2020

It's not necessary to execute this binary as root, only a simple execution right.

@madrisan madrisan closed this as completed Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants