published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
ECS key pair (Keypair) is generated by default using the RSA 2048-bit encryption algorithm, producing a pair of associated keys: a public key and a private key. The public key is used to encrypt data, converting plaintext into unreadable ciphertext. The private key is the sole credential for decryption, restoring ciphertext to its original plaintext, ensuring secure authentication and data transmission.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const eCSKeypairDemo = new volcenginecc.ecs.Keypair("ECSKeypairDemo", {
keyPairName: "ECSKeypairDemo",
projectName: "default",
description: "ECSKeypairDemo Description",
tags: [{
key: "env",
value: "test",
}],
});
import pulumi
import pulumi_volcenginecc as volcenginecc
e_cs_keypair_demo = volcenginecc.ecs.Keypair("ECSKeypairDemo",
key_pair_name="ECSKeypairDemo",
project_name="default",
description="ECSKeypairDemo Description",
tags=[{
"key": "env",
"value": "test",
}])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/ecs"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ecs.NewKeypair(ctx, "ECSKeypairDemo", &ecs.KeypairArgs{
KeyPairName: pulumi.String("ECSKeypairDemo"),
ProjectName: pulumi.String("default"),
Description: pulumi.String("ECSKeypairDemo Description"),
Tags: ecs.KeypairTagArray{
&ecs.KeypairTagArgs{
Key: pulumi.String("env"),
Value: pulumi.String("test"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var eCSKeypairDemo = new Volcenginecc.Ecs.Keypair("ECSKeypairDemo", new()
{
KeyPairName = "ECSKeypairDemo",
ProjectName = "default",
Description = "ECSKeypairDemo Description",
Tags = new[]
{
new Volcenginecc.Ecs.Inputs.KeypairTagArgs
{
Key = "env",
Value = "test",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.ecs.Keypair;
import com.volcengine.volcenginecc.ecs.KeypairArgs;
import com.pulumi.volcenginecc.ecs.inputs.KeypairTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var eCSKeypairDemo = new Keypair("eCSKeypairDemo", KeypairArgs.builder()
.keyPairName("ECSKeypairDemo")
.projectName("default")
.description("ECSKeypairDemo Description")
.tags(KeypairTagArgs.builder()
.key("env")
.value("test")
.build())
.build());
}
}
resources:
eCSKeypairDemo:
type: volcenginecc:ecs:Keypair
name: ECSKeypairDemo
properties:
keyPairName: ECSKeypairDemo
projectName: default
description: ECSKeypairDemo Description
tags:
- key: env
value: test
Create Keypair Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Keypair(name: string, args: KeypairArgs, opts?: CustomResourceOptions);@overload
def Keypair(resource_name: str,
args: KeypairArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Keypair(resource_name: str,
opts: Optional[ResourceOptions] = None,
key_pair_name: Optional[str] = None,
description: Optional[str] = None,
instance_ids: Optional[Sequence[str]] = None,
project_name: Optional[str] = None,
public_key: Optional[str] = None,
tags: Optional[Sequence[KeypairTagArgs]] = None)func NewKeypair(ctx *Context, name string, args KeypairArgs, opts ...ResourceOption) (*Keypair, error)public Keypair(string name, KeypairArgs args, CustomResourceOptions? opts = null)
public Keypair(String name, KeypairArgs args)
public Keypair(String name, KeypairArgs args, CustomResourceOptions options)
type: volcenginecc:ecs:Keypair
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args KeypairArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args KeypairArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args KeypairArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KeypairArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KeypairArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var keypairResource = new Volcenginecc.Ecs.Keypair("keypairResource", new()
{
KeyPairName = "string",
Description = "string",
InstanceIds = new[]
{
"string",
},
ProjectName = "string",
PublicKey = "string",
Tags = new[]
{
new Volcenginecc.Ecs.Inputs.KeypairTagArgs
{
Key = "string",
Value = "string",
},
},
});
example, err := ecs.NewKeypair(ctx, "keypairResource", &ecs.KeypairArgs{
KeyPairName: pulumi.String("string"),
Description: pulumi.String("string"),
InstanceIds: pulumi.StringArray{
pulumi.String("string"),
},
ProjectName: pulumi.String("string"),
PublicKey: pulumi.String("string"),
Tags: ecs.KeypairTagArray{
&ecs.KeypairTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
var keypairResource = new Keypair("keypairResource", KeypairArgs.builder()
.keyPairName("string")
.description("string")
.instanceIds("string")
.projectName("string")
.publicKey("string")
.tags(KeypairTagArgs.builder()
.key("string")
.value("string")
.build())
.build());
keypair_resource = volcenginecc.ecs.Keypair("keypairResource",
key_pair_name="string",
description="string",
instance_ids=["string"],
project_name="string",
public_key="string",
tags=[{
"key": "string",
"value": "string",
}])
const keypairResource = new volcenginecc.ecs.Keypair("keypairResource", {
keyPairName: "string",
description: "string",
instanceIds: ["string"],
projectName: "string",
publicKey: "string",
tags: [{
key: "string",
value: "string",
}],
});
type: volcenginecc:ecs:Keypair
properties:
description: string
instanceIds:
- string
keyPairName: string
projectName: string
publicKey: string
tags:
- key: string
value: string
Keypair Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Keypair resource accepts the following input properties:
- Key
Pair stringName - Key pair name. Must not duplicate existing names. Length must be between 2 and 64 characters. Periods ('.') can be used to separate the name into segments. Each segment can contain uppercase and lowercase letters, numbers, or hyphens ('-'). The name cannot start or end with '-' or '.', and cannot contain consecutive '-' or '.'.
- Description string
- Description of the key pair. The default value is an empty string. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, period ('.'), space, underscore ('_'), hyphen ('-'), equals sign ('='), English comma (','), Chinese comma (','), and Chinese period ('。'). Length must not exceed 255 characters.
- Instance
Ids List<string> - Instance ID for the operation.
- Project
Name string - Project to which the resource belongs. Each resource can belong to only one project. Can only contain letters, numbers, underscore ('_'), period ('.'), and hyphen ('-'). Length must not exceed 64 characters.
- Public
Key string - Public key information of the key pair.
-
List<Volcengine.
Keypair Tag>
- Key
Pair stringName - Key pair name. Must not duplicate existing names. Length must be between 2 and 64 characters. Periods ('.') can be used to separate the name into segments. Each segment can contain uppercase and lowercase letters, numbers, or hyphens ('-'). The name cannot start or end with '-' or '.', and cannot contain consecutive '-' or '.'.
- Description string
- Description of the key pair. The default value is an empty string. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, period ('.'), space, underscore ('_'), hyphen ('-'), equals sign ('='), English comma (','), Chinese comma (','), and Chinese period ('。'). Length must not exceed 255 characters.
- Instance
Ids []string - Instance ID for the operation.
- Project
Name string - Project to which the resource belongs. Each resource can belong to only one project. Can only contain letters, numbers, underscore ('_'), period ('.'), and hyphen ('-'). Length must not exceed 64 characters.
- Public
Key string - Public key information of the key pair.
-
[]Keypair
Tag Args
- key
Pair StringName - Key pair name. Must not duplicate existing names. Length must be between 2 and 64 characters. Periods ('.') can be used to separate the name into segments. Each segment can contain uppercase and lowercase letters, numbers, or hyphens ('-'). The name cannot start or end with '-' or '.', and cannot contain consecutive '-' or '.'.
- description String
- Description of the key pair. The default value is an empty string. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, period ('.'), space, underscore ('_'), hyphen ('-'), equals sign ('='), English comma (','), Chinese comma (','), and Chinese period ('。'). Length must not exceed 255 characters.
- instance
Ids List<String> - Instance ID for the operation.
- project
Name String - Project to which the resource belongs. Each resource can belong to only one project. Can only contain letters, numbers, underscore ('_'), period ('.'), and hyphen ('-'). Length must not exceed 64 characters.
- public
Key String - Public key information of the key pair.
-
List<Keypair
Tag>
- key
Pair stringName - Key pair name. Must not duplicate existing names. Length must be between 2 and 64 characters. Periods ('.') can be used to separate the name into segments. Each segment can contain uppercase and lowercase letters, numbers, or hyphens ('-'). The name cannot start or end with '-' or '.', and cannot contain consecutive '-' or '.'.
- description string
- Description of the key pair. The default value is an empty string. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, period ('.'), space, underscore ('_'), hyphen ('-'), equals sign ('='), English comma (','), Chinese comma (','), and Chinese period ('。'). Length must not exceed 255 characters.
- instance
Ids string[] - Instance ID for the operation.
- project
Name string - Project to which the resource belongs. Each resource can belong to only one project. Can only contain letters, numbers, underscore ('_'), period ('.'), and hyphen ('-'). Length must not exceed 64 characters.
- public
Key string - Public key information of the key pair.
-
Keypair
Tag[]
- key_
pair_ strname - Key pair name. Must not duplicate existing names. Length must be between 2 and 64 characters. Periods ('.') can be used to separate the name into segments. Each segment can contain uppercase and lowercase letters, numbers, or hyphens ('-'). The name cannot start or end with '-' or '.', and cannot contain consecutive '-' or '.'.
- description str
- Description of the key pair. The default value is an empty string. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, period ('.'), space, underscore ('_'), hyphen ('-'), equals sign ('='), English comma (','), Chinese comma (','), and Chinese period ('。'). Length must not exceed 255 characters.
- instance_
ids Sequence[str] - Instance ID for the operation.
- project_
name str - Project to which the resource belongs. Each resource can belong to only one project. Can only contain letters, numbers, underscore ('_'), period ('.'), and hyphen ('-'). Length must not exceed 64 characters.
- public_
key str - Public key information of the key pair.
-
Sequence[Keypair
Tag Args]
- key
Pair StringName - Key pair name. Must not duplicate existing names. Length must be between 2 and 64 characters. Periods ('.') can be used to separate the name into segments. Each segment can contain uppercase and lowercase letters, numbers, or hyphens ('-'). The name cannot start or end with '-' or '.', and cannot contain consecutive '-' or '.'.
- description String
- Description of the key pair. The default value is an empty string. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, period ('.'), space, underscore ('_'), hyphen ('-'), equals sign ('='), English comma (','), Chinese comma (','), and Chinese period ('。'). Length must not exceed 255 characters.
- instance
Ids List<String> - Instance ID for the operation.
- project
Name String - Project to which the resource belongs. Each resource can belong to only one project. Can only contain letters, numbers, underscore ('_'), period ('.'), and hyphen ('-'). Length must not exceed 64 characters.
- public
Key String - Public key information of the key pair.
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the Keypair resource produces the following output properties:
- Created
Time string - Creation time of the key pair.
- Finger
Print string - Fingerprint of the key pair. The public key fingerprint format is defined by RFC4716 and uses the MD5 hash algorithm.
- Id string
- The provider-assigned unique ID for this managed resource.
- Key
Pair stringId - Unique ID of the key pair.
- Updated
Time string - Update time of the key pair.
- Created
Time string - Creation time of the key pair.
- Finger
Print string - Fingerprint of the key pair. The public key fingerprint format is defined by RFC4716 and uses the MD5 hash algorithm.
- Id string
- The provider-assigned unique ID for this managed resource.
- Key
Pair stringId - Unique ID of the key pair.
- Updated
Time string - Update time of the key pair.
- created
Time String - Creation time of the key pair.
- finger
Print String - Fingerprint of the key pair. The public key fingerprint format is defined by RFC4716 and uses the MD5 hash algorithm.
- id String
- The provider-assigned unique ID for this managed resource.
- key
Pair StringId - Unique ID of the key pair.
- updated
Time String - Update time of the key pair.
- created
Time string - Creation time of the key pair.
- finger
Print string - Fingerprint of the key pair. The public key fingerprint format is defined by RFC4716 and uses the MD5 hash algorithm.
- id string
- The provider-assigned unique ID for this managed resource.
- key
Pair stringId - Unique ID of the key pair.
- updated
Time string - Update time of the key pair.
- created_
time str - Creation time of the key pair.
- finger_
print str - Fingerprint of the key pair. The public key fingerprint format is defined by RFC4716 and uses the MD5 hash algorithm.
- id str
- The provider-assigned unique ID for this managed resource.
- key_
pair_ strid - Unique ID of the key pair.
- updated_
time str - Update time of the key pair.
- created
Time String - Creation time of the key pair.
- finger
Print String - Fingerprint of the key pair. The public key fingerprint format is defined by RFC4716 and uses the MD5 hash algorithm.
- id String
- The provider-assigned unique ID for this managed resource.
- key
Pair StringId - Unique ID of the key pair.
- updated
Time String - Update time of the key pair.
Look up Existing Keypair Resource
Get an existing Keypair resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: KeypairState, opts?: CustomResourceOptions): Keypair@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_time: Optional[str] = None,
description: Optional[str] = None,
finger_print: Optional[str] = None,
instance_ids: Optional[Sequence[str]] = None,
key_pair_id: Optional[str] = None,
key_pair_name: Optional[str] = None,
project_name: Optional[str] = None,
public_key: Optional[str] = None,
tags: Optional[Sequence[KeypairTagArgs]] = None,
updated_time: Optional[str] = None) -> Keypairfunc GetKeypair(ctx *Context, name string, id IDInput, state *KeypairState, opts ...ResourceOption) (*Keypair, error)public static Keypair Get(string name, Input<string> id, KeypairState? state, CustomResourceOptions? opts = null)public static Keypair get(String name, Output<String> id, KeypairState state, CustomResourceOptions options)resources: _: type: volcenginecc:ecs:Keypair get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Created
Time string - Creation time of the key pair.
- Description string
- Description of the key pair. The default value is an empty string. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, period ('.'), space, underscore ('_'), hyphen ('-'), equals sign ('='), English comma (','), Chinese comma (','), and Chinese period ('。'). Length must not exceed 255 characters.
- Finger
Print string - Fingerprint of the key pair. The public key fingerprint format is defined by RFC4716 and uses the MD5 hash algorithm.
- Instance
Ids List<string> - Instance ID for the operation.
- Key
Pair stringId - Unique ID of the key pair.
- Key
Pair stringName - Key pair name. Must not duplicate existing names. Length must be between 2 and 64 characters. Periods ('.') can be used to separate the name into segments. Each segment can contain uppercase and lowercase letters, numbers, or hyphens ('-'). The name cannot start or end with '-' or '.', and cannot contain consecutive '-' or '.'.
- Project
Name string - Project to which the resource belongs. Each resource can belong to only one project. Can only contain letters, numbers, underscore ('_'), period ('.'), and hyphen ('-'). Length must not exceed 64 characters.
- Public
Key string - Public key information of the key pair.
-
List<Volcengine.
Keypair Tag> - Updated
Time string - Update time of the key pair.
- Created
Time string - Creation time of the key pair.
- Description string
- Description of the key pair. The default value is an empty string. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, period ('.'), space, underscore ('_'), hyphen ('-'), equals sign ('='), English comma (','), Chinese comma (','), and Chinese period ('。'). Length must not exceed 255 characters.
- Finger
Print string - Fingerprint of the key pair. The public key fingerprint format is defined by RFC4716 and uses the MD5 hash algorithm.
- Instance
Ids []string - Instance ID for the operation.
- Key
Pair stringId - Unique ID of the key pair.
- Key
Pair stringName - Key pair name. Must not duplicate existing names. Length must be between 2 and 64 characters. Periods ('.') can be used to separate the name into segments. Each segment can contain uppercase and lowercase letters, numbers, or hyphens ('-'). The name cannot start or end with '-' or '.', and cannot contain consecutive '-' or '.'.
- Project
Name string - Project to which the resource belongs. Each resource can belong to only one project. Can only contain letters, numbers, underscore ('_'), period ('.'), and hyphen ('-'). Length must not exceed 64 characters.
- Public
Key string - Public key information of the key pair.
-
[]Keypair
Tag Args - Updated
Time string - Update time of the key pair.
- created
Time String - Creation time of the key pair.
- description String
- Description of the key pair. The default value is an empty string. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, period ('.'), space, underscore ('_'), hyphen ('-'), equals sign ('='), English comma (','), Chinese comma (','), and Chinese period ('。'). Length must not exceed 255 characters.
- finger
Print String - Fingerprint of the key pair. The public key fingerprint format is defined by RFC4716 and uses the MD5 hash algorithm.
- instance
Ids List<String> - Instance ID for the operation.
- key
Pair StringId - Unique ID of the key pair.
- key
Pair StringName - Key pair name. Must not duplicate existing names. Length must be between 2 and 64 characters. Periods ('.') can be used to separate the name into segments. Each segment can contain uppercase and lowercase letters, numbers, or hyphens ('-'). The name cannot start or end with '-' or '.', and cannot contain consecutive '-' or '.'.
- project
Name String - Project to which the resource belongs. Each resource can belong to only one project. Can only contain letters, numbers, underscore ('_'), period ('.'), and hyphen ('-'). Length must not exceed 64 characters.
- public
Key String - Public key information of the key pair.
-
List<Keypair
Tag> - updated
Time String - Update time of the key pair.
- created
Time string - Creation time of the key pair.
- description string
- Description of the key pair. The default value is an empty string. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, period ('.'), space, underscore ('_'), hyphen ('-'), equals sign ('='), English comma (','), Chinese comma (','), and Chinese period ('。'). Length must not exceed 255 characters.
- finger
Print string - Fingerprint of the key pair. The public key fingerprint format is defined by RFC4716 and uses the MD5 hash algorithm.
- instance
Ids string[] - Instance ID for the operation.
- key
Pair stringId - Unique ID of the key pair.
- key
Pair stringName - Key pair name. Must not duplicate existing names. Length must be between 2 and 64 characters. Periods ('.') can be used to separate the name into segments. Each segment can contain uppercase and lowercase letters, numbers, or hyphens ('-'). The name cannot start or end with '-' or '.', and cannot contain consecutive '-' or '.'.
- project
Name string - Project to which the resource belongs. Each resource can belong to only one project. Can only contain letters, numbers, underscore ('_'), period ('.'), and hyphen ('-'). Length must not exceed 64 characters.
- public
Key string - Public key information of the key pair.
-
Keypair
Tag[] - updated
Time string - Update time of the key pair.
- created_
time str - Creation time of the key pair.
- description str
- Description of the key pair. The default value is an empty string. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, period ('.'), space, underscore ('_'), hyphen ('-'), equals sign ('='), English comma (','), Chinese comma (','), and Chinese period ('。'). Length must not exceed 255 characters.
- finger_
print str - Fingerprint of the key pair. The public key fingerprint format is defined by RFC4716 and uses the MD5 hash algorithm.
- instance_
ids Sequence[str] - Instance ID for the operation.
- key_
pair_ strid - Unique ID of the key pair.
- key_
pair_ strname - Key pair name. Must not duplicate existing names. Length must be between 2 and 64 characters. Periods ('.') can be used to separate the name into segments. Each segment can contain uppercase and lowercase letters, numbers, or hyphens ('-'). The name cannot start or end with '-' or '.', and cannot contain consecutive '-' or '.'.
- project_
name str - Project to which the resource belongs. Each resource can belong to only one project. Can only contain letters, numbers, underscore ('_'), period ('.'), and hyphen ('-'). Length must not exceed 64 characters.
- public_
key str - Public key information of the key pair.
-
Sequence[Keypair
Tag Args] - updated_
time str - Update time of the key pair.
- created
Time String - Creation time of the key pair.
- description String
- Description of the key pair. The default value is an empty string. Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, period ('.'), space, underscore ('_'), hyphen ('-'), equals sign ('='), English comma (','), Chinese comma (','), and Chinese period ('。'). Length must not exceed 255 characters.
- finger
Print String - Fingerprint of the key pair. The public key fingerprint format is defined by RFC4716 and uses the MD5 hash algorithm.
- instance
Ids List<String> - Instance ID for the operation.
- key
Pair StringId - Unique ID of the key pair.
- key
Pair StringName - Key pair name. Must not duplicate existing names. Length must be between 2 and 64 characters. Periods ('.') can be used to separate the name into segments. Each segment can contain uppercase and lowercase letters, numbers, or hyphens ('-'). The name cannot start or end with '-' or '.', and cannot contain consecutive '-' or '.'.
- project
Name String - Project to which the resource belongs. Each resource can belong to only one project. Can only contain letters, numbers, underscore ('_'), period ('.'), and hyphen ('-'). Length must not exceed 64 characters.
- public
Key String - Public key information of the key pair.
- List<Property Map>
- updated
Time String - Update time of the key pair.
Supporting Types
KeypairTag, KeypairTagArgs
Import
$ pulumi import volcenginecc:ecs/keypair:Keypair example "key_pair_name"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
