List certificate authorities
This page explains how you can list the certificate authorities (CAs) in a Google Cloud project.
List root CAs
This section shows how to view the root CAs.
List root CAs across CA pools
To list all the root CAs across CA pools, do the following:
Console
-
In the Google Cloud console, go to the Certificate authoritiespage.
-
In the Filterfield, select Typein the list.
-
Set the value of Typeas Root.
All CAs with Typeset as Rootare listed.
gcloud
Run the following command:
gcloud privateca roots list --location LOCATION
Replace LOCATION with the location of the root CAs. For the complete list of locations, see Locations .
List root CAs in a particular CA pool
To list all the root CAs in a particular CA pool, use the following instructions:
Console
-
Go to the Certificate authoritiespage.
-
In the Filterfield, select Typein the list.
-
Set the value of Typeas Root.
-
In the Filterfield, select Poolin the list.
-
Click the name of the CA pool in the list.
gcloud
Run the following command:
gcloud privateca roots list --pool POOL_ID
--location LOCATION
Replace the following:
- POOL_ID : the name of the CA pool.
- LOCATION : the location of the CA pool. For the complete list of locations, see Locations .
To list root CAs across all CA pools and locations, omit the --pool
and --location
flags from the command.
For more information about the gcloud privateca roots list
command, see gcloud privateca roots list
.
List subordinate CAs
This section shows how to view the subordinate CAs.
List subordinate CAs across CA pools
To list all the subordinate CAs across CA pools, do the following:
Console
-
Go to the Certificate authoritiespage.
-
In the Filterfield, select Typein the list.
-
Set the value of Typeas Subordinate.
All CAs with Typeset as Subordinateare listed.
gcloud
Run the following command:
gcloud privateca subordinates list --location LOCATION
Replace LOCATION with the location of the subordinate CAs. For the complete list of locations, see Locations .
List subordinate CAs in a particular CA pool
To list all the subordinate CAs in a particular CA pool, do the following:
Console
-
Go to the Certificate authoritiespage.
-
In the Filterfield, select Typein the list.
-
Set the value of Typeas Subordinate.
-
In the Filterfield, select Poolin the list.
-
Click the name of the CA pool in the list.
gcloud
Run the following command:
gcloud privateca subordinates list --pool POOL_ID
--location LOCATION
Replace the following:
- POOL_ID : the name of the CA pool.
- LOCATION : the location of the CA pool. For the complete list of locations, see Locations .
For more information about the gcloud privateca subordinates list
command,
see gcloud privateca subordinates
list
.
List all CAs
To list all the CAs in a CA pool, use the following instructions:
Console
-
Go to the Certificate authoritiespage.
-
In the Filterfield, select Poolin the list.
-
Click the name of the CA pool in the list.
Alternatively, you can view the CAs in a particular CA pool from the CA pool managerpage by doing the following:
- Click the CA pool managertab.
- On the CA poolspage, click the name of the CA pool whose CAs you want to view.
On the CA pooldetails page, you can see the CAs listed under Certificate authorities in pool. You can filter the CAs based on type, tier, location, state, and more.
Go
To authenticate to CA Service, set up Application Default Credentials. For more information, see Set up authentication for a local development environment .
Java
To authenticate to CA Service, set up Application Default Credentials. For more information, see Set up authentication for a local development environment .
Python
To authenticate to CA Service, set up Application Default Credentials. For more information, see Set up authentication for a local development environment .
What's next
- Learn how to delete CAs .