The documentation for az monitor app-insights api-key create includes the following:
--read-properties
A space seperated list of names of read Roles for this API key to inherit.
--write-properties
A space seperated list of names of write Roles for this API key to inherit.
It should include the actual Role names that are valid (ReadTelemetry, AuthenticateSDKControlChannel; WriteAnnotations).
This information is in the script documentation at https://github.com/azure/azure-cli-extensions/blob/86680f7a592c659456feb605104809efa5fae353/src/application-insights/azext_applicationinsights/_help.py#L179-L184 but I shouldn't need to go look up the source code to find it out.
Additionally, there is a typo in "separated" that has been fixed in Azure/azure-cli-extensions#3957.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The documentation for
az monitor app-insights api-key createincludes the following:It should include the actual Role names that are valid (
ReadTelemetry,AuthenticateSDKControlChannel;WriteAnnotations).This information is in the script documentation at https://github.com/azure/azure-cli-extensions/blob/86680f7a592c659456feb605104809efa5fae353/src/application-insights/azext_applicationinsights/_help.py#L179-L184 but I shouldn't need to go look up the source code to find it out.
Additionally, there is a typo in "separated" that has been fixed in Azure/azure-cli-extensions#3957.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.