azureautomation / automation-packs

Collections of Automation resources that can include runbooks, configurations, modules, credentials, schedules, variables, connections, certificates, jobs, compilation jobs, and nodes.
MIT License
75 stars 42 forks source link

Obtaining the Azure automation reg key via ARM #7

Open mshorrosh opened 8 years ago

mshorrosh commented 8 years ago

Hi

Is there a way to obtain the registration key for AA via ARM to pass to the VM DSC Extension instead of running powershell to deploy AA and query for reg key and pass that in as a parameter?

Thanks, Matt

jodoglevy commented 8 years ago

Hi,

Have you tried https://azure.microsoft.com/en-us/documentation/articles/resource-group-template-functions/#listkeys?

mshorrosh commented 8 years ago

Hi,

I saw this but the documentation said it was for storage accounts, so I didn't think it would work for pulling Azure Automation's keys. I will give it a shot though later and report back if I have any luck.

Matt

jodoglevy commented 8 years ago

I just checked and looks like this isn't possible right now. Will open a bug internally to fix this, in the same way listKeys works for storage accounts.

mshorrosh commented 8 years ago

Hi Joe

Is there any updates on obtaining this reg key via arm rgt functions?

Matt

jodoglevy commented 8 years ago

Not yet. I just pinged our dev managers again to request we get this done.

burn2delete commented 8 years ago

+1

burn2delete commented 8 years ago

Is there somewhere else we should be tracking the status of this?

jodoglevy commented 8 years ago

Yes, you can track the issue here: https://feedback.azure.com/forums/246290-automation/suggestions/12964470-provide-listkeys-functionality-through-the-api-si. Please upvote the request at that link if this is an important scenario for you so we can better prioritize it.

dpurge commented 7 years ago

No progress on this yet?