REST Resource: jwks
Stay organized with collections
Save and categorize content based on your preferences.
Resource: PublicJwkSet
The currently active set of public keys that can be used to verify App Check tokens.
This object is a JWK set as specified by section 5 of RFC 7517.
For security, the response must not be cached for longer than six hours.
JSON representation |
{
"keys": [
{
object (PublicJwk )
}
]
} |
PublicJwk
JSON representation |
{
"kty": string,
"use": string,
"alg": string,
"kid": string,
"n": string,
"e": string
} |
Methods |
|
Returns a public JWK set as specified by RFC 7517 that can be used to verify App Check tokens. |
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 2024-04-05 UTC.
[null,null,["Last updated 2024-04-05 UTC."],[],[],null,["# REST Resource: jwks\n\nResource: PublicJwkSet\n----------------------\n\nThe currently active set of public keys that can be used to verify App Check tokens.\n\nThis object is a JWK set as specified by [section 5 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-5).\n\nFor security, the response **must not** be cached for longer than six hours.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------|\n| ``` { \"keys\": [ { object (/docs/reference/appcheck/rest/v1beta/jwks#PublicJwk) } ] } ``` |\n\n| Fields ||\n|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `keys[]` | `object (`[PublicJwk](/docs/reference/appcheck/rest/v1beta/jwks#PublicJwk)`)` The set of public keys. See [section 5.1 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-5). |\n\nPublicJwk\n---------\n\nA JWK as specified by [section 4 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4) and [section 6.3.1 of RFC 7518](https://tools.ietf.org/html/rfc7518#section-6.3.1).\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------|\n| ``` { \"kty\": string, \"use\": string, \"alg\": string, \"kid\": string, \"n\": string, \"e\": string } ``` |\n\n| Fields ||\n|-------|--------------------------------------------------------------------------------------------------|\n| `kty` | `string` See [section 4.1 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.1). |\n| `use` | `string` See [section 4.2 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.2). |\n| `alg` | `string` See [section 4.4 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.4). |\n| `kid` | `string` See [section 4.5 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.5). |\n| `n` | `string` See [section 6.3.1.1 of RFC 7518](https://tools.ietf.org/html/rfc7518#section-6.3.1.1). |\n| `e` | `string` See [section 6.3.1.2 of RFC 7518](https://tools.ietf.org/html/rfc7518#section-6.3.1.2). |\n\n| Methods ------- ||\n|----------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|\n| ### [get](/docs/reference/appcheck/rest/v1beta/jwks/get) | Returns a public JWK set as specified by [RFC 7517](https://tools.ietf.org/html/rfc7517) that can be used to verify App Check tokens. |"]]