Granted and Google Cloud Platform (GCP) #538
meyerjrr
started this conversation in
Feature Requests, Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have been working on expanding Granted’s functionality to work for multi-cloud. We see this as a logical next step to improve the work flow for users that have their domains expand across multi cloud providers. First up has been Google Cloud Platform (GCP).
Each cloud provider differs from one another, so we have been investigating how we can best support GCP in this coming update. We would also love to hear how you all use GCP in your day to day work!
As a start we have implemented context switching in the cli for changing the active project. And opening up into the console for a particular project. eg.
assumeandassume -cWe have used the gcloud config
~/.config/gcloudas a focus to begin with due to its similarity with AWS’s~/.aws/configmanagement of accounts and access.Our GCP support introduces a few helpful commands that makes using Granted with GCP easer.
Firstly is the
granted gcp generatecommand which will create configs for all projects you have access to. This is done through reading your access from.config/gcloud/credentials.dbwhich is created after logging in withgcloud auth loginOnce these configs are created Granted will list these config profiles when calling the
assumecommand.Selecting one of these config profiles will export the following environment variables where applicable:
CLOUDSDK_ACTIVE_CONFIG_NAMEGOOGLE_CLOUD_PROJECTCLOUDSDK_CORE_PROJECTCLOUDSDK_CORE_ACCOUNTCLOUDSDK_COMPUTE_REGION(If it is set in config)REGION(If it is set in config)ZONE(If it is set in config)I’m opening this up for discussion for our users that use GCP, would this help your UX on working with GCP? If not, we would love to know:
Beta Was this translation helpful? Give feedback.
All reactions