Credentials

Add an SSH key

Validates and adds an SSH public key to the authenticated account. Requires authenticated authority and enforces current resource policy.

post/api/auth/ssh-keys/

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token

Request body

titlestring required
publicKeystring required
usage'authentication' | 'signing' | 'both'

Response

Response for status 200

Changes

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