-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #537 from cbodley/wip-iam-user-apis
iam: add tests for account-based IAM apis
- Loading branch information
Showing
7 changed files
with
2,447 additions
and
115 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,14 @@ ssl_verify = False | |
## the prefix to 30 characters long, and avoid collisions | ||
bucket prefix = yournamehere-{random}- | ||
|
||
# all the iam account resources (users, roles, etc) created | ||
# will start with this name prefix | ||
iam name prefix = s3-tests- | ||
|
||
# all the iam account resources (users, roles, etc) created | ||
# will start with this path prefix | ||
iam path prefix = /s3-tests/ | ||
|
||
[s3 main] | ||
# main display_name set in vstart.sh | ||
display_name = M. Tester | ||
|
@@ -127,6 +135,20 @@ secret_key = abcdefghijklmnopqrstuvwxyzabcdefghijklmn | |
#display_name from vstart.sh | ||
display_name = youruseridhere | ||
|
||
# iam account root user for iam_account tests | ||
[iam root] | ||
access_key = AAAAAAAAAAAAAAAAAAaa | ||
secret_key = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | ||
user_id = RGW11111111111111111 | ||
email = [email protected] | ||
|
||
# iam account root user in a different account than [iam root] | ||
[iam alt root] | ||
access_key = BBBBBBBBBBBBBBBBBBbb | ||
secret_key = bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb | ||
user_id = RGW22222222222222222 | ||
email = [email protected] | ||
|
||
#following section needs to be added when you want to run Assume Role With Webidentity test | ||
[webidentity] | ||
#used for assume role with web identity test in sts-tests | ||
|
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.