SSH Key API

list_ssh_keys

vessl.list_ssh_keys()

List ssh public keys.

Example

vessl.list_ssh_keys()

create_ssh_key

vessl.create_ssh_key(
   key_path: str, key_name: str, ssh_public_key_value: str
)

Create a SSH public key.

Args

  • key_path (str) : SSH public key path.

  • key_name (str) : SSH public key name,

  • ssh_public_key_value (str) : SSH public key value.

Example


delete_ssh_key

Delete the ssh public key.

Args

  • key_id (int) : Key ID.

Example

Last updated