Updated on 2022-10-27 GMT+08:00

API Overview

By using the APIs provided by DEW, you can use all the functions of the service.

Type

Description

Key Management APIs

Create, query, modify, and delete keys.

Secret management APIs

Create, query, modify, and delete secrets.

Key Pair Management APIs

(Latest API version) Create, query, modify, and delete key pairs.

Historical APIs

(V2.1 and V2 API versions) Create, query, modify, and delete key pairs.

Historical APIs

Type

Description

Key pair management APIs (V2.1)

Queries the list of key pairs.

Queries details of a key pair.

Creates and imports a key pair, and allows you to manage the private key in the cloud.

Deletes an SSH key pair based on the key pair name.

Modifies description of a key pair of a specified name.

Key pair management APIs (V2.0)

Queries the list of key pairs.

Queries a key pair by its name.

Creates a key pair or import a public key to the cloud to generate a key pair.

After an SSH key pair is created, you need to download the private key to a local directory. Then, you can use this private key to log in to an ECS. For ECS security purposes, the private key can be downloaded only once. Keep it secure.

Deletes an SSH key pair based on the key pair name.

Copies a user's key pairs to the current user. The two users must belong to the same account.