Created
December 31, 2019 05:02
-
-
Save eshleebien/779a20656b9d771d22fb3ec7d329b4dc to your computer and use it in GitHub Desktop.
For Kong Gateway in Kubernetes medium article
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: configuration.konghq.com/v1 | |
kind: KongPlugin | |
metadata: | |
name: http-jwt | |
labels: | |
global: "true" | |
plugin: jwt | |
--- | |
apiVersion: configuration.konghq.com/v1 | |
kind: KongConsumer | |
metadata: | |
name: api-consumer | |
username: api | |
custom_id: api-1 | |
--- | |
apiVersion: configuration.konghq.com/v1 | |
kind: KongCredential | |
metadata: | |
name: api-jwt | |
consumerRef: api-consumer | |
type: jwt | |
config: | |
algorithm: RS256 | |
key: https://{tenant-name}}.auth0.com/ | |
rsa_public_key: |- | |
-----BEGIN PUBLIC KEY----- | |
........................... | |
-----END PUBLIC KEY----- | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment