mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
gcloud: Wed Mar 15 11:22:01 UTC 2023
This commit is contained in:
parent
29661f002c
commit
a4bd29dd06
164 changed files with 2541 additions and 844 deletions
39
gcloud/auth/enterprise-certificate-config/create/help
Normal file
39
gcloud/auth/enterprise-certificate-config/create/help
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
NAME
|
||||
gcloud auth enterprise-certificate-config create - create enterprise
|
||||
certificate configurations
|
||||
|
||||
SYNOPSIS
|
||||
gcloud auth enterprise-certificate-config create COMMAND
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
The gcloud auth enterprise-certificate-config create group lets you create
|
||||
enterprise certificate configurations. This configuration will be used by
|
||||
gcloud to communicate with the enterprise-certificate-proxy.
|
||||
|
||||
See more details at gcloud topic client-certificate.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
linux
|
||||
Create an enterprise-certificate configuration file for Linux.
|
||||
|
||||
macos
|
||||
Create an enterprise-certificate configuration file for MacOS.
|
||||
|
||||
windows
|
||||
Create an enterprise-certificate configuration file for Windows.
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha auth enterprise-certificate-config create
|
||||
|
||||
$ gcloud beta auth enterprise-certificate-config create
|
||||
|
||||
69
gcloud/auth/enterprise-certificate-config/create/linux
Normal file
69
gcloud/auth/enterprise-certificate-config/create/linux
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
NAME
|
||||
gcloud auth enterprise-certificate-config create linux - create an
|
||||
enterprise-certificate configuration file for Linux
|
||||
|
||||
SYNOPSIS
|
||||
gcloud auth enterprise-certificate-config create linux --label=LABEL
|
||||
--module=MODULE --slot=SLOT [--ecp=ECP] [--ecp-client=ECP_CLIENT]
|
||||
[--output-file=OUTPUT_FILE] [--tls-offload=TLS_OFFLOAD]
|
||||
[--user-pin=USER_PIN] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
This command creates a configuration file used by gcloud to use the
|
||||
enterprise-certificate-proxy component for mTLS.
|
||||
|
||||
EXAMPLES
|
||||
To create a credential configuration run:
|
||||
|
||||
$ gcloud auth enterprise-certificate-config create linux \
|
||||
--module=$PATH_TO_PKCS11_MODULE --slot=$PKCS11_SLOT_ID \
|
||||
--label=$PKCS11_OBJECT_LABEL --user-pin=$PKCS11_USER_PIN
|
||||
|
||||
REQUIRED FLAGS
|
||||
--label=LABEL
|
||||
The PKCS #11 label for the target credentials. The certificate, public
|
||||
key, and private key MUST have the same label.
|
||||
enterprise-certificate-proxy will use all three objects.
|
||||
|
||||
--module=MODULE
|
||||
The full file path to the PKCS #11 module.
|
||||
|
||||
--slot=SLOT
|
||||
The PKCS #11 slot containing the target credentials.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--ecp=ECP
|
||||
Provide a custom path to the enterprise-certificate-proxy binary. This
|
||||
flag must be the full path to the binary.
|
||||
|
||||
--ecp-client=ECP_CLIENT
|
||||
Provide a custom path to the enterprise-certificate-proxy shared client
|
||||
library. This flag must be the full path to the shared library.
|
||||
|
||||
--output-file=OUTPUT_FILE
|
||||
Override the file path that the enterprise-certificate-proxy
|
||||
configuration is written to.
|
||||
|
||||
--tls-offload=TLS_OFFLOAD
|
||||
Provide a custom path to the enterprise-certificate-proxy shared tls
|
||||
offload library. This flag must be the full path to the shared library.
|
||||
|
||||
--user-pin=USER_PIN
|
||||
The user pin used to login to the PKCS #11 module. If there is no user
|
||||
pin leave this field empty.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha auth enterprise-certificate-config create linux
|
||||
|
||||
$ gcloud beta auth enterprise-certificate-config create linux
|
||||
|
||||
55
gcloud/auth/enterprise-certificate-config/create/macos
Normal file
55
gcloud/auth/enterprise-certificate-config/create/macos
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
NAME
|
||||
gcloud auth enterprise-certificate-config create macos - create an
|
||||
enterprise-certificate configuration file for MacOS
|
||||
|
||||
SYNOPSIS
|
||||
gcloud auth enterprise-certificate-config create macos --issuer=ISSUER
|
||||
[--ecp=ECP] [--ecp-client=ECP_CLIENT] [--output-file=OUTPUT_FILE]
|
||||
[--tls-offload=TLS_OFFLOAD] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
This command creates a configuration file used by gcloud to use the
|
||||
enterprise-certificate-proxy component for mTLS.
|
||||
|
||||
EXAMPLES
|
||||
To create a credential configuration run:
|
||||
|
||||
$ gcloud auth enterprise-certificate-config create macos \
|
||||
--issuer=$CERT_ISSUER
|
||||
|
||||
REQUIRED FLAGS
|
||||
--issuer=ISSUER
|
||||
The certificate issuer.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--ecp=ECP
|
||||
Provide a custom path to the enterprise-certificate-proxy binary. This
|
||||
flag must be the full path to the binary.
|
||||
|
||||
--ecp-client=ECP_CLIENT
|
||||
Provide a custom path to the enterprise-certificate-proxy shared client
|
||||
library. This flag must be the full path to the shared library.
|
||||
|
||||
--output-file=OUTPUT_FILE
|
||||
Override the file path that the enterprise-certificate-proxy
|
||||
configuration is written to.
|
||||
|
||||
--tls-offload=TLS_OFFLOAD
|
||||
Provide a custom path to the enterprise-certificate-proxy shared tls
|
||||
offload library. This flag must be the full path to the shared library.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha auth enterprise-certificate-config create macos
|
||||
|
||||
$ gcloud beta auth enterprise-certificate-config create macos
|
||||
|
||||
62
gcloud/auth/enterprise-certificate-config/create/windows
Normal file
62
gcloud/auth/enterprise-certificate-config/create/windows
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
NAME
|
||||
gcloud auth enterprise-certificate-config create windows - create an
|
||||
enterprise-certificate configuration file for Windows
|
||||
|
||||
SYNOPSIS
|
||||
gcloud auth enterprise-certificate-config create windows --issuer=ISSUER
|
||||
--provider=PROVIDER --store=STORE [--ecp=ECP] [--ecp-client=ECP_CLIENT]
|
||||
[--output-file=OUTPUT_FILE] [--tls-offload=TLS_OFFLOAD]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
This command creates a configuration file used by gcloud to use the
|
||||
enterprise-certificate-proxy component for mTLS.
|
||||
|
||||
EXAMPLES
|
||||
To create a credential configuration run:
|
||||
|
||||
$ gcloud auth enterprise-certificate-config create windows \
|
||||
--issuer=$CERT_ISSUER --store=$STORE --provider=$PROVIDER
|
||||
|
||||
REQUIRED FLAGS
|
||||
--issuer=ISSUER
|
||||
The certificate issuer.
|
||||
|
||||
--provider=PROVIDER
|
||||
The Windows secure store provider.
|
||||
|
||||
--store=STORE
|
||||
The Windows secure store.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--ecp=ECP
|
||||
Provide a custom path to the enterprise-certificate-proxy binary. This
|
||||
flag must be the full path to the binary.
|
||||
|
||||
--ecp-client=ECP_CLIENT
|
||||
Provide a custom path to the enterprise-certificate-proxy shared client
|
||||
library. This flag must be the full path to the shared library.
|
||||
|
||||
--output-file=OUTPUT_FILE
|
||||
Override the file path that the enterprise-certificate-proxy
|
||||
configuration is written to.
|
||||
|
||||
--tls-offload=TLS_OFFLOAD
|
||||
Provide a custom path to the enterprise-certificate-proxy shared tls
|
||||
offload library. This flag must be the full path to the shared library.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha auth enterprise-certificate-config create windows
|
||||
|
||||
$ gcloud beta auth enterprise-certificate-config create windows
|
||||
|
||||
34
gcloud/auth/enterprise-certificate-config/help
Normal file
34
gcloud/auth/enterprise-certificate-config/help
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
NAME
|
||||
gcloud auth enterprise-certificate-config - manage enterprise certificate
|
||||
configurations
|
||||
|
||||
SYNOPSIS
|
||||
gcloud auth enterprise-certificate-config GROUP [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Currently only create is implemented.
|
||||
|
||||
The gcloud auth enterprise-certificate-config group lets you create
|
||||
enterprise certificate configurations. This configuration will be used by
|
||||
gcloud to communicate with the enterprise-certificate-proxy.
|
||||
|
||||
See more details at gcloud topic client-certificate.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
GROUPS
|
||||
GROUP is one of the following:
|
||||
|
||||
create
|
||||
Create enterprise certificate configurations.
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha auth enterprise-certificate-config
|
||||
|
||||
$ gcloud beta auth enterprise-certificate-config
|
||||
|
||||
|
|
@ -52,6 +52,9 @@ GROUPS
|
|||
application-default
|
||||
Manage your active Application Default Credentials.
|
||||
|
||||
enterprise-certificate-config
|
||||
Manage enterprise certificate configurations.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
|
|
|
|||
|
|
@ -26,16 +26,23 @@ DESCRIPTION
|
|||
gcloud auth activate-service-account with the corresponding JSON key file.
|
||||
|
||||
In addition to Google user credentials, authorization using workload
|
||||
identity federation or service account keys is also supported.
|
||||
identity federation, workforce identity federation, or service account keys
|
||||
is also supported.
|
||||
|
||||
For authorization with external accounts or service accounts, the
|
||||
--cred-file flag must be specified with the path to the workload identity
|
||||
credential configuration file or service account key file (JSON).
|
||||
|
||||
Login with workload and workforce identity federation is also supported in
|
||||
both gsutil and bq. This command is the recommended way of using external
|
||||
accounts.
|
||||
|
||||
For authorization with external accounts (workload identity pools) or
|
||||
service accounts, the --cred-file flag must be specified with the path to
|
||||
the workload identity credential configuration file or service account key
|
||||
file (JSON). Login with workload identity federation is also supported in
|
||||
gsutil and this command is the recommended way of using external accounts.
|
||||
For more information on workload identity federation, see:
|
||||
https://cloud.google.com/iam/docs/workload-identity-federation.
|
||||
|
||||
For more information on workforce identity federation, see:
|
||||
https://cloud.google.com/iam/docs/workforce-identity-federation.
|
||||
|
||||
For more information on authorization and credential types, see:
|
||||
https://cloud.google.com/sdk/docs/authorizing.
|
||||
|
||||
|
|
@ -44,9 +51,15 @@ EXAMPLES
|
|||
|
||||
$ gcloud auth login
|
||||
|
||||
To obtain access credentials using workload identity federation, run:
|
||||
To obtain access credentials using workload or workforce identity
|
||||
federation, run:
|
||||
|
||||
$ gcloud auth login --cred-file=/path/to/workload/configuration/file
|
||||
$ gcloud auth login --cred-file=/path/to/configuration/file
|
||||
|
||||
To obtain access credentials using a browser-based sign-in flow with
|
||||
workforce identity federation, run:
|
||||
|
||||
$ gcloud auth login --login-config=/path/to/configuration/file
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
[ACCOUNT]
|
||||
|
|
@ -124,10 +137,10 @@ FLAGS
|
|||
Enabled by default, use --no-launch-browser to disable.
|
||||
|
||||
--login-config=LOGIN_CONFIG
|
||||
Path to the login configuration file (workforce pool, generated by the
|
||||
Cloud Console or gcloud iam workforce-pools create-login-config).
|
||||
Overrides the default auth/login_config_file property value for this
|
||||
command invocation.
|
||||
Path to the workforce identity federation login configuration file
|
||||
which can be generated using the gcloud iam workforce-pools
|
||||
create-login-config command. Overrides the default
|
||||
auth/login_config_file property value for this command invocation.
|
||||
|
||||
--update-adc
|
||||
Write the obtained credentials to the well-known location for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue