Azure bastion should always create the local SSH private key
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 7
- Forks
- 2
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 3
Description
Currently, azure bastion only creates the private key (~/.ssh/{name}) on first run (or when the jumpbox private key has changed). This means that subsequent engineers have to manually run the command to get the bastion SSH key for use with the proxy.
We could probably use something like https://www.pulumi.com/registry/packages/local/api-docs/file/ to better handle the local file creation. Note that this requires us to add terraform providers though which is non-trivial (but also probably necessary in the long run).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the Azure Bastion command and the existing logic that creates ~/.ssh/{name}; start by tracing when that logic runs and review the proposed Pulumi local file provider and Terraform provider implications. Done means subsequent engineers receive the local Bastion SSH private key without manually rerunning a command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, go, terraform
- Domain
- cloud, devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100