Save Bitbucket Pipelines SSH public key on pipeline filesystem

Issue #16772 open
Alexandre Maciel created an issue

The same way we keep the private key on /opt/atlassian/pipelines/agent/data/id_rsa, we could have the public key. This is useful when provisioning virtual machines: the public key can be specified, so Bitbucket Pipelines can connect and config the virtual machine.

Today's alternative is to manually add the key to the repository or expose it as an environment environment.

Comments (2)

  1. aneita staff
    • changed status to open

    Hi @amaciel81,

    Thanks for reaching out and for the suggestion.

    I'll open this issue to gauge the interest of other users on this functionality. Given our current priorities however, this is unlikely to be something that we do anytime soon.

    As you mentioned, a workaround is to manually add the key to the repository or add it as an environment variable.

  2. Log in to comment