AI GCP Model Armor Policy

AI GCP Model Armor configuration

Configuration for enforcing content safety policies on LLM requests and responses using GCP Model Armor.

Environment variables

  • GCP_SERVICE_ACCOUNT_JSON: GCP service account credentials in JSON format

  • GCP_PROJECT_ID: GCP project identifier

  • GCP_LOCATION_ID: GCP location identifier

  • GCP_TEMPLATE_ID: Guardrail template identifier

Set up the policy

Attach the policy

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!