mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 04:16:31 +02:00
[website] fix Markdown formatting on GCP page (#4471)
This commit is contained in:
parent
4a40bd6432
commit
c9f989a3fb
@ -452,19 +452,19 @@ configuration for the generated auth tokens.
|
||||
|
||||
We also expose a helper path for updating the service accounts attached to an existing `iam` role:
|
||||
|
||||
```sh
|
||||
vault write auth/gcp/role/iam-role/service-accounts \
|
||||
add='serviceAccountToAdd,...' \
|
||||
remove='serviceAccountToRemove,...' \
|
||||
```
|
||||
```
|
||||
$ vault write auth/gcp/role/iam-role/service-accounts \
|
||||
add='serviceAccountToAdd,...' \
|
||||
remove='serviceAccountToRemove,...' \
|
||||
```
|
||||
|
||||
and for updating the labels attached to an existing `gce` role:
|
||||
|
||||
```sh
|
||||
vault write auth/gcp/role/gce-role/labels \
|
||||
add='label1:value1,foo:bar,...' \
|
||||
remove='key1,key2,...' \
|
||||
```
|
||||
```
|
||||
$ vault write auth/gcp/role/gce-role/labels \
|
||||
add='label1:value1,foo:bar,...' \
|
||||
remove='key1,key2,...' \
|
||||
```
|
||||
|
||||
|
||||
See [API docs](/api/auth/gcp/index.html#create-role) to view
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user