Files
spring-ai/cloud-providers/output/07-azure-managed-identity.txt

27 lines
1.5 KiB
Plaintext

# Azure OpenAI with a managed identity: no api-key, a bearer token from the identity endpoint
Environment: IDENTITY_ENDPOINT and IDENTITY_HEADER (what App Service injects), no AZURE_CLIENT_SECRET, no api-key.
profile azure (exit 0)
INFO audit - provider=azure principal=oid=00000000-0000-0000-0000-00000000a11c,tid=11111111-2222-3333-4444-555555555555 model=gpt-4o-mini outcome=OK inputTokens=11 outputTokens=6 ms=<n>
ANSWER 1: Hello from the Azure stub.
identity endpoint calls : 1
identity request query : api-version=2019-08-01&resource=https://cognitiveservices.azure.com
chat request path : POST /openai/v1/chat/completions
Authorization : Bearer eyJhbG... (3 segments, 262 chars)
token claim aud : https://cognitiveservices.azure.com
request body model : gpt-4o-mini
api-key header : null
profile azure-default (exit 0)
INFO audit - provider=azure principal=DefaultAzureCredential(unresolved) model=gpt-4o-mini outcome=OK inputTokens=11 outputTokens=6 ms=<n>
ANSWER 1: Hello from the Azure stub.
identity endpoint calls : 1
identity request query : api-version=2019-08-01&resource=https://cognitiveservices.azure.com
chat request path : POST /openai/v1/chat/completions
Authorization : Bearer eyJhbG... (3 segments, 262 chars)
token claim aud : https://cognitiveservices.azure.com
request body model : gpt-4o-mini
api-key header : null