posit-dev / posit-dev/ptd

Azure bastion should always create the local SSH private key

Open
#33 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

azure
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.