1. Packages
  2. Volcengine
  3. API Docs
  4. kms
  5. getKeys
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

volcengine.kms.getKeys

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

    Use this data source to query detailed information of kms keys

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.kms.getKeys({
        creationDateRanges: [
            "2025-06-01 19:48:06",
            "2025-06-04 19:48:06",
        ],
        descriptions: ["tf-test"],
        keyNames: [
            "mrk-tf-key-mod",
            "mrk-tf-key",
        ],
        keySpecs: ["SYMMETRIC_256"],
        keyStates: ["Enable"],
        keyUsages: ["ENCRYPT_DECRYPT"],
        keyringId: "7a358829-bd5a-4763-ba77-7500ecxxxxxx",
        origins: ["CloudKMS"],
        protectionLevels: ["SOFTWARE"],
        rotateStates: ["Enable"],
        tags: [{
            key: "tf-k1",
            values: ["tf-v1"],
        }],
        updateDateRanges: [
            "2025-06-01 19:48:06",
            "2025-06-04 19:48:06",
        ],
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.kms.get_keys(creation_date_ranges=[
            "2025-06-01 19:48:06",
            "2025-06-04 19:48:06",
        ],
        descriptions=["tf-test"],
        key_names=[
            "mrk-tf-key-mod",
            "mrk-tf-key",
        ],
        key_specs=["SYMMETRIC_256"],
        key_states=["Enable"],
        key_usages=["ENCRYPT_DECRYPT"],
        keyring_id="7a358829-bd5a-4763-ba77-7500ecxxxxxx",
        origins=["CloudKMS"],
        protection_levels=["SOFTWARE"],
        rotate_states=["Enable"],
        tags=[volcengine.kms.GetKeysTagArgs(
            key="tf-k1",
            values=["tf-v1"],
        )],
        update_date_ranges=[
            "2025-06-01 19:48:06",
            "2025-06-04 19:48:06",
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/kms"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := kms.GetKeys(ctx, &kms.GetKeysArgs{
    			CreationDateRanges: []string{
    				"2025-06-01 19:48:06",
    				"2025-06-04 19:48:06",
    			},
    			Descriptions: []string{
    				"tf-test",
    			},
    			KeyNames: []string{
    				"mrk-tf-key-mod",
    				"mrk-tf-key",
    			},
    			KeySpecs: []string{
    				"SYMMETRIC_256",
    			},
    			KeyStates: []string{
    				"Enable",
    			},
    			KeyUsages: []string{
    				"ENCRYPT_DECRYPT",
    			},
    			KeyringId: pulumi.StringRef("7a358829-bd5a-4763-ba77-7500ecxxxxxx"),
    			Origins: []string{
    				"CloudKMS",
    			},
    			ProtectionLevels: []string{
    				"SOFTWARE",
    			},
    			RotateStates: []string{
    				"Enable",
    			},
    			Tags: []kms.GetKeysTag{
    				{
    					Key: "tf-k1",
    					Values: []string{
    						"tf-v1",
    					},
    				},
    			},
    			UpdateDateRanges: []string{
    				"2025-06-01 19:48:06",
    				"2025-06-04 19:48:06",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Kms.GetKeys.Invoke(new()
        {
            CreationDateRanges = new[]
            {
                "2025-06-01 19:48:06",
                "2025-06-04 19:48:06",
            },
            Descriptions = new[]
            {
                "tf-test",
            },
            KeyNames = new[]
            {
                "mrk-tf-key-mod",
                "mrk-tf-key",
            },
            KeySpecs = new[]
            {
                "SYMMETRIC_256",
            },
            KeyStates = new[]
            {
                "Enable",
            },
            KeyUsages = new[]
            {
                "ENCRYPT_DECRYPT",
            },
            KeyringId = "7a358829-bd5a-4763-ba77-7500ecxxxxxx",
            Origins = new[]
            {
                "CloudKMS",
            },
            ProtectionLevels = new[]
            {
                "SOFTWARE",
            },
            RotateStates = new[]
            {
                "Enable",
            },
            Tags = new[]
            {
                new Volcengine.Kms.Inputs.GetKeysTagInputArgs
                {
                    Key = "tf-k1",
                    Values = new[]
                    {
                        "tf-v1",
                    },
                },
            },
            UpdateDateRanges = new[]
            {
                "2025-06-01 19:48:06",
                "2025-06-04 19:48:06",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.kms.KmsFunctions;
    import com.pulumi.volcengine.kms.inputs.GetKeysArgs;
    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) {
            final var default = KmsFunctions.getKeys(GetKeysArgs.builder()
                .creationDateRanges(            
                    "2025-06-01 19:48:06",
                    "2025-06-04 19:48:06")
                .descriptions("tf-test")
                .keyNames(            
                    "mrk-tf-key-mod",
                    "mrk-tf-key")
                .keySpecs("SYMMETRIC_256")
                .keyStates("Enable")
                .keyUsages("ENCRYPT_DECRYPT")
                .keyringId("7a358829-bd5a-4763-ba77-7500ecxxxxxx")
                .origins("CloudKMS")
                .protectionLevels("SOFTWARE")
                .rotateStates("Enable")
                .tags(GetKeysTagArgs.builder()
                    .key("tf-k1")
                    .values("tf-v1")
                    .build())
                .updateDateRanges(            
                    "2025-06-01 19:48:06",
                    "2025-06-04 19:48:06")
                .build());
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:kms:getKeys
          Arguments:
            creationDateRanges:
              - 2025-06-01 19:48:06
              - 2025-06-04 19:48:06
            descriptions:
              - tf-test
            keyNames:
              - mrk-tf-key-mod
              - mrk-tf-key
            keySpecs:
              - SYMMETRIC_256
            keyStates:
              - Enable
            keyUsages:
              - ENCRYPT_DECRYPT
            keyringId: 7a358829-bd5a-4763-ba77-7500ecxxxxxx
            origins:
              - CloudKMS
            protectionLevels:
              - SOFTWARE
            rotateStates:
              - Enable
            tags:
              - key: tf-k1
                values:
                  - tf-v1
            updateDateRanges:
              - 2025-06-01 19:48:06
              - 2025-06-04 19:48:06
    

    Using getKeys

    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 getKeys(args: GetKeysArgs, opts?: InvokeOptions): Promise<GetKeysResult>
    function getKeysOutput(args: GetKeysOutputArgs, opts?: InvokeOptions): Output<GetKeysResult>
    def get_keys(creation_date_ranges: Optional[Sequence[str]] = None,
                 descriptions: Optional[Sequence[str]] = None,
                 key_names: Optional[Sequence[str]] = None,
                 key_specs: Optional[Sequence[str]] = None,
                 key_states: Optional[Sequence[str]] = None,
                 key_usages: Optional[Sequence[str]] = None,
                 keyring_id: Optional[str] = None,
                 keyring_name: Optional[str] = None,
                 name_regex: Optional[str] = None,
                 origins: Optional[Sequence[str]] = None,
                 output_file: Optional[str] = None,
                 protection_levels: Optional[Sequence[str]] = None,
                 rotate_states: Optional[Sequence[str]] = None,
                 tags: Optional[Sequence[GetKeysTag]] = None,
                 update_date_ranges: Optional[Sequence[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> GetKeysResult
    def get_keys_output(creation_date_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 descriptions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 key_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 key_specs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 key_states: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 key_usages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 keyring_id: Optional[pulumi.Input[str]] = None,
                 keyring_name: Optional[pulumi.Input[str]] = None,
                 name_regex: Optional[pulumi.Input[str]] = None,
                 origins: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 output_file: Optional[pulumi.Input[str]] = None,
                 protection_levels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 rotate_states: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 tags: Optional[pulumi.Input[Sequence[pulumi.Input[GetKeysTagArgs]]]] = None,
                 update_date_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetKeysResult]
    func GetKeys(ctx *Context, args *GetKeysArgs, opts ...InvokeOption) (*GetKeysResult, error)
    func GetKeysOutput(ctx *Context, args *GetKeysOutputArgs, opts ...InvokeOption) GetKeysResultOutput

    > Note: This function is named GetKeys in the Go SDK.

    public static class GetKeys 
    {
        public static Task<GetKeysResult> InvokeAsync(GetKeysArgs args, InvokeOptions? opts = null)
        public static Output<GetKeysResult> Invoke(GetKeysInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetKeysResult> getKeys(GetKeysArgs args, InvokeOptions options)
    public static Output<GetKeysResult> getKeys(GetKeysArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:kms/getKeys:getKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CreationDateRanges List<string>
    The creation date of the keyring.
    Descriptions List<string>
    The description of the key.
    KeyNames List<string>
    The name of the key.
    KeySpecs List<string>
    The algorithm used in the key.
    KeyStates List<string>
    The state of the key.
    KeyUsages List<string>
    The usage of the key.
    KeyringId string
    Query the Key ring that meets the specified conditions, which is composed of key-value pairs.
    KeyringName string
    Query the Key ring that meets the specified conditions, which is composed of key-value pairs.
    NameRegex string
    A Name Regex of Resource.
    Origins List<string>
    The origin of the key.
    OutputFile string
    File name where to save data source results.
    ProtectionLevels List<string>
    The protection level of the key.
    RotateStates List<string>
    The state of the rotate.
    Tags List<GetKeysTag>
    A list of tags.
    UpdateDateRanges List<string>
    The update date of the keyring.
    CreationDateRanges []string
    The creation date of the keyring.
    Descriptions []string
    The description of the key.
    KeyNames []string
    The name of the key.
    KeySpecs []string
    The algorithm used in the key.
    KeyStates []string
    The state of the key.
    KeyUsages []string
    The usage of the key.
    KeyringId string
    Query the Key ring that meets the specified conditions, which is composed of key-value pairs.
    KeyringName string
    Query the Key ring that meets the specified conditions, which is composed of key-value pairs.
    NameRegex string
    A Name Regex of Resource.
    Origins []string
    The origin of the key.
    OutputFile string
    File name where to save data source results.
    ProtectionLevels []string
    The protection level of the key.
    RotateStates []string
    The state of the rotate.
    Tags []GetKeysTag
    A list of tags.
    UpdateDateRanges []string
    The update date of the keyring.
    creationDateRanges List<String>
    The creation date of the keyring.
    descriptions List<String>
    The description of the key.
    keyNames List<String>
    The name of the key.
    keySpecs List<String>
    The algorithm used in the key.
    keyStates List<String>
    The state of the key.
    keyUsages List<String>
    The usage of the key.
    keyringId String
    Query the Key ring that meets the specified conditions, which is composed of key-value pairs.
    keyringName String
    Query the Key ring that meets the specified conditions, which is composed of key-value pairs.
    nameRegex String
    A Name Regex of Resource.
    origins List<String>
    The origin of the key.
    outputFile String
    File name where to save data source results.
    protectionLevels List<String>
    The protection level of the key.
    rotateStates List<String>
    The state of the rotate.
    tags List<GetKeysTag>
    A list of tags.
    updateDateRanges List<String>
    The update date of the keyring.
    creationDateRanges string[]
    The creation date of the keyring.
    descriptions string[]
    The description of the key.
    keyNames string[]
    The name of the key.
    keySpecs string[]
    The algorithm used in the key.
    keyStates string[]
    The state of the key.
    keyUsages string[]
    The usage of the key.
    keyringId string
    Query the Key ring that meets the specified conditions, which is composed of key-value pairs.
    keyringName string
    Query the Key ring that meets the specified conditions, which is composed of key-value pairs.
    nameRegex string
    A Name Regex of Resource.
    origins string[]
    The origin of the key.
    outputFile string
    File name where to save data source results.
    protectionLevels string[]
    The protection level of the key.
    rotateStates string[]
    The state of the rotate.
    tags GetKeysTag[]
    A list of tags.
    updateDateRanges string[]
    The update date of the keyring.
    creation_date_ranges Sequence[str]
    The creation date of the keyring.
    descriptions Sequence[str]
    The description of the key.
    key_names Sequence[str]
    The name of the key.
    key_specs Sequence[str]
    The algorithm used in the key.
    key_states Sequence[str]
    The state of the key.
    key_usages Sequence[str]
    The usage of the key.
    keyring_id str
    Query the Key ring that meets the specified conditions, which is composed of key-value pairs.
    keyring_name str
    Query the Key ring that meets the specified conditions, which is composed of key-value pairs.
    name_regex str
    A Name Regex of Resource.
    origins Sequence[str]
    The origin of the key.
    output_file str
    File name where to save data source results.
    protection_levels Sequence[str]
    The protection level of the key.
    rotate_states Sequence[str]
    The state of the rotate.
    tags Sequence[GetKeysTag]
    A list of tags.
    update_date_ranges Sequence[str]
    The update date of the keyring.
    creationDateRanges List<String>
    The creation date of the keyring.
    descriptions List<String>
    The description of the key.
    keyNames List<String>
    The name of the key.
    keySpecs List<String>
    The algorithm used in the key.
    keyStates List<String>
    The state of the key.
    keyUsages List<String>
    The usage of the key.
    keyringId String
    Query the Key ring that meets the specified conditions, which is composed of key-value pairs.
    keyringName String
    Query the Key ring that meets the specified conditions, which is composed of key-value pairs.
    nameRegex String
    A Name Regex of Resource.
    origins List<String>
    The origin of the key.
    outputFile String
    File name where to save data source results.
    protectionLevels List<String>
    The protection level of the key.
    rotateStates List<String>
    The state of the rotate.
    tags List<Property Map>
    A list of tags.
    updateDateRanges List<String>
    The update date of the keyring.

    getKeys Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Keys List<GetKeysKey>
    Master key list information.
    TotalCount int
    The total count of query.
    CreationDateRanges List<string>
    Descriptions List<string>
    The description of the key.
    KeyNames List<string>
    The name of the key.
    KeySpecs List<string>
    The algorithm used in the key.
    KeyStates List<string>
    The state of the key.
    KeyUsages List<string>
    The usage of the key.
    KeyringId string
    KeyringName string
    NameRegex string
    Origins List<string>
    The origin of the key.
    OutputFile string
    ProtectionLevels List<string>
    The protection level of the key.
    RotateStates List<string>
    Tags List<GetKeysTag>
    Tags.
    UpdateDateRanges List<string>
    Id string
    The provider-assigned unique ID for this managed resource.
    Keys []GetKeysKey
    Master key list information.
    TotalCount int
    The total count of query.
    CreationDateRanges []string
    Descriptions []string
    The description of the key.
    KeyNames []string
    The name of the key.
    KeySpecs []string
    The algorithm used in the key.
    KeyStates []string
    The state of the key.
    KeyUsages []string
    The usage of the key.
    KeyringId string
    KeyringName string
    NameRegex string
    Origins []string
    The origin of the key.
    OutputFile string
    ProtectionLevels []string
    The protection level of the key.
    RotateStates []string
    Tags []GetKeysTag
    Tags.
    UpdateDateRanges []string
    id String
    The provider-assigned unique ID for this managed resource.
    keys List<GetKeysKey>
    Master key list information.
    totalCount Integer
    The total count of query.
    creationDateRanges List<String>
    descriptions List<String>
    The description of the key.
    keyNames List<String>
    The name of the key.
    keySpecs List<String>
    The algorithm used in the key.
    keyStates List<String>
    The state of the key.
    keyUsages List<String>
    The usage of the key.
    keyringId String
    keyringName String
    nameRegex String
    origins List<String>
    The origin of the key.
    outputFile String
    protectionLevels List<String>
    The protection level of the key.
    rotateStates List<String>
    tags List<GetKeysTag>
    Tags.
    updateDateRanges List<String>
    id string
    The provider-assigned unique ID for this managed resource.
    keys GetKeysKey[]
    Master key list information.
    totalCount number
    The total count of query.
    creationDateRanges string[]
    descriptions string[]
    The description of the key.
    keyNames string[]
    The name of the key.
    keySpecs string[]
    The algorithm used in the key.
    keyStates string[]
    The state of the key.
    keyUsages string[]
    The usage of the key.
    keyringId string
    keyringName string
    nameRegex string
    origins string[]
    The origin of the key.
    outputFile string
    protectionLevels string[]
    The protection level of the key.
    rotateStates string[]
    tags GetKeysTag[]
    Tags.
    updateDateRanges string[]
    id str
    The provider-assigned unique ID for this managed resource.
    keys Sequence[GetKeysKey]
    Master key list information.
    total_count int
    The total count of query.
    creation_date_ranges Sequence[str]
    descriptions Sequence[str]
    The description of the key.
    key_names Sequence[str]
    The name of the key.
    key_specs Sequence[str]
    The algorithm used in the key.
    key_states Sequence[str]
    The state of the key.
    key_usages Sequence[str]
    The usage of the key.
    keyring_id str
    keyring_name str
    name_regex str
    origins Sequence[str]
    The origin of the key.
    output_file str
    protection_levels Sequence[str]
    The protection level of the key.
    rotate_states Sequence[str]
    tags Sequence[GetKeysTag]
    Tags.
    update_date_ranges Sequence[str]
    id String
    The provider-assigned unique ID for this managed resource.
    keys List<Property Map>
    Master key list information.
    totalCount Number
    The total count of query.
    creationDateRanges List<String>
    descriptions List<String>
    The description of the key.
    keyNames List<String>
    The name of the key.
    keySpecs List<String>
    The algorithm used in the key.
    keyStates List<String>
    The state of the key.
    keyUsages List<String>
    The usage of the key.
    keyringId String
    keyringName String
    nameRegex String
    origins List<String>
    The origin of the key.
    outputFile String
    protectionLevels List<String>
    The protection level of the key.
    rotateStates List<String>
    tags List<Property Map>
    Tags.
    updateDateRanges List<String>

    Supporting Types

    GetKeysKey

    CreationDate int
    The date when the keyring was created.
    Description string
    The description of the key.
    Id string
    The unique ID of the key.
    KeyMaterialExpireTime string
    The time when the key material will expire.
    KeyName string
    The name of the key.
    KeySpec string
    The algorithm used in the key.
    KeyState string
    The state of the key.
    KeyUsage string
    The usage of the key.
    LastRotationTime string
    The last time the key was rotated.
    MultiRegion bool
    Whether it is the master key of the Multi-region type.
    MultiRegionConfiguration GetKeysKeyMultiRegionConfiguration
    The configuration of Multi-region key.
    Origin string
    The origin of the key.
    ProtectionLevel string
    The protection level of the key.
    RotationState string
    The rotation configuration of the key.
    ScheduleDeleteTime string
    The time when the key will be deleted.
    ScheduleRotationTime string
    The next time the key will be rotated.
    Tags List<GetKeysKeyTag>
    A list of tags.
    Trn string
    The name of the resource.
    UpdateDate int
    The date when the keyring was updated.
    CreationDate int
    The date when the keyring was created.
    Description string
    The description of the key.
    Id string
    The unique ID of the key.
    KeyMaterialExpireTime string
    The time when the key material will expire.
    KeyName string
    The name of the key.
    KeySpec string
    The algorithm used in the key.
    KeyState string
    The state of the key.
    KeyUsage string
    The usage of the key.
    LastRotationTime string
    The last time the key was rotated.
    MultiRegion bool
    Whether it is the master key of the Multi-region type.
    MultiRegionConfiguration GetKeysKeyMultiRegionConfiguration
    The configuration of Multi-region key.
    Origin string
    The origin of the key.
    ProtectionLevel string
    The protection level of the key.
    RotationState string
    The rotation configuration of the key.
    ScheduleDeleteTime string
    The time when the key will be deleted.
    ScheduleRotationTime string
    The next time the key will be rotated.
    Tags []GetKeysKeyTag
    A list of tags.
    Trn string
    The name of the resource.
    UpdateDate int
    The date when the keyring was updated.
    creationDate Integer
    The date when the keyring was created.
    description String
    The description of the key.
    id String
    The unique ID of the key.
    keyMaterialExpireTime String
    The time when the key material will expire.
    keyName String
    The name of the key.
    keySpec String
    The algorithm used in the key.
    keyState String
    The state of the key.
    keyUsage String
    The usage of the key.
    lastRotationTime String
    The last time the key was rotated.
    multiRegion Boolean
    Whether it is the master key of the Multi-region type.
    multiRegionConfiguration GetKeysKeyMultiRegionConfiguration
    The configuration of Multi-region key.
    origin String
    The origin of the key.
    protectionLevel String
    The protection level of the key.
    rotationState String
    The rotation configuration of the key.
    scheduleDeleteTime String
    The time when the key will be deleted.
    scheduleRotationTime String
    The next time the key will be rotated.
    tags List<GetKeysKeyTag>
    A list of tags.
    trn String
    The name of the resource.
    updateDate Integer
    The date when the keyring was updated.
    creationDate number
    The date when the keyring was created.
    description string
    The description of the key.
    id string
    The unique ID of the key.
    keyMaterialExpireTime string
    The time when the key material will expire.
    keyName string
    The name of the key.
    keySpec string
    The algorithm used in the key.
    keyState string
    The state of the key.
    keyUsage string
    The usage of the key.
    lastRotationTime string
    The last time the key was rotated.
    multiRegion boolean
    Whether it is the master key of the Multi-region type.
    multiRegionConfiguration GetKeysKeyMultiRegionConfiguration
    The configuration of Multi-region key.
    origin string
    The origin of the key.
    protectionLevel string
    The protection level of the key.
    rotationState string
    The rotation configuration of the key.
    scheduleDeleteTime string
    The time when the key will be deleted.
    scheduleRotationTime string
    The next time the key will be rotated.
    tags GetKeysKeyTag[]
    A list of tags.
    trn string
    The name of the resource.
    updateDate number
    The date when the keyring was updated.
    creation_date int
    The date when the keyring was created.
    description str
    The description of the key.
    id str
    The unique ID of the key.
    key_material_expire_time str
    The time when the key material will expire.
    key_name str
    The name of the key.
    key_spec str
    The algorithm used in the key.
    key_state str
    The state of the key.
    key_usage str
    The usage of the key.
    last_rotation_time str
    The last time the key was rotated.
    multi_region bool
    Whether it is the master key of the Multi-region type.
    multi_region_configuration GetKeysKeyMultiRegionConfiguration
    The configuration of Multi-region key.
    origin str
    The origin of the key.
    protection_level str
    The protection level of the key.
    rotation_state str
    The rotation configuration of the key.
    schedule_delete_time str
    The time when the key will be deleted.
    schedule_rotation_time str
    The next time the key will be rotated.
    tags Sequence[GetKeysKeyTag]
    A list of tags.
    trn str
    The name of the resource.
    update_date int
    The date when the keyring was updated.
    creationDate Number
    The date when the keyring was created.
    description String
    The description of the key.
    id String
    The unique ID of the key.
    keyMaterialExpireTime String
    The time when the key material will expire.
    keyName String
    The name of the key.
    keySpec String
    The algorithm used in the key.
    keyState String
    The state of the key.
    keyUsage String
    The usage of the key.
    lastRotationTime String
    The last time the key was rotated.
    multiRegion Boolean
    Whether it is the master key of the Multi-region type.
    multiRegionConfiguration Property Map
    The configuration of Multi-region key.
    origin String
    The origin of the key.
    protectionLevel String
    The protection level of the key.
    rotationState String
    The rotation configuration of the key.
    scheduleDeleteTime String
    The time when the key will be deleted.
    scheduleRotationTime String
    The next time the key will be rotated.
    tags List<Property Map>
    A list of tags.
    trn String
    The name of the resource.
    updateDate Number
    The date when the keyring was updated.

    GetKeysKeyMultiRegionConfiguration

    MultiRegionKeyType string
    The type of the multi-region key.
    PrimaryKey GetKeysKeyMultiRegionConfigurationPrimaryKey
    Trn and region id of the primary multi-region key.
    ReplicaKeys List<GetKeysKeyMultiRegionConfigurationReplicaKey>
    Trn and region id of replica multi-region keys.
    MultiRegionKeyType string
    The type of the multi-region key.
    PrimaryKey GetKeysKeyMultiRegionConfigurationPrimaryKey
    Trn and region id of the primary multi-region key.
    ReplicaKeys []GetKeysKeyMultiRegionConfigurationReplicaKey
    Trn and region id of replica multi-region keys.
    multiRegionKeyType String
    The type of the multi-region key.
    primaryKey GetKeysKeyMultiRegionConfigurationPrimaryKey
    Trn and region id of the primary multi-region key.
    replicaKeys List<GetKeysKeyMultiRegionConfigurationReplicaKey>
    Trn and region id of replica multi-region keys.
    multiRegionKeyType string
    The type of the multi-region key.
    primaryKey GetKeysKeyMultiRegionConfigurationPrimaryKey
    Trn and region id of the primary multi-region key.
    replicaKeys GetKeysKeyMultiRegionConfigurationReplicaKey[]
    Trn and region id of replica multi-region keys.
    multi_region_key_type str
    The type of the multi-region key.
    primary_key GetKeysKeyMultiRegionConfigurationPrimaryKey
    Trn and region id of the primary multi-region key.
    replica_keys Sequence[GetKeysKeyMultiRegionConfigurationReplicaKey]
    Trn and region id of replica multi-region keys.
    multiRegionKeyType String
    The type of the multi-region key.
    primaryKey Property Map
    Trn and region id of the primary multi-region key.
    replicaKeys List<Property Map>
    Trn and region id of replica multi-region keys.

    GetKeysKeyMultiRegionConfigurationPrimaryKey

    Region string
    The region id of multi-region key.
    Trn string
    The name of the resource.
    Region string
    The region id of multi-region key.
    Trn string
    The name of the resource.
    region String
    The region id of multi-region key.
    trn String
    The name of the resource.
    region string
    The region id of multi-region key.
    trn string
    The name of the resource.
    region str
    The region id of multi-region key.
    trn str
    The name of the resource.
    region String
    The region id of multi-region key.
    trn String
    The name of the resource.

    GetKeysKeyMultiRegionConfigurationReplicaKey

    Region string
    The region id of multi-region key.
    Trn string
    The name of the resource.
    Region string
    The region id of multi-region key.
    Trn string
    The name of the resource.
    region String
    The region id of multi-region key.
    trn String
    The name of the resource.
    region string
    The region id of multi-region key.
    trn string
    The name of the resource.
    region str
    The region id of multi-region key.
    trn str
    The name of the resource.
    region String
    The region id of multi-region key.
    trn String
    The name of the resource.

    GetKeysKeyTag

    Key string
    The key of the tag.
    Value string
    The Value of Tags.
    Key string
    The key of the tag.
    Value string
    The Value of Tags.
    key String
    The key of the tag.
    value String
    The Value of Tags.
    key string
    The key of the tag.
    value string
    The Value of Tags.
    key str
    The key of the tag.
    value str
    The Value of Tags.
    key String
    The key of the tag.
    value String
    The Value of Tags.

    GetKeysTag

    Key string
    The key of the tag.
    Values List<string>
    The values of the tag.
    Key string
    The key of the tag.
    Values []string
    The values of the tag.
    key String
    The key of the tag.
    values List<String>
    The values of the tag.
    key string
    The key of the tag.
    values string[]
    The values of the tag.
    key str
    The key of the tag.
    values Sequence[str]
    The values of the tag.
    key String
    The key of the tag.
    values List<String>
    The values of the tag.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine