Method: projects.locations.caPools.certificateAuthorities.fetch
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
GET https://privateca.googleapis.com/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:fetch
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The resource name for this CertificateAuthority in the format projects/*/locations/*/caPools/*/certificateAuthorities/* .
Authorization requires the following IAM permission on the specified resource name :
privateca.certificateAuthorities.get
|
Request body
The request body must be empty.
Response body
Response message for CertificateAuthorityService.FetchCertificateAuthorityCsr
.
If successful, the response body contains data with the following structure:
JSON representation |
{
"pemCsr": string
} |
Fields |
pemCsr |
string
Output only. The PEM-encoded signed certificate signing request (CSR).
|
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
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 2025-05-30 UTC.
[[["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 2025-05-30 UTC."],[[["\u003cp\u003eThis document describes how to fetch a certificate signing request (CSR) from a subordinate CertificateAuthority in the AWAITING_USER_ACTIVATION state.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request to fetch the CSR is a GET request to a specific URL that includes the resource name of the CertificateAuthority, which can be found in the \u003ccode\u003ename\u003c/code\u003e parameter of the path.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and the response body will contain a JSON representation with a single field, \u003ccode\u003epemCsr\u003c/code\u003e, which holds the PEM-encoded CSR.\u003c/p\u003e\n"],["\u003cp\u003eTo use this API, the caller must have the \u003ccode\u003eprivateca.certificateAuthorities.get\u003c/code\u003e IAM permission on the specified CertificateAuthority resource.\u003c/p\u003e\n"],["\u003cp\u003eThe API call also requires \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,[]]