open-vault/website/source/api/secret
Joel Thompson 0941c7a24a Make AWS credential types more explicit (#4360)
* Make AWS credential types more explicit

The AWS secret engine had a lot of confusing overloading with role
paramemters and how they mapped to each of the three credential types
supported. This now adds parameters to remove the overloading while
maintaining backwards compatibility.

With the change, it also becomes easier to add other feature requests.
Attaching multiple managed policies to IAM users and adding a policy
document to STS AssumedRole credentials is now also supported.

Fixes #4229
Fixes #3751
Fixes #2817

* Add missing write action to STS endpoint

* Allow unsetting policy_document with empty string

This allows unsetting the policy_document by passing in an empty string.
Previously, it would fail because the empty string isn't a valid JSON
document.

* Respond to some PR feedback

* Refactor and simplify role reading/upgrading

This gets rid of the duplicated role upgrade code between both role
reading and role writing by handling the upgrade all in the role
reading.

* Eliminate duplicated AWS secret test code

The testAccStepReadUser and testAccStepReadSTS were virtually identical,
so they are consolidated into a single method with the path passed in.

* Switch to use AWS ARN parser
2018-08-16 06:38:13 -04:00
..
ad Update Active Directory secret engine docs (#4788) 2018-06-19 09:11:46 -07:00
aws Make AWS credential types more explicit (#4360) 2018-08-16 06:38:13 -04:00
cassandra Drop vault.rocks (#4186) 2018-03-23 11:41:51 -04:00
consul Drop vault.rocks (#4186) 2018-03-23 11:41:51 -04:00
cubbyhole Drop vault.rocks (#4186) 2018-03-23 11:41:51 -04:00
databases html syntax corrections (#5009) 2018-08-07 10:34:35 -07:00
gcp Update GCP docs (#4898) 2018-07-11 15:52:22 -04:00
identity docs: s/entity/group-alias 2018-05-08 16:32:35 -04:00
kv Update kv-v2.html.md (#4614) 2018-05-24 12:44:44 -04:00
mongodb Drop vault.rocks (#4186) 2018-03-23 11:41:51 -04:00
mssql Drop vault.rocks (#4186) 2018-03-23 11:41:51 -04:00
mysql Drop vault.rocks (#4186) 2018-03-23 11:41:51 -04:00
nomad remove incorrect parameter 2018-05-23 08:58:27 -04:00
pki Revert "Add ttl parameter to pki api docs (#5063)" 2018-08-13 09:34:05 -07:00
postgresql Drop vault.rocks (#4186) 2018-03-23 11:41:51 -04:00
rabbitmq Drop vault.rocks (#4186) 2018-03-23 11:41:51 -04:00
ssh Drop vault.rocks (#4186) 2018-03-23 11:41:51 -04:00
totp Drop vault.rocks (#4186) 2018-03-23 11:41:51 -04:00
transit Make description of prehashed a bit more friendly 2018-05-21 09:08:22 -04:00
index.html.md Resolve the most painful merge conflict known on earth 2017-10-24 09:34:12 -04:00