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

Using sudo breaks the ability to use botocore to get profile credentials #121

Open
mjrlee opened this issue Mar 8, 2022 · 1 comment
Open
Labels

Comments

@mjrlee
Copy link

mjrlee commented Mar 8, 2022

mount.efs must be run as root

When using sudo mount -t efs... and aiming to use credentials from a credential_process in ~/.aws/credentials the botocore_credentials_helper function is called. Because the user is root at this point, botocore loads in root's credential and config files and so this doesn't actually work.

@raimicha
Copy link

Thanks for the feedback. We’ll have someone take a look.

@RyanStan RyanStan added the bug label May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants