Rapid-fire: ACR and Key Vault commands.
BeginnerConceptPolicy, Cost, AWS Mapping and Rapid-fire
Answer
az acr create -g rg -n acrshop --sku Standard --admin-enabled false
az acr login -n acrshop
az acr build -r acrshop -t shop/web:v1 .
az acr repository list -n acrshop -o table
az acr repository show-tags -n acrshop --repository shop/web --orderby time_desc -o table
az acr import -n acrshop --source docker.io/library/nginx:1.27 --image base/nginx:1.27
az keyvault create -n kv-shop -g rg --enable-rbac-authorization true
az keyvault secret set --vault-name kv-shop -n db-password --value "$(openssl rand -base64 24)"
az keyvault secret show --vault-name kv-shop -n db-password --query value -o tsv
az keyvault secret list-versions --vault-name kv-shop -n db-password -o table
az acr import is how we pull Docker Hub base images into ACR to avoid rate limits.
More on Policy, Cost, AWS Mapping and Rapid-fire
What is Azure Policy and what effects can a policy have?BeginnerAzure Policy vs RBAC: what is the difference?BeginnerShow an Azure Policy definition that denies public IPs on NICs.AdvancedHow do remediation tasks and policy exemptions work?AdvancedWhat is Microsoft Defender for Cloud?IntermediateWhat tools does Azure offer for cost management?Beginner