Microsoft Azure

Restrict how your agents can use Microsoft Azure.

Require agents to confirm every role assignment and deployment, or let them work only in the subscriptions and groups you pick.

Microsoft AzureOps agent · Acmekc_…c21e
PermissionAccessSubscriptions and groupsOnly when
Virtual machines · Read
virtualMachines.read
Allowed
All subscriptions
Any request
Virtual machines · Restart
virtualMachines.restart
Ask meWaits up to 24 hours
Production / web-*
Any request
Deployments · Validate
deployments.validate
Allowed
Dev
Any request
Certificate profiles · Create
certificateProfiles.create
Ask meWaits up to 24 hours
Production / signing
Any request
Role assignments · Create
roleAssignments.create
Ask meWaits up to 24 hours
Production
Any request
Credentials · Add
credentials.add
Ask meWaits up to 24 hoursWhole tenantAny request
Allowed goes straight throughAsk me waits for your confirmation
What you can control

Permissions

Each row of a key's Microsoft Azure access is one of these, set to Allowed or Ask me. Azure permissions cover all your subscriptions, the ones you pick or only some of their resource groups. App registration permissions cover your whole tenant.

PermissionName in the API
Subscriptions · Listsubscriptions.list
Role definitions · ReadroleDefinitions.read
Subscription · Readsubscription.read
Resource providers · Readproviders.read
Resource providers · Registerproviders.register
Resource groups · ListresourceGroups.list
Operation status · Readoperations.read
Cost · Readcost.read
Activity log · ReadactivityLog.read
Resource group · ReadresourceGroup.read
Resource group · Create and updateresourceGroup.write
Resource group · DeleteresourceGroup.delete
Other resources · Readresources.read
Deployments · Readdeployments.read
Deployments · Validatedeployments.validate
Deployments · Createdeployments.create
Deployments · Cancel and deletedeployments.cancel
Role assignments · ReadroleAssignments.read
Role assignments · CreateroleAssignments.create
Role assignments · DeleteroleAssignments.delete
Code signing accounts · ReadcodeSigningAccounts.read
Code signing accounts · Create and updatecodeSigningAccounts.write
Code signing accounts · DeletecodeSigningAccounts.delete
Certificate profiles · ReadcertificateProfiles.read
Certificate profiles · CreatecertificateProfiles.create
Certificate profiles · DeletecertificateProfiles.delete
Certificate profiles · RevokecertificateProfiles.revoke
Virtual machines · ReadvirtualMachines.read
Virtual machines · Create and updatevirtualMachines.write
Virtual machines · StartvirtualMachines.start
Virtual machines · StopvirtualMachines.stop
Virtual machines · RestartvirtualMachines.restart
Virtual machines · Run commandsvirtualMachines.runCommands
Virtual machines · DeletevirtualMachines.delete
Disks · Readdisks.read
Disks · Create and updatedisks.write
Disks · Exportdisks.export
Disks · Deletedisks.delete
Networks · Readnetworks.read
Networks · Changenetworks.write
Networks · Deletenetworks.delete
Network security groups · ReadnetworkSecurityGroups.read
Network security groups · ChangenetworkSecurityGroups.write
Network security groups · DeletenetworkSecurityGroups.delete
Web apps · ReadwebApps.read
Web apps · Create and updatewebApps.write
Web apps · Start, stop and restartwebApps.power
Web apps · Swap slotswebApps.swap
Web apps · Keys · ListwebApps.keys
Web apps · DeletewebApps.delete
App settings · ReadappSettings.read
App settings · ChangeappSettings.write
App Service plans · ReadappServicePlans.read
App Service plans · ChangeappServicePlans.write
App Service plans · DeleteappServicePlans.delete
Storage accounts · ReadstorageAccounts.read
Storage accounts · Create and updatestorageAccounts.write
Storage accounts · Keys · ListstorageAccounts.keys
Storage accounts · Keys · RegeneratestorageAccounts.regenerateKey
Storage accounts · DeletestorageAccounts.delete
Blob containers · ReadblobContainers.read
Blob containers · ChangeblobContainers.write
Blob containers · DeleteblobContainers.delete
AI services accounts · ReadaiAccounts.read
AI services accounts · Create and updateaiAccounts.write
AI services accounts · Keys · ListaiAccounts.keys
AI services accounts · Keys · RegenerateaiAccounts.regenerateKey
AI services accounts · DeleteaiAccounts.delete
Model deployments · ReadmodelDeployments.read
Model deployments · ChangemodelDeployments.write
Model deployments · DeletemodelDeployments.delete
Key vaults · ReadkeyVaults.read
Key vaults · Create and updatekeyVaults.write
Key vaults · Change accesskeyVaults.access
Key vaults · DeletekeyVaults.delete
DNS zones · ReaddnsZones.read
DNS zones · Create and updatednsZones.write
DNS zones · DeletednsZones.delete
DNS records · ReaddnsRecords.read
DNS records · ChangednsRecords.write
DNS records · DeletednsRecords.delete
Metrics · Readmetrics.read
Applications · Readapplications.read
Applications · Createapplications.create
Applications · Updateapplications.update
Applications · Deleteapplications.delete
Service principals · ReadservicePrincipals.read
Service principals · CreateservicePrincipals.create
Service principals · UpdateservicePrincipals.update
Service principals · DeleteservicePrincipals.delete
Credentials · Addcredentials.add
Credentials · Removecredentials.remove
Users · Readusers.read
Groups · Readgroups.read
Custom rule: a method and a path that you choose.
Connect a Microsoft Entra app with a client secret. Our instructions walk you through the portal or the Azure CLI, and KeyContain checks the secret before saving it.
Rows cover all your subscriptions, the ones you pick, or only some resource groups in them, such as web-*.
Keys that Azure hands back, such as storage account keys, AI services keys and app settings, reach the agent as REDACTED_BY_KEYCONTAIN. The agent can still rotate them and change settings.
Owner and other roles that hand out access, deployments that give roles, and new app credentials show in red before you approve them.
KeyContain refuses batches and any change to the app it signs in as, so an agent can't get past your rules.

Give your agents Microsoft Azure keys that fit.