Generate an SSH deploy key
Makes a new Ed25519 key pair for a git host and stores the private key sealed. Add the returned public key as a read-only deploy key on the repository.
Needs git.manage, which owners and admins hold. Available to MCP clients and the assistant.
seylo_session<token>application/json- body
name*string1 <= length <= 60host*stringHost the credential is for, for example "gitlab.com" or "git.example.com:2222".
^[A-Za-z0-9.-]+(:[0-9]{1,5})?$1 <= length <= 253knownHosts?stringknown_hosts lines; empty uses the built-in keys of well-known hosts.
length <= 20000Success.
application/json- response
id*stringPanel-issued id.
^[a-z0-9]{16}$name*string1 <= length <= 60kind*string|stringhost*stringHost the credential is for, for example "gitlab.com" or "git.example.com:2222".
^[A-Za-z0-9.-]+(:[0-9]{1,5})?$1 <= length <= 253username*string|nullpublicKey*string|nullfingerprint*string|nullknownHosts*stringorigin*string|string|stringusedBy*integer0 <= valuecreatedAt*stringdate-timeupdatedAt*stringdate-timecurl -X POST 'https://example.com/api/v1/git.generateSshKey' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "host": "string"}'{ "id": "string", "name": "string", "kind": "token", "host": "string", "username": "string", "publicKey": "string", "fingerprint": "string", "knownHosts": "string", "origin": "manual", "usedBy": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Delete a git credential POST
Deletes a git credential. Fails while a service's source still uses it. Needs `git.manage`, which owners and admins hold. Available to MCP clients and the assistant, after a person approves the call.
List git credentials GET
Lists stored git credentials by name, host and kind (never the secret), so people can pick one for a service's source. Any signed-in caller. Available to MCP clients and the assistant.