v2

Swagger 2.02026-08-01331211921.0 KB
Pipelines

Get SSH key pair

Retrieve the repository SSH key pair excluding the SSH private key. The private key is a write only field and will never be exposed in the logs or the REST API.

get/repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair

Path parameters

workspacestring required

This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.

repo_slugstring required

The repository.

Response

The SSH key pair.

typestring required
private_keystring

The SSH private key. This value will be empty when retrieving the SSH key pair.

public_keystring

The SSH public key.