create ssh-key
Accounts
create ssh-key
Creates a new SSH key and associates it with your account. The key will be automatically added to all your current instances.
CLI Usage: vastai create ssh-key <ssh_key>
POST
create ssh-key
Documentation Index
Fetch the complete documentation index at: https://vastai-80aa3a82-auto-openapi-preview-pr-4175.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key must be provided in the Authorization header
Body
application/json
The public SSH key to add (from .pub file)
Example:
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC..."