Gets the public component of the cluster signing keys in JSON Web Key format.
HTTP request
GET https://container.googleapis.com/v1beta1/{parent=projects/*/locations/*/clusters/*}/jwks
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The cluster (project, location, cluster name) to get keys for. Specified in the format |
Request body
The request body must be empty.
Response body
GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "keys": [ { object ( |
Fields | |
---|---|
keys[] |
The public component of the keys used by the cluster to sign token requests. |
cacheHeader |
For HTTP requests, this field is automatically extracted into the Cache-Control HTTP header. |
Jwk
Jwk is a JSON Web Key as specified in RFC 7517
JSON representation |
---|
{ "kty": string, "alg": string, "use": string, "kid": string, "n": string, "e": string, "x": string, "y": string, "crv": string } |
Fields | |
---|---|
kty |
Key Type. |
alg |
Algorithm. |
use |
Permitted uses for the public keys. |
kid |
Key ID. |
n |
Used for RSA keys. |
e |
Used for RSA keys. |
x |
Used for ECDSA keys. |
y |
Used for ECDSA keys. |
crv |
Used for ECDSA keys. |