bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus
bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus
Data Source schema for Byteplus::KMS::Key
Using getKey
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getKey(args: GetKeyArgs, opts?: InvokeOptions): Promise<GetKeyResult>
function getKeyOutput(args: GetKeyOutputArgs, opts?: InvokeOptions): Output<GetKeyResult>def get_key(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKeyResult
def get_key_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKeyResult]func LookupKey(ctx *Context, args *LookupKeyArgs, opts ...InvokeOption) (*LookupKeyResult, error)
func LookupKeyOutput(ctx *Context, args *LookupKeyOutputArgs, opts ...InvokeOption) LookupKeyResultOutput> Note: This function is named LookupKey in the Go SDK.
public static class GetKey
{
public static Task<GetKeyResult> InvokeAsync(GetKeyArgs args, InvokeOptions? opts = null)
public static Output<GetKeyResult> Invoke(GetKeyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKeyResult> getKey(GetKeyArgs args, InvokeOptions options)
public static Output<GetKeyResult> getKey(GetKeyArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:kms/getKey:getKey
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getKey Result
The following output properties are available:
- Created
Time int - 密钥创建时间。
- Description string
- 密钥描述:长度为 0 - 8192 个字符。
- Id string
- Uniquely identifies the resource.
- Key
Id string - 密钥唯一标识符,UUID形式。
- Key
Material stringExpire Time - 密钥材料过期时间,当值为空时表示不会过期。
- Key
Name string - 主密钥名称,长度为 2 - 31 个字符,合法字符:[a-zA-Z0-9-_]。
- Key
Spec string - 对称密钥:SYMMETRIC256,SYMMETRIC128,非对称密钥:RSA2048,RSA3072,RSA4096,ECP256,ECP256K,ECP384,ECP521,ECSM2。
- Key
State string - 密钥状态:Enable,Disable,PendingDelete,Archived,PendingImport。
- Key
Usage string - 密钥用途,取值:ENCRYPTDECRYPT,SIGNVERIFY,GENERATEVERIFYMAC。
- Keyring
Name string - 密钥环名称,长度为 2 - 31 个字符,合法字符:[a-zA-Z0-9-_]。
- Last
Rotation stringTime - 密钥最后轮转时间。
- Multi
Region bool - 是否为 Multi-region 类型的主密钥。
- Multi
Region Byteplus.Configuration Get Key Multi Region Configuration - Multi-region key 配置信息。
- Origin string
- 密钥来源,取值:CloudKMS,External,ExternalKeyStore。
- Protection
Level string - 密钥保护级别,取值:SOFTWARE,HSM。
- Rotate
State string - 密钥轮转状态,取值:Enable,Disable。
- Schedule
Delete stringTime - 密钥删除时间。
- Schedule
Rotation stringTime - 密钥轮转时间。
-
List<Byteplus.
Get Key Tag> - KMS密钥的标签信息
- Trn string
- 资源名称,格式应为 trn:${Service}:${Region}:${AccountID}:${ResourcePath}。
- Updated
Time int - 密钥更新时间。
- Created
Time int - 密钥创建时间。
- Description string
- 密钥描述:长度为 0 - 8192 个字符。
- Id string
- Uniquely identifies the resource.
- Key
Id string - 密钥唯一标识符,UUID形式。
- Key
Material stringExpire Time - 密钥材料过期时间,当值为空时表示不会过期。
- Key
Name string - 主密钥名称,长度为 2 - 31 个字符,合法字符:[a-zA-Z0-9-_]。
- Key
Spec string - 对称密钥:SYMMETRIC256,SYMMETRIC128,非对称密钥:RSA2048,RSA3072,RSA4096,ECP256,ECP256K,ECP384,ECP521,ECSM2。
- Key
State string - 密钥状态:Enable,Disable,PendingDelete,Archived,PendingImport。
- Key
Usage string - 密钥用途,取值:ENCRYPTDECRYPT,SIGNVERIFY,GENERATEVERIFYMAC。
- Keyring
Name string - 密钥环名称,长度为 2 - 31 个字符,合法字符:[a-zA-Z0-9-_]。
- Last
Rotation stringTime - 密钥最后轮转时间。
- Multi
Region bool - 是否为 Multi-region 类型的主密钥。
- Multi
Region GetConfiguration Key Multi Region Configuration - Multi-region key 配置信息。
- Origin string
- 密钥来源,取值:CloudKMS,External,ExternalKeyStore。
- Protection
Level string - 密钥保护级别,取值:SOFTWARE,HSM。
- Rotate
State string - 密钥轮转状态,取值:Enable,Disable。
- Schedule
Delete stringTime - 密钥删除时间。
- Schedule
Rotation stringTime - 密钥轮转时间。
-
[]Get
Key Tag - KMS密钥的标签信息
- Trn string
- 资源名称,格式应为 trn:${Service}:${Region}:${AccountID}:${ResourcePath}。
- Updated
Time int - 密钥更新时间。
- created
Time Integer - 密钥创建时间。
- description String
- 密钥描述:长度为 0 - 8192 个字符。
- id String
- Uniquely identifies the resource.
- key
Id String - 密钥唯一标识符,UUID形式。
- key
Material StringExpire Time - 密钥材料过期时间,当值为空时表示不会过期。
- key
Name String - 主密钥名称,长度为 2 - 31 个字符,合法字符:[a-zA-Z0-9-_]。
- key
Spec String - 对称密钥:SYMMETRIC256,SYMMETRIC128,非对称密钥:RSA2048,RSA3072,RSA4096,ECP256,ECP256K,ECP384,ECP521,ECSM2。
- key
State String - 密钥状态:Enable,Disable,PendingDelete,Archived,PendingImport。
- key
Usage String - 密钥用途,取值:ENCRYPTDECRYPT,SIGNVERIFY,GENERATEVERIFYMAC。
- keyring
Name String - 密钥环名称,长度为 2 - 31 个字符,合法字符:[a-zA-Z0-9-_]。
- last
Rotation StringTime - 密钥最后轮转时间。
- multi
Region Boolean - 是否为 Multi-region 类型的主密钥。
- multi
Region GetConfiguration Key Multi Region Configuration - Multi-region key 配置信息。
- origin String
- 密钥来源,取值:CloudKMS,External,ExternalKeyStore。
- protection
Level String - 密钥保护级别,取值:SOFTWARE,HSM。
- rotate
State String - 密钥轮转状态,取值:Enable,Disable。
- schedule
Delete StringTime - 密钥删除时间。
- schedule
Rotation StringTime - 密钥轮转时间。
-
List<Get
Key Tag> - KMS密钥的标签信息
- trn String
- 资源名称,格式应为 trn:${Service}:${Region}:${AccountID}:${ResourcePath}。
- updated
Time Integer - 密钥更新时间。
- created
Time number - 密钥创建时间。
- description string
- 密钥描述:长度为 0 - 8192 个字符。
- id string
- Uniquely identifies the resource.
- key
Id string - 密钥唯一标识符,UUID形式。
- key
Material stringExpire Time - 密钥材料过期时间,当值为空时表示不会过期。
- key
Name string - 主密钥名称,长度为 2 - 31 个字符,合法字符:[a-zA-Z0-9-_]。
- key
Spec string - 对称密钥:SYMMETRIC256,SYMMETRIC128,非对称密钥:RSA2048,RSA3072,RSA4096,ECP256,ECP256K,ECP384,ECP521,ECSM2。
- key
State string - 密钥状态:Enable,Disable,PendingDelete,Archived,PendingImport。
- key
Usage string - 密钥用途,取值:ENCRYPTDECRYPT,SIGNVERIFY,GENERATEVERIFYMAC。
- keyring
Name string - 密钥环名称,长度为 2 - 31 个字符,合法字符:[a-zA-Z0-9-_]。
- last
Rotation stringTime - 密钥最后轮转时间。
- multi
Region boolean - 是否为 Multi-region 类型的主密钥。
- multi
Region GetConfiguration Key Multi Region Configuration - Multi-region key 配置信息。
- origin string
- 密钥来源,取值:CloudKMS,External,ExternalKeyStore。
- protection
Level string - 密钥保护级别,取值:SOFTWARE,HSM。
- rotate
State string - 密钥轮转状态,取值:Enable,Disable。
- schedule
Delete stringTime - 密钥删除时间。
- schedule
Rotation stringTime - 密钥轮转时间。
-
Get
Key Tag[] - KMS密钥的标签信息
- trn string
- 资源名称,格式应为 trn:${Service}:${Region}:${AccountID}:${ResourcePath}。
- updated
Time number - 密钥更新时间。
- created_
time int - 密钥创建时间。
- description str
- 密钥描述:长度为 0 - 8192 个字符。
- id str
- Uniquely identifies the resource.
- key_
id str - 密钥唯一标识符,UUID形式。
- key_
material_ strexpire_ time - 密钥材料过期时间,当值为空时表示不会过期。
- key_
name str - 主密钥名称,长度为 2 - 31 个字符,合法字符:[a-zA-Z0-9-_]。
- key_
spec str - 对称密钥:SYMMETRIC256,SYMMETRIC128,非对称密钥:RSA2048,RSA3072,RSA4096,ECP256,ECP256K,ECP384,ECP521,ECSM2。
- key_
state str - 密钥状态:Enable,Disable,PendingDelete,Archived,PendingImport。
- key_
usage str - 密钥用途,取值:ENCRYPTDECRYPT,SIGNVERIFY,GENERATEVERIFYMAC。
- keyring_
name str - 密钥环名称,长度为 2 - 31 个字符,合法字符:[a-zA-Z0-9-_]。
- last_
rotation_ strtime - 密钥最后轮转时间。
- multi_
region bool - 是否为 Multi-region 类型的主密钥。
- multi_
region_ Getconfiguration Key Multi Region Configuration - Multi-region key 配置信息。
- origin str
- 密钥来源,取值:CloudKMS,External,ExternalKeyStore。
- protection_
level str - 密钥保护级别,取值:SOFTWARE,HSM。
- rotate_
state str - 密钥轮转状态,取值:Enable,Disable。
- schedule_
delete_ strtime - 密钥删除时间。
- schedule_
rotation_ strtime - 密钥轮转时间。
-
Sequence[Get
Key Tag] - KMS密钥的标签信息
- trn str
- 资源名称,格式应为 trn:${Service}:${Region}:${AccountID}:${ResourcePath}。
- updated_
time int - 密钥更新时间。
- created
Time Number - 密钥创建时间。
- description String
- 密钥描述:长度为 0 - 8192 个字符。
- id String
- Uniquely identifies the resource.
- key
Id String - 密钥唯一标识符,UUID形式。
- key
Material StringExpire Time - 密钥材料过期时间,当值为空时表示不会过期。
- key
Name String - 主密钥名称,长度为 2 - 31 个字符,合法字符:[a-zA-Z0-9-_]。
- key
Spec String - 对称密钥:SYMMETRIC256,SYMMETRIC128,非对称密钥:RSA2048,RSA3072,RSA4096,ECP256,ECP256K,ECP384,ECP521,ECSM2。
- key
State String - 密钥状态:Enable,Disable,PendingDelete,Archived,PendingImport。
- key
Usage String - 密钥用途,取值:ENCRYPTDECRYPT,SIGNVERIFY,GENERATEVERIFYMAC。
- keyring
Name String - 密钥环名称,长度为 2 - 31 个字符,合法字符:[a-zA-Z0-9-_]。
- last
Rotation StringTime - 密钥最后轮转时间。
- multi
Region Boolean - 是否为 Multi-region 类型的主密钥。
- multi
Region Property MapConfiguration - Multi-region key 配置信息。
- origin String
- 密钥来源,取值:CloudKMS,External,ExternalKeyStore。
- protection
Level String - 密钥保护级别,取值:SOFTWARE,HSM。
- rotate
State String - 密钥轮转状态,取值:Enable,Disable。
- schedule
Delete StringTime - 密钥删除时间。
- schedule
Rotation StringTime - 密钥轮转时间。
- List<Property Map>
- KMS密钥的标签信息
- trn String
- 资源名称,格式应为 trn:${Service}:${Region}:${AccountID}:${ResourcePath}。
- updated
Time Number - 密钥更新时间。
Supporting Types
GetKeyMultiRegionConfiguration
- Multi
Region stringKey Type - 多区域密钥的类型。
- Primary
Key Byteplus.Get Key Multi Region Configuration Primary Key - 主多区域键的事务识别号和区域 ID。
- Replica
Keys List<Byteplus.Get Key Multi Region Configuration Replica Key> - 副本多区域密钥的事务记录编号和区域 ID。
- Multi
Region stringKey Type - 多区域密钥的类型。
- Primary
Key GetKey Multi Region Configuration Primary Key - 主多区域键的事务识别号和区域 ID。
- Replica
Keys []GetKey Multi Region Configuration Replica Key - 副本多区域密钥的事务记录编号和区域 ID。
- multi
Region StringKey Type - 多区域密钥的类型。
- primary
Key GetKey Multi Region Configuration Primary Key - 主多区域键的事务识别号和区域 ID。
- replica
Keys List<GetKey Multi Region Configuration Replica Key> - 副本多区域密钥的事务记录编号和区域 ID。
- multi
Region stringKey Type - 多区域密钥的类型。
- primary
Key GetKey Multi Region Configuration Primary Key - 主多区域键的事务识别号和区域 ID。
- replica
Keys GetKey Multi Region Configuration Replica Key[] - 副本多区域密钥的事务记录编号和区域 ID。
- multi_
region_ strkey_ type - 多区域密钥的类型。
- primary_
key GetKey Multi Region Configuration Primary Key - 主多区域键的事务识别号和区域 ID。
- replica_
keys Sequence[GetKey Multi Region Configuration Replica Key] - 副本多区域密钥的事务记录编号和区域 ID。
- multi
Region StringKey Type - 多区域密钥的类型。
- primary
Key Property Map - 主多区域键的事务识别号和区域 ID。
- replica
Keys List<Property Map> - 副本多区域密钥的事务记录编号和区域 ID。
GetKeyMultiRegionConfigurationPrimaryKey
GetKeyMultiRegionConfigurationReplicaKey
GetKeyTag
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus
