Provide listKeys functionality through the api (similar to storage accounts)
We're using ARM templates to deploy Azure IaaS VM's, with the DSC extension defined in the template to onboard them to Automation DSC. In most situations, we're dedicating an automation account to each environment and creating it using the same ARM template(s) defined in the solution. At runtime, we'd like to be able to provision the automation account in ARM and then use listKeys functionality (as currently with storage accounts), to essentially onboard the VM to the automation account in the same operation.
This has been implemented and documentation is coming very soon. As soon as the documentation has been published this will be marked ‘complete’.
As a temporary reference, examples for the listkeys for the registration key and reference for registrationurl are available here:
In tandem, we will be documenting an update to the DSC Extension so that an external file is no longer required when using the extension to bootstrap servers to the Azure Automation DSC service.
Jeff Miles commented
Thank you very much for this - the link for the temporary reference was very useful and I eagerly look forward to official documentation.
Is there any update? Would like to user de listKeys function.
Any idea if this has been progressed?
any updates on when this it will be available?
Any update about listkeys functionalities within the automation account templates?
Michael Guirao commented
I'm really looking for this function in order to be able to fully automate deployment using DSC
Matthew Ratzke commented
Until this is available, the Azure Automation account is an incomplete solution, and requires manual steps.