credential_profile_save
Save or update passwordless SSH or GitHub credential profiles, storing only host, user, and key references. Rejects passwords and secrets to keep credentials secure.
Instructions
Create or update a passwordless credential reference profile. SSH profiles store only host, user, host-key verification, and an SSH-agent/private-key path. GitHub profiles reuse Git Credential Manager. Passwords, passphrases, private-key contents, and tokens are rejected and never persisted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Reusable profile name, for example production or github-main. | |
| host | No | SSH host or github.com for a GitHub profile. | |
| kind | Yes | ||
| port | No | ||
| agent | No | SSH agent socket/pipe path, or "auto" to use SSH_AUTH_SOCK and the Windows OpenSSH agent pipe. | |
| username | No | ||
| runnerPath | No | Optional absolute path to runbeacon-runner. | |
| makeDefault | No | Make the saved profile the default for its SSH or GitHub kind. | |
| hostKeySha256 | No | Pinned SSH host-key fingerprint. | |
| privateKeyPath | No | Path to an SSH private key. Prefer loading encrypted keys into ssh-agent instead of storing a passphrase. | |
| credentialSource | No | GitHub credentials come from the configured Git credential helper. | git |
| hostKeyAlgorithm | No | Pinned SSH server host-key algorithm. | |
| allowUnverifiedHostKey | No | Explicit insecure override when no fingerprint is available. |