repos

Set the active RSA key for the Repository.

Set the active RSA key for the Repository.

post/repos/{owner}/{identifier}/rsa/

Request body

rsa_passphrasestring

The RSA passphrase used for signing.

rsa_private_keystring required

The RSA private key.

Response

The provided RSA key is the same as the current RSA key.

activeboolean

If selected this is the active key for this repository.

created_atstring date-time
defaultboolean

If selected this is the default key for this repository.

fingerprintstring

The long identifier used by RSA for this key.

fingerprint_shortstring
public_keystring

The public key given to repository users.

ssh_fingerprintstring nullable

The SSH fingerprint used by RSA for this key.

Changes

No recorded changes to this endpoint across all 1 revision of this API.