• Elastic Cloud Server

ecs
  1. Help Center
  2. Elastic Cloud Server
  3. API Reference
  4. Appendix
  5. API Permissions
  6. SSH Key Management

SSH Key Management

API

API Function

Permissions

POST /v2/{tenant_id}/os-keypairs

Creates and imports an SSH key pair (native OpenStack API).

  • ecs:serverKeypairs:create

GET /v2/{tenant_id}/os-keypairs/{keypair_name}

Queries an SSH key pair (native OpenStack API).

  • ecs:serverKeypairs:get

GET /v2/{tenant_id}/os-keypairs

Queries SSH key pairs (native OpenStack API).

  • ecs:serverKeypairs:list

DELETE /v2/{tenant_id}/os-keypairs/{keypair_name}

Deletes an SSH key pair (native OpenStack API).

  • ecs:serverKeypairs:delete