repos

Set the active GPG key for the Repository.

Set the active GPG key for the Repository.

post/repos/{owner}/{identifier}/gpg/

Request body

gpg_passphrasestring

The GPG passphrase used for signing.

gpg_private_keystring required

The GPG private key.

Response

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

activeboolean

If selected this is the active key for this repository.

commentstring required
created_atstring date-time
defaultboolean

If selected this is the default key for this repository.

fingerprintstring

The long identifier used by GPG for this key.

fingerprint_shortstring
public_keystring

The public key given to repository users.

Changes

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