Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plugins/rest/aws: Add new credential provider for AWS credential files
Earlier users could provide sensitive values such as AWS secret keys using environment variables. This change adds a new AWS credential provider which reads the credential file to fetch credentials for a named profile. If no profile is provided, the "default" profile is used. OPA reads the credentials from the file on each request and uses them for authentication. Fixes: #2786 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com> Co-authored-by: Stephan Renatus <stephan.renatus@gmail.com>
- Loading branch information
1 parent
e9b48a3
commit a435642
Showing
4 changed files
with
351 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.