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

[MKP/misc] Update help info for service account. #2179

Merged
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
4 changes: 4 additions & 0 deletions manifests/gcp_marketplace/schema.yaml
Original file line number Diff line number Diff line change
@@ -105,10 +105,14 @@ properties:
GCP Service Account credentials used to call other GCP services.
description: |-
To be able to call other GCP services from the pipeline, we need to be authenticated.
The associated service account should have Cloud SQL and GCS access permissions/roles at
minimum, as well as any permission you need for your pipelines.
This field is used to store the content of the service account
JSON file. It can be encoded using base64 instead of messing with JSON format.
To get the encoded credential, run
$ gcloud iam service-accounts keys create application_default_credentials.json --iam-account [your-service-account] && cat application_default_credentials.json | base64
It is recommended to use google cloud shell, which saves you the effort of environment setup.
Then you can copy-paste the generated token into this field. Note: the token is without spaces/breaklines.
type: string
default: ""
x-google-marketplace: