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
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