|
Tool
|
Version
|
|---|---|
|
Azure CLI (az)
|
Latest
|
|
Terraform
|
>= 1.5
|
|
kubectl
|
Latest
|
|
Helm
|
>= 3.x
|
|
Rancher/Docker
|
>=1.20.0
|
|
Variable
|
Description
|
Output Key
|
|---|---|---|
|
ARM_CLIENT_ID
|
Azure Service Principal Client ID
|
appId
|
|
ARM_CLIENT_SECRET
|
Azure Service Principal Client Secret
|
password
|
|
ARM_TENANT_ID
|
Azure tenant ID
|
tenant_id
|
|
ARM_SUBSCRIPTION_ID
|
Azure Subscription ID for the target environment
|
subscription_id. From the service principal creation command.
|
az ad sp create-for-rbac \
--name "ptc-cbai-infra-sp" \
--role Contributor \
--scopes /subscriptions/<subscription_id>
az ad sp create-for-rbac \
--name "ptc-cbai-policy-sp" \
--role Contributor \
--scopes /subscriptions/
--scopes /subscriptions/>
{
"appId": "<client_id>",
"password": "<client_secret>",
"tenant": "<tenant_id>"
}
|
Role
|
Purpose
|
||
|---|---|---|---|
|
Storage Blob Data Contributor
|
Terraform state read and write, VNET flow logs
|
||
|
Network Contributor
|
VNet, Subnets, NSG, private DNS, private endpoint
|
||
|
Azure Kubernetes Service Contributor
|
AKS Cluster and node pools
|
||
|
Cognitive Services Contributor
|
Azure OpenAI account, model deployments, RAI policies
|
||
|
Managed Identity Contributor
|
User assigned identity and federated credentials
|
||
|
Managed Identity Operator
|
Assign the identity
|
||
|
Log Analytics Contributor
|
Log analytics workspace and container insights
|
||
|
User Access Administrator
|
Create and manage RBAC role assignments
|
|
Role
|
Scope
|
Purpose
|
|---|---|---|
|
Resource Policy Contributor
|
Subscription
|
Create policy definitions, initiatives, assignments, and exemptions.
|
|
Role
|
Scope
|
Purpose
|
|---|---|---|
|
Azure Kubernetes Service RBAC Writer
|
Resource Group and AKS
|
Deploy and manage workloads; recommended minimum access.
|
|
Azure Kubernetes Service RBAC Admin
|
Resource Group and AKS
|
Full administrative access to the cluster; use only if required.
|
|
Role
|
Scope
|
Purpose
|
|---|---|---|
|
AcrPull
|
ACR
|
Pull images for deployment.
|
|
AcrPush
|
ACR
|
Push images, if applicable.
|
|
Container Registry Contributor
|
Resource Group
|
Manage ACR resources.
|
|
Container Registry Data Access Configuration Administrator
|
Resource Group
|
Manage ACR tokens and access.
|
az feature register --namespace Microsoft.Compute --name EncryptionAtHost
az provider register --namespace Microsoft.Compute
az feature show --namespace Microsoft.Compute --name EncryptionAtHost --query properties.state -o tsv
Registered