During Public Preview you can use the Team plan for free, and get an early-adopter discount at GA. Sign in
locally permissions
This page is part of the CLI Reference and is generated from the CLI's own help output, so it matches what locally permissions --help prints.
For more information see Minimum Necessary Permissions.
locally permissions
Print the Minimum Necessary Permissions role definition.
Print a custom role definition that grants the Azure RBAC actions behind the ARM requests in Locally's logs, the same role as the Dashboard's Minimum Necessary Permissions page. The role is printed as JSON in the shape the ARM API uses for a role definition's properties, or with --terraform as an azurerm_role_definition resource. Clear the logs first so the role covers only the run you care about. Requires a running Locally instance on the Standard plan or above. Examples: locally logs clear terraform apply && terraform destroy locally permissions locally permissions --terraform > role.tf
Usage
locally permissions [flags]
Flags
-h, --help[=true|false] help for permissions
--terraform[=true|false] Print the role as a Terraform azurerm_role_definition resource
During Public Preview you can use the Team plan for free, and get an early-adopter discount at GA. Sign in