Fix config/sts docs (#5839)
This commit is contained in:
parent
a82ff1f92e
commit
3c0d63169c
|
@ -362,14 +362,13 @@ $ curl \
|
|||
Returns the previously configured STS role.
|
||||
|
||||
| Method | Path | Produces |
|
||||
| :------- | :--------------------------- | :--------------------- |
|
||||
| :------- | :--------------------------------- | :--------------------- |
|
||||
| `GET` | `/auth/aws/config/sts/:account_id` | `200 application/json` |
|
||||
|
||||
### Parameters
|
||||
|
||||
- `account_id` `(string: <required>)` - AWS account ID to be associated with
|
||||
STS role. If set, Vault will use assumed credentials to verify any login
|
||||
attempts from EC2 instances in this account.
|
||||
- `account_id` `(string: <required>)` - AWS account ID that has been
|
||||
previously associated with STS role.
|
||||
|
||||
### Sample Request
|
||||
|
||||
|
@ -424,8 +423,13 @@ $ curl \
|
|||
Deletes a previously configured AWS account/STS role association.
|
||||
|
||||
| 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
|
||||
|
||||
|
@ -433,7 +437,7 @@ Deletes a previously configured AWS account/STS role association.
|
|||
$ curl \
|
||||
--header "X-Vault-Token: ..." \
|
||||
--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
|
||||
|
|
Loading…
Reference in New Issue