Pass Git credentials from Coder into Envbuilder

Hi, I have deployed Coder on K8s via Helm. As far as I understand after reading the docs, Coder provides an authentication method via a GitHub OAuth app, but this only helps users log in and register with the Coder server. When creating a workspace using Envbuilder, users still need to provide additional credentials in some way (such as ENVBUILDER_GIT_PASSWORD, ENVBUILDER_GIT_SSH_PRIVATE_KEY_PATH, or ENVBUILDER_GIT_SSH_PRIVATE_KEY_BASE64) to clone a private repository. This may not be convenient for users who have already logged in with GitHub or may "feel insecure" about pasting their sensitive credentials. In section Secrets did mention about SSH key pairs for each user, I've add this public key into my github account but I still cannot clone private repo within Envbuilder. How can user use this public key to be able to clone their repo when creating Coder workspace?
Secrets | Coder Docs
Use sensitive variables in your workspaces
From An unknown user
From An unknown user
2 Replies
Codercord
Codercord4w ago
<#1313057917674717196>
Category
Feature request
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Codercord
Codercord3w ago
@Luna Lovegood closed the thread.

Did you find this page helpful?