Introducing az.deployer().objectId in Bicep: Track object/principle id of user / Managed Identity

Read Original

This article details the introduction of the az.deployer().objectId function in Bicep v0.32, a tool for Azure infrastructure-as-code. It explains how the function retrieves the object ID (principal ID) of the user, service principal, or managed identity executing a deployment. The piece covers its importance for audit trails, governance, and tagging, and provides a practical code example for adding a 'created-by' tag to an Azure Storage Account.

Introducing az.deployer().objectId in Bicep: Track object/principle id of user / Managed Identity

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser