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..."
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>
API key must be provided in the Authorization header
The public SSH key to add (from .pub file)
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC..."