I have the following
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: vecho-get
namespace: vadal
spec:
selector:
matchLabels:
app: vecho
action: ALLOW
rules:
- to:
- operation:
methods: ["GET"]
when:
- key: request.headers[x-vadal-key]
values: ["secret"]
Is there anyway to store “secret” somewhere common such as in K8s/Configuration/Secrets and then reference it here.
Many thanks.