Method: projects.locations.clusters.getJwks

Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.

HTTP request

GET https://container.googleapis.com/v1beta1/{parent=projects/*/locations/*/clusters/*}/jwks

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The cluster (project, location, cluster id) to get keys for. Specified in the format 'projects/*/locations/*/clusters/*'.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517

JSON representation
{
  "keys": [
    {
      object (Jwk)
    }
  ],
  "cacheHeader": {
    object (HttpCacheControlResponseHeader)
  }
}
Fields
keys[]

object (Jwk)

The public component of the keys used by the cluster to sign token requests.

cacheHeader

object (HttpCacheControlResponseHeader)

OnePlatform automatically extracts this field and uses it to set the HTTP Cache-Control 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

string

Key Type.

alg

string

Algorithm.

use

string

Permitted uses for the public keys.

kid

string

Key ID.

n

string

Used for RSA keys.

e

string

Used for RSA keys.

x

string

Used for ECDSA keys.

y

string

Used for ECDSA keys.

crv

string

Used for ECDSA keys.

이 페이지가 도움이 되었나요? 평가를 부탁드립니다.

다음에 대한 의견 보내기...

Kubernetes Engine