Skip to main content

Create Or Update Repo SSHKey

Create or update the repository SSH key pair. The private key will be set as a default SSH identity in your build container.

External Documentation

To learn more, visit the Bitbucket documentation.

Parameters

ParameterDescription
Private KeyThe SSH private key. This value will be empty when retrieving the SSH key pair.
Public KeyThe SSH public key.
Repo SlugThe repository.
Workspace SlugThis can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.

Example Output

{
"private_key": "The SSH private key. This value will be empty when retrieving the SSH key pair.",
"public_key": "The SSH public key.",
"type": "string"
}

Workflow Library Example

Create or Update Repo Sshkey with Bitbucket and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop