Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added docs for PR in Vault GCP Secrets repo #8728

Merged
merged 1 commit into from
Apr 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions website/pages/api-docs/secret/gcp/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@ resource "//cloudresourcemanager.googleapis.com/projects/mygcpproject" {
],
}

resource "//bigquery.googleapis.com/projects/my-project/datasets/mydataset" {
roles = [
"roles/bigquery.dataViewer"
],
}

resource "https://selflink/to/my/resource" {
roles = [
"project/mygcpproject/roles/projcustomrole",
Expand Down
12 changes: 12 additions & 0 deletions website/pages/docs/secrets/gcp/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ few different formats:
# Pubsub snapshot
//pubsub.googleapis.com/project/my-project/snapshots/my-pubsub-snapshot

# BigQuery dataset
//bigquery.googleapis.com/projects/my-project/datasets/mydataset

# Resource manager
//cloudresourcemanager.googleapis.com/projects/my-project"
```
Expand Down Expand Up @@ -346,6 +349,10 @@ resourcemanager.projects.setIamPolicy
# All compute
compute.*.getIamPolicy
compute.*.setIamPolicy

# BigQuery Datasets
bigquery.datasets.get
bigquery.datasets.update
```

You can either:
Expand All @@ -358,6 +365,11 @@ You can either:
`roles/iam.serviceAccountAdmin` and `roles/iam.serviceAccountKeyAdmin` so
Vault can manage service accounts and keys.

- Notice that BigQuery requires different permissions than other resource. This is
because BigQuery currently uses legacy ACL instead of traditional IAM permissions.
This means to update access on the dataset, Vault must be able to update the dataset's
metadata.

### Root Credential Rotation

If the mount is configured with credentials directly, the credential's key may be
Expand Down