-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new subsession IAM role for auth integration tests (#410)
We want to be able to write tests with various permutations of IAM credentials and policies (read only, prefix only, etc). Rather than manually building new infrastructure for them, we're creating a single new IAM role that tests can call AssumeRole on, using a session policy to scope down the credentials to those they want to test. I'll be using this in a follow-up commit to switch from HeadBucket to ListObjects for region detection. I suspect we can also use it to get rid of our "forbidden" bucket, but don't plan on doing that right now. Signed-off-by: James Bornholt <bornholt@amazon.com>
- Loading branch information
1 parent
c2bdecb
commit 54851a9
Showing
4 changed files
with
99 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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