| description | Configure Azure Workload Identity for Spice.ai on AKS. |
|---|
Azure Workload Identity allows Spice.ai pods on Azure Kubernetes Service (AKS) to authenticate with Azure services (Blob Storage, Key Vault, etc.) using federated credentials.
Annotate the Spice ServiceAccount with the Azure managed identity client ID:
serviceAccount:
create: true
annotations:
azure.workload.identity/client-id: <AZURE_CLIENT_ID>apiVersion: spice.ai/v1
kind: SpicepodSet
metadata:
name: my-spicepod
spec:
replicas: 1
service_account:
enabled: true
create: true
annotations:
azure.workload.identity/client-id: <AZURE_CLIENT_ID>
spicepod: |
name: my-spicepod
kind: Spicepod
version: v1- Enable the Azure Workload Identity add-on on your AKS cluster.
- Create a managed identity and federated credential.
- Assign the necessary roles to the managed identity for the Azure resources your Spicepod accesses.
See Azure Workload Identity documentation for full setup instructions.