This page describes how to use Argument Setter plugin using a file stored in Google Cloud Storage (GCS).
Before you begin
If the file stored in GCS is publicly available, then there is no additional configuration required. The URL in the Argument Setter plugin can be set as:
...
Code Block |
---|
{ "arguments" : [ { "name": "<macro name>", "value": "<macro value>" }, { "name": "gcs.path", "value": "gs://bucket-name/file.json" } ... ] } |
Argument Setter using a file in GCS when the file is not public
Download the Service Accounts JSON file.
Using terminal command line, obtain a signed URL of the file in GCS:
Code Block gsutil signurl -d 10m <path-to-SA-json>/service-account.json gs://<bucket-name>/<file-name>.json
Use the signed URL and the URL path in Argument Setter plugin.
...