API Key

The apikey template represents a single API key, which is used for authorization checks.

Example config:

  1. apiVersion: "config.istio.io/v1alpha2"
  2. kind: instance
  3. metadata:
  4. name: validate-apikey
  5. namespace: istio-system
  6. spec:
  7. compiledTemplate: apikey
  8. params:
  9. api: api.service | ""
  10. api_version: api.version | ""
  11. api_operation: api.operation | ""
  12. api_key: api.key | ""
  13. timestamp: request.time

Template

The apikey template represents a single API key, used to authorize API calls.

FieldTypeDescriptionRequired
apistringThe API being called (api.service).No
apiVersionstringThe version of the API (api.version).No
apiOperationstringThe API operation is being called.No
apiKeystringAPI key used in API call.No
timestampTimeStampTimestamp of API call.No