Skip to content

Commit

Permalink
#95 Authorization done
Browse files Browse the repository at this point in the history
  • Loading branch information
suyashporedi committed May 4, 2020
1 parent 9a88088 commit 6de0595
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Istio authentication and authorization/auth-policy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: authentication.istio.io/v1alpha1
kind: Policy
metadata:
name: auth-policy
spec:
targets:
- name: ui
- name: um-api
origins:
- jwt:
issuer: "https://kdb454.auth0.com/"
jwksUri: "https://kdb454.auth0.com/.well-known/jwks.json"
principalBinding: USE_ORIGIN
8 changes: 8 additions & 0 deletions Istio authentication and authorization/tls-stric.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: "security.istio.io/v1beta1"
kind: "PeerAuthentication"
metadata:
name: "default"
namespace: "istio-system"
spec:
mtls:
mode: PERMISSIVE

0 comments on commit 6de0595

Please sign in to comment.