open-vault/builtin/credential
Joel Thompson 2dc468f4d1 auth/aws: Make identity alias configurable (#5247)
* auth/aws: Make identity alias configurable

This is inspired by #4178, though not quite exactly what is requested
there. Rather than just use RoleSessionName as the Identity alias, the
full ARN is uses as the Alias. This mitigates against concerns that an
AWS role with an insufficiently secured trust policy could allow an
attacker to generate arbitrary RoleSessionNames in AssumeRole calls to
impersonate anybody in the Identity store that had an alias set up.
By using the full ARN, the owner of the identity store has to explicitly
trust specific AWS roles in specific AWS accounts to generate an
appropriate RoleSessionName to map back to an identity.

Fixes #4178

* Respond to PR feedback

* Remove CreateOperation

Response to PR feedback
2018-09-26 08:27:12 -07:00
..
app-id Two-pronged fix for renew policy checking (#4960) 2018-07-24 12:03:11 -07:00
approle Fix approle tidy on performance standbys (#5338) 2018-09-17 09:53:23 -07:00
aws auth/aws: Make identity alias configurable (#5247) 2018-09-26 08:27:12 -07:00
cert undo make fmt (#5265) 2018-09-04 09:29:18 -07:00
github Switch to strings.EqualFold (#5284) 2018-09-11 16:22:29 -07:00
ldap Two-pronged fix for renew policy checking (#4960) 2018-07-24 12:03:11 -07:00
okta Switch to strings.EqualFold (#5284) 2018-09-11 16:22:29 -07:00
radius undo make fmt (#5265) 2018-09-04 09:29:18 -07:00
token Changes the way policies are reported in audit logs (#4747) 2018-06-14 09:49:33 -04:00
userpass Two-pronged fix for renew policy checking (#4960) 2018-07-24 12:03:11 -07:00