open-vault/builtin
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
..
audit Switch to strings.EqualFold (#5284) 2018-09-11 16:22:29 -07:00
credential auth/aws: Make identity alias configurable (#5247) 2018-09-26 08:27:12 -07:00
logical Add AWS Secret Engine Root Credential Rotation (#5140) 2018-09-26 07:10:00 -07:00
plugin Add ability to provide env vars to plugins (#5359) 2018-09-20 10:50:29 -07:00