Downloading Public Key for an Asymmetric Version
Use the post /v1/cckm/google/keys/{id}/versions/{versionID}/download-public-key
API to download a public key for an asymmetric key version. The public key encoded in the PEM format is downloaded.
Syntax
Here, {id}
represents the resource ID of the parent Google Cloud key and {versionID}
represents the resource ID of the key version for which the public key is to be downloaded.
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
Example Request
Example Response
The public key of the specified key version is downloaded. The public key is encoded in the PEM format.
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.