AI Azure Content Safety Policy

Authenticate with an Azure managed identity

Configure the AI Azure Content Safety policy to authenticate to Azure with a managed identity instead of an API key.

Prerequisites

  • An Azure subscription with access to Azure AI Content Safety.

  • An existing AI Model.

  • The data plane runs with an Azure managed identity that has access to Azure AI Content Safety.

Environment variables

  • CONTENT_SAFETY_URL: The full URL of the Azure AI Content Safety instance.

  • AZURE_CLIENT_ID: (Optional) The client ID of the user-assigned managed identity.

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!