API Key

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

Template

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

Sample config:

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

The API being called (api.service).

apiVersionstring

The version of the API (api.version).

apiOperationstring

The API operation is being called.

apiKeystring

API key used in API call.

timestampistio.mixer.v1.template.TimeStamp

Timestamp of API call.