open-vault/builtin/logical/aws
vinay-gopalan 23770cc2a7
Update genUsername to cap STS usernames at 32 chars (#12185)
* update genUsername to cap STS usernames at 64 chars

* add changelog

* refactor tests into t.Run block

* patch: remove warningExpected bool and include expected string

* patch: revert sts to cap at 32 chars and add assume_role case in genUsername

* update changelog

* update genUsername to return error if username generated exceeds length limits

* update changelog

* add conditional default username template to provide custom STS usernames

* update changelog

* include test for failing STS length case

* update comments for more clarity
2021-08-09 09:40:47 -07: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 Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07: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 AWS: Add iam_groups parameter to role create/update (#8811) 2020-06-09 16:56:12 -07: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 Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
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