Skip to content

Authentication

The AI Foundry Hub API uses API keys for authentication. Create, manage, and learn more about keys in your API Keys.

Remember that your API key is a secret! Do not share it with others or expose it in client-side code (browsers, apps). Store keys securely (environment variables or a key management service).

API keys must be provided via HTTP Bearer authentication:

Authorization: Bearer AI_FOUNDRY_HUB_API_KEY