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

ProfileProvider::parse_credentials_file() truncates secrets that contain '=' #1997

Open
don-brady opened this issue Feb 1, 2023 · 1 comment

Comments

@don-brady
Copy link

ProfileProvider::parse_credentials_file() will truncate any secrets that contain a '=' character. It appears that unwrapped_line.split('=').collect() is assuming that there's only one '=' on a line (i.e. from the key = value).

I happened to have a secret that contained a '=' character which was failing to work when fetched from the ProfileProvider but worked fine when used with a StaticProvider.

@don-brady
Copy link
Author

Note that the secret that fails came from Oracle Cloud Object Storage
Customer Secret Keys --> Generate Secret Key

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

1 participant