Meta tags:
Headings (most frequently used words):
configuration, configurations, and, properties, managing, gcloud, cli, stay, organized, with, collections, save, categorize, content, based, on, your, preferences, default, multiple, creating, activating, automating, switching, listing, setting, viewing, deleting, what, next, products, pricing, support, resources, engage,
Text of the page (most frequently used words):
the (57), gcloud (51), #configuration (38), and (36), configurations (33), cli (26), #config (26), you (23), cloud (21), properties (21), project (18), for (17), google (17), can (15), set (13), default (12), your (12), active (11), use (11), using (11), run (9), name (8), east1 (8), application (8), overview (8), with (7), thumb (7), are (7), switch (7), example (7), list (7), environment (7), manage (6), about (6), more (6), activate (6), compute (6), account (6), user (6), tools (6), multiple (6), sdk (6), authenticate (6), code (5), resources (5), one (5), directory (5), create (5), managing (5), português (4), español (4), other (4), down (4), delete (4), com (4), named (4), between (4), command (4), service (4), management (4), development (4), client (4), libraries (4), api (4), keys (4), samples (3), see (3), content (3), this (3), required (3), another (3), false (3), zone (3), also (3), unset (3), setting (3), gmail (3), like (3), commands (3), single (3), new (3), engine (3), them (3), however (3), running (3), stored (3), that (3), preferences (3), usage (3), product (3), guides (3), access (3), credentials (3), 한국어 (2), 日本語 (2), עברית (2), brasil (2), italiano (2), indonesia (2), français (2), américa (2), latina (2), deutsch (2), english (2), sign (2), terms (2), site (2), youtube (2), started (2), support (2), pricing (2), all (2), products (2), understand (2), information (2), need (2), last (2), updated (2), 2026 (2), utc (2), licensed (2), under (2), license (2), send (2), feedback (2), read (2), learn (2), deleting (2), is_active (2), core (2), view (2), describe (2), variables (2), true (2), installation (2), help (2), such (2), working (2), cloudsdk_active_config_name (2), switching (2), change (2), current (2), variable (2), flag (2), any (2), will (2), only (2), govern (2), behavior (2), activating (2), must (2), authorization (2), additional (2), scripting (2), sections (2), shell (2), value (2), verbosity (2), define (2), enable (2), these (2), settings (2), per (2), organized (2), based (2), documentation (2), languages (2), frameworks (2), infrastructure (2), costs (2), storage (2), security (2), observability (2), monitoring (2), networking (2), migration (2), industry (2), solutions (2), distributed (2), hybrid (2), multicloud (2), databases (2), data (2), analytics (2), pipelines (2), hosting (2), best (2), practices (2), configure (2), token (2), get (2), apis (2), methods (2), console (2), cross (2), reference (2), technology (2), areas (2), close (2), subscribe, newsletter, our, third, decade, climate, action, join, cookies, privacy, tech, twitter, events, blog, engage, training, certification, architecture, center, getting, github, system, status, release, notes, community, forums, contact, sales, marketplace, easy, easytounderstand, solved, problem, solvedmyproblem, otherup, hard, hardtounderstand, incorrect, sample, incorrectinformationorsamplecode, missing, missingtheinformationsamplesineed, otherdown, tell, except, otherwise, noted, page, details, java, registered, trademark, oracle, its, affiliates, developers, policies, apache, creative, commons, attribution, what, next, before, region, prints, viewing, your_zone_name, cloudsdk_compute_zone, your_project_name, cloudsdk_core_project, via, follows, cloudsdk_section_name_property_name, default_zone, default_region, lists, shows, which, listing, make, changing, seamless, leverage, automatically, when, directories, way, accomplish, necessary, envrc, file, root, ondir, direnv, automating, terminal, configuration_name, auth, invocation, always, show, given, time, whose, after, creation, order, creating, work, app, unrelated, instances, perform, generally, independent, tasks, accounts, separate, each, projects, useful, want, suitable, many, cases, there, nothing, special, initial, created, convenience, disable_prompts, disable, prompting, starts, off, directly, init, from, line, along, complete, available, they, topic, have, choose, specific, refer, section, below, typically, macos, linux, windows, find, location, changed, note, write, enabled, temporary, folder, tab, not, persist, across, sessions, tmp, cloudsdk_config, info, format, paths, global_config_dir, appdata, commonly, include, level, reporting, allow, together, group, tip, usually, just, should, sufficient, prompt, levels, key, pairs, save, categorize, stay, collections, developer, home, uninstalling, components, packages, cheat, sheet, develop, accessibility, features, behind, proxy, firewall, initialize, reauthentication, step, verification, requirement, types, tokens, troubleshoot, adc, setup, how, works, premises, provider, containerized, resource, attached, local, impersonation, rest, ways, authentication, homebrew, installer, versioned, archives, snap, package, migrate, stable, image, docker, install, explained, discover, start, free, skip, main,
Text of the page (random words):
managing gcloud cli configurations google cloud sdk google cloud documentation skip to main content technology areas close ai and ml application development application hosting compute data analytics and pipelines databases distributed hybrid and multicloud industry solutions migration networking observability and monitoring security storage cross product tools close access and resources management costs and usage management infrastructure as code sdk languages frameworks and tools console english deutsch español español américa latina français indonesia italiano português português brasil עברית 中文 简体 中文 繁體 日本語 한국어 sign in google cloud sdk start free overview guides reference resources technology areas more overview guides reference resources cross product tools more console discover google cloud sdk overview gcloud cli overview cloud client libraries overview client libraries and cloud apis explained get started install the gcloud cli other installation methods using docker overview migrate to the stable image using a snap package using versioned archives using the installer using homebrew authenticate to google cloud authentication methods ways to authenticate authenticate for using client libraries authenticate for using rest authenticate by using service account impersonation application default credentials set up application default credentials overview local development environment resource with an attached service account containerized environment on premises or another cloud provider cloud based development environment how application default credentials works troubleshoot your adc setup api keys use api keys to access apis manage api keys best practices for managing api keys get an id token tokens overview token types 2 step verification requirement reauthentication configure the gcloud cli initialize the gcloud cli authenticate for the gcloud cli configure the gcloud cli for use behind a proxy or firewall manage gcloud cli configurations manage gcloud cli properties enable accessibility features develop gcloud cli cheat sheet scripting gcloud cli commands client libraries best practices manage packages in gcloud cli managing gcloud cli components uninstalling the gcloud cli ai and ml application development application hosting compute data analytics and pipelines databases distributed hybrid and multicloud industry solutions migration networking observability and monitoring security storage access and resources management costs and usage management infrastructure as code sdk languages frameworks and tools home documentation developer tools google cloud sdk guides send feedback managing gcloud cli configurations stay organized with collections save and categorize content based on your preferences a configuration is a named set of google cloud cli properties these properties are key value pairs organized in sections that govern the behavior of the gcloud cli tip usually if you re working with just one project the default configuration named default should be sufficient to learn more about setting properties in a configuration to define per product or per service settings such as the authorization account to use prompt preferences and verbosity levels see managing gcloud cli properties properties that are commonly stored in configurations include default compute engine zone verbosity level usage reporting project id and an active user or service account configurations allow you to define and enable these and other settings together as a group configurations are stored in your user config directory typically config gcloud on macos and linux or appdata gcloud on windows you can find the location of your config directory by running gcloud info format value config paths global_config_dir the config directory can be changed by setting the environment variable cloudsdk_config also note that the config directory must be write enabled however if you re using cloud shell your gcloud cli preferences are stored in a temporary tmp folder set for your current cloud shell tab only and do not persist across sessions if you have multiple configurations you can choose to switch between them or run commands using a specific configuration with the help of the configuration flag for more about switching configurations refer to the section below on activating configurations to read about configurations from the command line along with a complete list of available properties and the sections they are in run gcloud topic configurations default configuration the gcloud cli starts you off with a single configuration named default you can set properties in your configuration by running the gcloud init command or by running gcloud config set directly for example to disable prompting for scripting run gcloud config set disable_prompts true multiple configurations the single default configuration is suitable for many use cases however you can also create additional configurations and switch between them as required using gcloud config configurations activate there is nothing special about the initial default configuration it is created as a convenience you can name this and any additional configurations however you d like multiple configurations are useful if you want to use multiple projects you can create a separate configuration for each project and switch between them as required use multiple authorization accounts perform generally independent tasks for example you can use one configuration to work on a app engine application in one project and manage an unrelated compute engine instances in another project creating a configuration to create a configuration run gcloud config configurations create gcloud config configurations create name you must activate the new configuration after creation in order to use it activating a configuration only one of your multiple configurations can be active at a given time the active configuration is the configuration whose properties will govern the behavior of the gcloud cli to activate a new configuration or switch to a new active configuration run gcloud config configurations activate gcloud config configurations activate name gcloud config list will always show you the properties in your active configuration to change the active configuration for a single command invocation you can use the configuration flag on any gcloud cli command gcloud auth list configuration configuration_name to change the active configuration for all commands in your current terminal you can set the environment variable cloudsdk_active_config_name to the name of the configuration you d like to use automating configuration switching to help make changing configurations seamless you can leverage tools such as direnv and ondir to automatically switch between configurations when you switch working directories one way to accomplish this is to set the necessary environment variables like cloudsdk_active_config_name in the envrc file in the root directory of your project listing configurations to list the configurations in your gcloud cli installation run gcloud config configurations list gcloud config configurations list the gcloud cli lists the configurations and shows which configuration is active name is_active account project default_zone default_region default false user gmail com example project 1 us east1 b us east1 project 1 false user gmail com example project 2 us east1 c us east1 project 2 true user gmail com example project 3 us east1 b us east1 setting configuration properties to set and unset the properties in the active configuration run gcloud config set and gcloud config unset gcloud config set project project gcloud config unset project properties can also be set via environment variables named cloudsdk_section_name_property_name for example you can set the core project and compute zone properties as follows cloudsdk_core_project your_project_name cloudsdk_compute_zone your_zone_name viewing configuration properties to view the properties in a configuration run gcloud config configurations describe gcloud config configurations describe name or to view properties in the active configuration gcloud config list the gcloud cli prints the configuration properties is_active false name default properties compute region us east1 zone us east1 b core account user google com project example project deleting a configuration to delete a configuration run gcloud config configurations delete gcloud config configurations delete name you can t delete the active configuration use gcloud config configurations activate if required to switch to another configuration before deleting what s next read gcloud cli properties to learn more about properties send feedback except as otherwise noted the content of this page is licensed under the creative commons attribution 4 0 license and code samples are licensed under the apache 2 0 license for details see the google developers site policies java is a registered trademark of oracle and or its affiliates last updated 2026 07 22 utc need to tell us more easy to understand easytounderstand thumb up solved my problem solvedmyproblem thumb up other otherup thumb up hard to understand hardtounderstand thumb down incorrect information or sample code incorrectinformationorsamplecode thumb down missing the information samples i need missingtheinformationsamplesineed thumb down other otherdown thumb down last updated 2026 07 22 utc products and pricing see all products google cloud pricing google cloud marketplace contact sales support community forums support release notes system status resources github getting started with google cloud code samples cloud architecture center training and certification engage blog events x twitter google cloud on youtube google cloud tech on youtube about google privacy site terms google cloud terms manage cookies our third decade of climate action join us sign up for the google cloud newsletter subscribe english deutsch español español américa latina français indonesia italiano português português brasil עברית 中文 简体 中文 繁體 日本語 한국어
|