gcloud-config
gcloud CLI configuration management
TLDR
List configurations
SYNOPSIS
gcloud config command [options]
DESCRIPTION
gcloud config manages persistent configuration properties for the gcloud command-line tool. Properties set through this command become defaults used by all gcloud commands unless explicitly overridden with command-line flags.
Common properties include the default project, Compute Engine region and zone, and active account. These eliminate the need to specify frequently-used values on every command, significantly reducing command verbosity for regular workflows.
Named configurations enable managing multiple independent sets of properties, making it easy to switch between different projects, accounts, or environments. Each configuration is a complete set of property values that can be activated with a single command. This is essential for developers working across multiple GCP projects or organizations, as it prevents accidentally running commands in the wrong project context.
PARAMETERS
COMMAND
Operation: set, get-value, list, configurations.set PROPERTY VALUE
Set configuration property.get-value PROPERTY
Get property value.list
List all properties.configurations SUBCMD
Manage named configurations.unset PROPERTY
Remove property setting.--help
Display help information.
CAVEATS
Per-command options override config. Configuration is user-specific. Some properties require valid values.
HISTORY
gcloud config is part of the Google Cloud SDK configuration system, providing persistent settings management for the CLI.
SEE ALSO
gcloud(1), gcloud-auth(1)
