API Key

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

Example config:

apiVersion: "config.istio.io/v1alpha2"
kind: instance
metadata:
  name: validate-apikey
  namespace: istio-system
spec:
  compiledTemplate: apikey
  params:
    api: api.service | ""
    api_version: api.version | ""
    api_operation: api.operation | ""
    api_key: api.key | ""
    timestamp: request.time

Template

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

FieldTypeDescriptionRequired
apistring

The API being called (api.service).

No
apiVersionstring

The version of the API (api.version).

No
apiOperationstring

The API operation is being called.

No
apiKeystring

API key used in API call.

No
timestampTimeStamp

Timestamp of API call.

No
Was this information useful?
Do you have any suggestions for improvement?

Thanks for your feedback!