gcloud privateca pools get-ca-certs Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud privateca pools get-ca-certs - get the root CA certs for all active CAs in the CA pool
- SYNOPSIS
gcloud privateca pools get-ca-certs(CA_POOL:--location=LOCATION)--output-file=OUTPUT_FILE[GCLOUD_WIDE_FLAG …]
- EXAMPLES
- To get the root CA certs for all active CAs in the CA pool:
gcloudprivatecapoolsget-ca-certsmy-pool--output-file=ca-certificates.pem--location=us-west1 - POSITIONAL ARGUMENTS
- CA POOL resource - The ca pool whose CA certificates should be fetched. Thearguments in this group can be used to specify the attributes of this resource.(NOTE) Some attributes are not given arguments in this group but can be set inother ways.
To set the
projectattribute:- provide the argument
CA_POOLon the command line with a fullyspecified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
CA_POOL- ID of the CA_POOL or fully qualified identifier for the CA_POOL.
To set the
poolattribute:- provide the argument
CA_POOLon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- The location of the CA_POOL.
To set the
locationattribute:- provide the argument
CA_POOLon the command line with a fullyspecified name; - provide the argument
--locationon the command line; - set the property
privateca/location.
- provide the argument
- provide the argument
- CA POOL resource - The ca pool whose CA certificates should be fetched. Thearguments in this group can be used to specify the attributes of this resource.(NOTE) Some attributes are not given arguments in this group but can be set inother ways.
- REQUIRED FLAGS
--output-file=OUTPUT_FILE- The path where the concatenated PEM certificates will be written. This willinclude the root CA certificate for each active CA in the CA pool.
- 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 helpfor details.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.