Skip to content

Commit

Permalink
backport of commit 7f14a9e (#19504)
Browse files Browse the repository at this point in the history
Co-authored-by: Robert <17119716+robmonte@users.noreply.github.com>
  • Loading branch information
hc-github-team-secure-vault-core and robmonte committed Mar 10, 2023
1 parent ab59edb commit 48aadc6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/content/docs/secrets/gcp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,10 @@ $ curl -H "Authorization: Bearer ya29.c.ElodBmNPwHUNY5gcBpnXcE4ywG4w1k..."

### Service Account Keys

To generate service account keys, read from `gcp/.../key`. The roleset or static
account must have been created as type `service_account_key`:
To generate service account keys, read from `gcp/.../key`. Vault returns the service
account key data as a base64-encoded string in the `private_key_data` field. This can
be read by decoding it using `base64 --decode "ewogICJ0e..."` or another base64 tool of
your choice. The roleset or static account must have been created as type `service_account_key`:

```shell-session
$ vault read gcp/roleset/my-key-roleset/key
Expand Down

0 comments on commit 48aadc6

Please sign in to comment.