Skip to main content

art_configure_generate-gcp-credentials

art configure generate-gcp-credentials

Generates GCP Config credentials for session

Synopsis

For a given project id, a set of temporary credentials are created. When specified --format it will return commands to set environment variables & if not specified, it will return json having keys

art configure generate-gcp-credentials [--format format] [flags]

Examples


## Generate GCP Creds: output json
art configure generate-gcp-credentials
## Generate AWS Creds: output export commands
eval $(art configure generate-gcp-credentials --format eval)

Options

      --format string    output format default is json can be override by eval (default "json")
-h, --help help for generate-gcp-credentials
--project string The gcp project id for which the temporary credentials will be created

Options inherited from parent commands

      --key string       art key (clientID you get when a token is generated from the ui)
--profile string art profile (default "default")
--secret string art secret (secret you get when a token is generated from the ui)

SEE ALSO

Auto generated by spf13/cobra on 29-Nov-2022