-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auth/aws: Fix error with empty bound_iam_principal_arn (#3843)
* auth/aws: Fix error with empty bound_iam_principal_arn In cases where there doesn't need to be a bound_iam_principal_arn, i.e., either auth_type is ec2 or there are other bindings with the iam auth_type, but it is specified explicitly anyway, Vault tried to parse it to resolve to internal unique IDs. This now checks to ensure that bound_iam_principal_arn is non-empty before attempting to resolve it. Fixes #3837 * Fix extraneous newline
- Loading branch information
1 parent
bcaa6e3
commit 5f4ee04
Showing
2 changed files
with
15 additions
and
1 deletion.
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