Get Keys

Get Keys

Use this API instead:

  • /oidc/oauth2/jwks

Defines the public keys used to verify the authenticity of the JWT token.

Access Policy

Role Access
Anonymous ✔️
Request
URI
GET
https://vra-interop-222-139.lvn.broadcom.net/csp/gateway/am/api/auth/keys
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns PublicKeyResponse of type(s) */*
{
    "alg": "string",
    "value": "string",
    "issuer": "string",
    "keys": [
        {}
    ]
}
string
alg
Optional

The algorithm associated with the public key.

string
value
Optional

The public key. Set in the case of pem format.

string
issuer
Optional

The issuer of the JWTs issued by the Identity service against which to validate the iss claim.

array of object
keys
Optional

The list of the currently valid public keys. Set in the case of jwks format. The model of this property is a Map of JsonWebKey objects.


400

Unsupported Public Key format.

Returns PublicKeyResponse of type(s) */*
"PublicKeyResponse Object"
string
alg
Optional

The algorithm associated with the public key.

string
value
Optional

The public key. Set in the case of pem format.

string
issuer
Optional

The issuer of the JWTs issued by the Identity service against which to validate the iss claim.

array of object
keys
Optional

The list of the currently valid public keys. Set in the case of jwks format. The model of this property is a Map of JsonWebKey objects.


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/csp/gateway/am/api/auth/keys