open-vault/builtin/logical/aws
Theron Voran 8353c27c24
tests: Add iam_tags to expected responses (#13150)
Update the AWS auth backend acceptance tests to account for the new
`iam_tags` field that comes back on responses.

* marked only tests requiring creds as acceptance

Renamed TestBackend_* to TestAcceptanceBackend_* if the test requires
AWS credentials. Otherwise left the name as TestBackend_* and set
`AcceptanceTest: false`.

* ensure generated names aren't too long

IAM roles and users have a 64 character limit, and adding Acceptance
to the test names was putting some over the length limit, so modified
generateUniqueName() to take a max length parameter and added
functions for each type of name generation (user, role, group).
2021-11-29 16:00:42 -08:00
..
cmd/aws Update to api 1.0.1 and sdk 0.1.8 2019-04-15 14:10:07 -04:00
backend.go Add logging during awskms auto-unseal (#9794) 2020-09-28 14:06:49 -07:00
backend_test.go tests: Add iam_tags to expected responses (#13150) 2021-11-29 16:00:42 -08:00
client.go Move awsutil over to the go-secure-stdlib version (#12128) 2021-07-20 20:42:00 -04:00
iam_policies.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
iam_policies_test.go builtin/logical/aws: fix dropped test error (#12417) 2021-08-26 15:55:39 +01:00
path_config_lease.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
path_config_root.go Update genUsername to cap STS usernames at 32 chars (#12185) 2021-08-09 09:40:47 -07:00
path_config_root_test.go [VAULT-1969] Add support for custom IAM usernames based on templates (#12066) 2021-07-20 09:48:29 -07:00
path_config_rotate_root.go builtin: deprecate errwrap.Wrapf() throughout (#11430) 2021-04-22 11:20:59 -04:00
path_roles.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
path_roles_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
path_user.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
rollback.go
secret_access_keys.go Update genUsername to cap STS usernames at 32 chars (#12185) 2021-08-09 09:40:47 -07:00
secret_access_keys_test.go Update genUsername to cap STS usernames at 32 chars (#12185) 2021-08-09 09:40:47 -07:00
stepwise_test.go Swap out stepwise for external repo version (#12089) 2021-07-20 13:20:23 -04:00