Fix config/sts docs (#5839)
This commit is contained in:
parent
a82ff1f92e
commit
3c0d63169c
|
@ -361,15 +361,14 @@ $ curl \
|
||||||
|
|
||||||
Returns the previously configured STS role.
|
Returns the previously configured STS role.
|
||||||
|
|
||||||
| Method | Path | Produces |
|
| Method | Path | Produces |
|
||||||
| :------- | :--------------------------- | :--------------------- |
|
| :------- | :--------------------------------- | :--------------------- |
|
||||||
| `GET` | `/auth/aws/config/sts/:account_id` | `200 application/json` |
|
| `GET` | `/auth/aws/config/sts/:account_id` | `200 application/json` |
|
||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
- `account_id` `(string: <required>)` - AWS account ID to be associated with
|
- `account_id` `(string: <required>)` - AWS account ID that has been
|
||||||
STS role. If set, Vault will use assumed credentials to verify any login
|
previously associated with STS role.
|
||||||
attempts from EC2 instances in this account.
|
|
||||||
|
|
||||||
### Sample Request
|
### Sample Request
|
||||||
|
|
||||||
|
@ -423,9 +422,14 @@ $ curl \
|
||||||
|
|
||||||
Deletes a previously configured AWS account/STS role association.
|
Deletes a previously configured AWS account/STS role association.
|
||||||
|
|
||||||
| Method | Path | Produces |
|
| Method | Path | Produces |
|
||||||
| :------- | :--------------------------- | :--------------------- |
|
| :------- | :--------------------------------- | :------------------|
|
||||||
| `DELETE` | `/auth/aws/config/sts` | `204 (empty body)` |
|
| `DELETE` | `/auth/aws/config/sts/:account_id` | `204 (empty body)` |
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
- `account_id` `(string: <required>)` - AWS account ID that has been
|
||||||
|
previously associated with STS role.
|
||||||
|
|
||||||
### Sample Request
|
### Sample Request
|
||||||
|
|
||||||
|
@ -433,7 +437,7 @@ Deletes a previously configured AWS account/STS role association.
|
||||||
$ curl \
|
$ curl \
|
||||||
--header "X-Vault-Token: ..." \
|
--header "X-Vault-Token: ..." \
|
||||||
--request DELETE \
|
--request DELETE \
|
||||||
http://127.0.0.1:8200/v1/auth/aws/config/sts
|
http://127.0.0.1:8200/v1/auth/aws/config/sts/111122223333
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configure Identity Whitelist Tidy Operation
|
## Configure Identity Whitelist Tidy Operation
|
||||||
|
|
Loading…
Reference in New Issue