Azure Workload Identity
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.
Configuration
Annotate the Spice ServiceAccount with the Azure managed identity client ID:
Helm Chart
serviceAccount:
create: true
annotations:
azure.workload.identity/client-id: <AZURE_CLIENT_ID>SpicepodSet (Kubernetes Operator)
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: v1Prerequisites
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.
Last updated
Was this helpful?