Get an SSH key for a connection
fastero_create_ssh_keyGet the SSH key for a new connection to a database behind an SSH bastion (jump host), before fastero_create_connection; a database Fastero reaches directly needs none. Fastero makes one Ed25519 key per connection and keeps its private half. Returns sshKeyId, the public key (sshPublicKey) and, when host and port are given, authorizedKeysLine: the line for the SSH user's ~/.ssh/authorized_keys on the bastion, which lets the key reach only that database through the bastion and nothing else. fastero_create_connection then takes the sshKeyId in creds. The same key comes back until a connection uses it or a week has passed. Owners, admins and editors of the organisation can get one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | The database's host as the bastion reaches it, to fill in the line; a private address or an internal name is fine. For Oracle, its IP address. | |
| port | No | The database's port, to fill in the line. |