Skip to content

Latest commit

 

History

History

operator-jwt-hmac

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Tyk Operator JWT HMAC Example

Deploys the Tyke Operator Tyk Operator and its dependency cert-manager. This will also stand up a Federation v1 API example using the tyk-operator.

The following API definitions will be created with this deployment:

  • JWT Authentication Example

Token

The token is generated using the shared key-phrase topsecretpassword

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.8TKYxZ1838CRmpf7cZ2tU673Jm1swSfb-Mgp9AwzIv0

You can test is by sending a request to the gateway at /jwt-hmac/get with the header Authorization: Bearer $token

Minikube

To run on minikube you must enable ingress addons

minikube start
minikube addons enable ingress

Example

./up.sh --deployments operator-jwt-hmac tyk-stack

Support

Item Status
OpenShift N/A
ARM N/A
CI Tests
Postman Test
SSL N/A

Supported Service Types with --expose flag

Item Status
Port Forward N/A
Ingress N/A
Load Balancer N/A
Icon Description
Supported and tested
⚠️ Not tested
Not supported
Not supported by the tool