Hello,
is there a way to change the name of the header param (apikey) that is used for passing an api key via the header - so for example it’s my-api-key=secret-key? We’re using version 0.8 of the Kong Ingress.
Are you using the key-auth
plugin?
Yes.
key_names
config property.’
Thanks. For those who might find this later, here’s the full file
apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
name: plugin-key-auth
plugin: key-auth
config:
key_names:
- my-cool-api-key
- apikey