vault/builtin/credential/aws
Joel Thompson 29551c0b1b Allow non-prefix-matched IAM role and instance profile ARNs in AWS auth backend (#4071)
* Update aws auth docs with new semantics

Moving away from implicitly globbed bound_iam_role_arn and
bound_iam_instance_profile_arn variables to make them explicit

* Refactor tests to reduce duplication

auth/aws EC2 login tests had the same flow duplicated a few times, so
refactoring to reduce duplication

* Add tests for aws auth explicit wildcard constraints

* Remove implicit prefix matching from AWS auth backend

In the aws auth backend, bound_iam_role_arn and
bound_iam_instance_profile_arn were ALWAYS prefix matched, and there was
no way to opt out of this implicit prefix matching. This now makes the
implicit prefix matching an explicit opt-in feature by requiring users
to specify a * at the end of an ARN if they want the prefix matching.
2018-03-17 21:24:49 -04:00
..
backend_test.go Allow non-prefix-matched IAM role and instance profile ARNs in AWS auth backend (#4071) 2018-03-17 21:24:49 -04:00
backend.go Don't run rollback and upgrade functionality if we are a replication secondary (#3900) 2018-02-02 20:28:25 -05:00
cli.go Merge branch 'master-oss' into sethvargo/cli-magic 2018-01-03 14:02:31 -05:00
client.go Maximum number of retries aws sdk attempts for recoverable exceptions. (#3965) 2018-02-16 11:11:17 -05:00
path_config_certificate.go Remove structs/mapstructure tags from auth/aws 2018-02-27 15:27:49 -05:00
path_config_client_test.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
path_config_client.go Remove structs/mapstructure tags from auth/aws 2018-02-27 15:27:49 -05:00
path_config_sts.go Remove structs/mapstructure tags from auth/aws 2018-02-27 15:27:49 -05:00
path_config_tidy_identity_whitelist.go Remove structs/mapstructure tags from auth/aws 2018-02-27 15:27:49 -05:00
path_config_tidy_roletag_blacklist.go Remove structs/mapstructure tags from auth/aws 2018-02-27 15:27:49 -05:00
path_identity_whitelist.go Remove structs/mapstructure tags from auth/aws 2018-02-27 15:27:49 -05:00
path_login_test.go auth/aws: Properly handle malformed ARNs (#3280) 2017-09-03 20:37:06 -04:00
path_login.go Allow non-prefix-matched IAM role and instance profile ARNs in AWS auth backend (#4071) 2018-03-17 21:24:49 -04:00
path_role_tag.go Remove structs/mapstructure tags from auth/aws 2018-02-27 15:27:49 -05:00
path_role_test.go Allow non-prefix-matched IAM role and instance profile ARNs in AWS auth backend (#4071) 2018-03-17 21:24:49 -04:00
path_role.go Allow non-prefix-matched IAM role and instance profile ARNs in AWS auth backend (#4071) 2018-03-17 21:24:49 -04:00
path_roletag_blacklist.go Remove structs/mapstructure tags from auth/aws 2018-02-27 15:27:49 -05:00
path_tidy_identity_whitelist.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
path_tidy_roletag_blacklist.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00