Azure / Azure/Azure-Verified-Modules

[Module Proposal]: `avm/ptn/deployment-script/create-kv-ssh-key-pair`

Open
#764 24 comments 0 reactions 1 assignee Claimed by @vlahane View on GitHub
Class: Pattern Module :package: Language: Bicep :muscle: Needs: Attention :wave: Status: Owners Identified :metal: Type: New Module Proposal :bulb:
Dominant language
PowerShell
Stars
580
Forks
161
Avg merge
11h 3m
Merged PRs (30d)
15

Description

### Check for previous/existing GitHub issues/module proposals

- [X] I have checked for previous/existing GitHub issues/module proposals.

### Check this module doesn't already exist in the module indexes

- [X] I have checked for that this module doesn't already exist in the module indexes; or I'm proposing the module to be migrated from CARML/TFVM.

### Bicep or Terraform?

Bicep

### Module Classification?

Resource Module

### Module Name

avm/ptn/deployment-script/create-kv-ssh-key-pair

### Module Details

Why is the module needed?
When creating Virtual Machines in Azure one option for authentication is to use a SSH key pair.
In this scenario, the user has to locally generate and provide the public key.
This creates friction for scenarios where a SSH key is needed;

If the user does not have the correct local tooling
If the user does not have familiarity on how to correctly create the key.
Module path
deployment-scripts/create-kv-sshkeypair

Describe the module.
Takes a Key Vault name, and secret names (for the public/private parts) and uses a bash script with ssh-keygen to create a ssh key pair and then store it in the existing Azure Key Vault.

note: this is existing module from: https://github.com/Azure/bicep-registry-modules/tree/main/modules/deployment-scripts/create-kv-sshkeypair which will be migrated to AVM.

[Update] - Here's the latest version published: https://github.com/Azure/bicep-registry-modules/tree/deployment-scripts/create-kv-sshkeypair/1.0.2/modules/deployment-scripts/create-kv-sshkeypair

### Do you want to be the owner of this module?

Yes

### Module Owner's GitHub Username (handle)

_No response_

### (Optional) Secondary Module Owner's GitHub Username (handle)

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.