You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by Grant-Rc March 29, 2023
Hello guys,
Would it be possible to have a module for the creation of 'sshPublicKeys' resource if not exist?
Deploying a VM for the team using the module virtualMachines and found that they need a new sshkey created. Ideally this would be all self-contained rather than creating the ssh key in a different pipeline.
This will create the SSH pair and then we can pass the details up to the Microsoft.Compute/virtualMachines deployment. The extra steep would be where the private key gets stored, and I assume that could be solved by storing it in a keyvault.
Im going to try and put this together now if you would like to see the end resault?
Update:
The text was updated successfully, but these errors were encountered:
Discussed in #3059
Originally posted by Grant-Rc March 29, 2023
Hello guys,
Would it be possible to have a module for the creation of 'sshPublicKeys' resource if not exist?
Deploying a VM for the team using the module virtualMachines and found that they need a new sshkey created. Ideally this would be all self-contained rather than creating the ssh key in a different pipeline.
resource symbolicname 'Microsoft.Compute/sshPublicKeys@2022-11-01' = if (empty(publicKeys)) { name: 'string' location: location tags: { tagName1: 'tagValue1' tagName2: 'tagValue2' } }
This will create the SSH pair and then we can pass the details up to the Microsoft.Compute/virtualMachines deployment. The extra steep would be where the private key gets stored, and I assume that could be solved by storing it in a keyvault.
Im going to try and put this together now if you would like to see the end resault?
Update:
The text was updated successfully, but these errors were encountered: