kms

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.5

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type CloudResourceAttachment added in v0.1.8

type CloudResourceAttachment struct {
	pulumi.CustomResourceState

	// Alias.
	Alias pulumi.StringOutput `pulumi:"alias"`
	// Description.
	Description pulumi.StringOutput `pulumi:"description"`
	// CMK unique identifier.
	KeyId pulumi.StringOutput `pulumi:"keyId"`
	// Key state.
	KeyState pulumi.StringOutput `pulumi:"keyState"`
	// Key usage.
	KeyUsage pulumi.StringOutput `pulumi:"keyUsage"`
	// owner.
	Owner pulumi.StringOutput `pulumi:"owner"`
	// A unique identifier for the cloud product.
	ProductId pulumi.StringOutput `pulumi:"productId"`
	// The resource/instance ID of the cloud product.
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
}

Provides a resource to create a kms cloudResourceAttachment

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.NewCloudResourceAttachment(ctx, "example", &Kms.CloudResourceAttachmentArgs{
			KeyId:      pulumi.String("72688f39-1fe8-11ee-9f1a-525400cf25a4"),
			ProductId:  pulumi.String("mysql"),
			ResourceId: pulumi.String("cdb-fitq5t9h"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

kms cloud_resource_attachment can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Kms/cloudResourceAttachment:CloudResourceAttachment example 72688f39-1fe8-11ee-9f1a-525400cf25a4#mysql#cdb-fitq5t9h

```

func GetCloudResourceAttachment added in v0.1.8

func GetCloudResourceAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CloudResourceAttachmentState, opts ...pulumi.ResourceOption) (*CloudResourceAttachment, error)

GetCloudResourceAttachment gets an existing CloudResourceAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCloudResourceAttachment added in v0.1.8

func NewCloudResourceAttachment(ctx *pulumi.Context,
	name string, args *CloudResourceAttachmentArgs, opts ...pulumi.ResourceOption) (*CloudResourceAttachment, error)

NewCloudResourceAttachment registers a new resource with the given unique name, arguments, and options.

func (*CloudResourceAttachment) ElementType added in v0.1.8

func (*CloudResourceAttachment) ElementType() reflect.Type

func (*CloudResourceAttachment) ToCloudResourceAttachmentOutput added in v0.1.8

func (i *CloudResourceAttachment) ToCloudResourceAttachmentOutput() CloudResourceAttachmentOutput

func (*CloudResourceAttachment) ToCloudResourceAttachmentOutputWithContext added in v0.1.8

func (i *CloudResourceAttachment) ToCloudResourceAttachmentOutputWithContext(ctx context.Context) CloudResourceAttachmentOutput

type CloudResourceAttachmentArgs added in v0.1.8

type CloudResourceAttachmentArgs struct {
	// CMK unique identifier.
	KeyId pulumi.StringInput
	// A unique identifier for the cloud product.
	ProductId pulumi.StringInput
	// The resource/instance ID of the cloud product.
	ResourceId pulumi.StringInput
}

The set of arguments for constructing a CloudResourceAttachment resource.

func (CloudResourceAttachmentArgs) ElementType added in v0.1.8

type CloudResourceAttachmentArray added in v0.1.8

type CloudResourceAttachmentArray []CloudResourceAttachmentInput

func (CloudResourceAttachmentArray) ElementType added in v0.1.8

func (CloudResourceAttachmentArray) ToCloudResourceAttachmentArrayOutput added in v0.1.8

func (i CloudResourceAttachmentArray) ToCloudResourceAttachmentArrayOutput() CloudResourceAttachmentArrayOutput

func (CloudResourceAttachmentArray) ToCloudResourceAttachmentArrayOutputWithContext added in v0.1.8

func (i CloudResourceAttachmentArray) ToCloudResourceAttachmentArrayOutputWithContext(ctx context.Context) CloudResourceAttachmentArrayOutput

type CloudResourceAttachmentArrayInput added in v0.1.8

type CloudResourceAttachmentArrayInput interface {
	pulumi.Input

	ToCloudResourceAttachmentArrayOutput() CloudResourceAttachmentArrayOutput
	ToCloudResourceAttachmentArrayOutputWithContext(context.Context) CloudResourceAttachmentArrayOutput
}

CloudResourceAttachmentArrayInput is an input type that accepts CloudResourceAttachmentArray and CloudResourceAttachmentArrayOutput values. You can construct a concrete instance of `CloudResourceAttachmentArrayInput` via:

CloudResourceAttachmentArray{ CloudResourceAttachmentArgs{...} }

type CloudResourceAttachmentArrayOutput added in v0.1.8

type CloudResourceAttachmentArrayOutput struct{ *pulumi.OutputState }

func (CloudResourceAttachmentArrayOutput) ElementType added in v0.1.8

func (CloudResourceAttachmentArrayOutput) Index added in v0.1.8

func (CloudResourceAttachmentArrayOutput) ToCloudResourceAttachmentArrayOutput added in v0.1.8

func (o CloudResourceAttachmentArrayOutput) ToCloudResourceAttachmentArrayOutput() CloudResourceAttachmentArrayOutput

func (CloudResourceAttachmentArrayOutput) ToCloudResourceAttachmentArrayOutputWithContext added in v0.1.8

func (o CloudResourceAttachmentArrayOutput) ToCloudResourceAttachmentArrayOutputWithContext(ctx context.Context) CloudResourceAttachmentArrayOutput

type CloudResourceAttachmentInput added in v0.1.8

type CloudResourceAttachmentInput interface {
	pulumi.Input

	ToCloudResourceAttachmentOutput() CloudResourceAttachmentOutput
	ToCloudResourceAttachmentOutputWithContext(ctx context.Context) CloudResourceAttachmentOutput
}

type CloudResourceAttachmentMap added in v0.1.8

type CloudResourceAttachmentMap map[string]CloudResourceAttachmentInput

func (CloudResourceAttachmentMap) ElementType added in v0.1.8

func (CloudResourceAttachmentMap) ElementType() reflect.Type

func (CloudResourceAttachmentMap) ToCloudResourceAttachmentMapOutput added in v0.1.8

func (i CloudResourceAttachmentMap) ToCloudResourceAttachmentMapOutput() CloudResourceAttachmentMapOutput

func (CloudResourceAttachmentMap) ToCloudResourceAttachmentMapOutputWithContext added in v0.1.8

func (i CloudResourceAttachmentMap) ToCloudResourceAttachmentMapOutputWithContext(ctx context.Context) CloudResourceAttachmentMapOutput

type CloudResourceAttachmentMapInput added in v0.1.8

type CloudResourceAttachmentMapInput interface {
	pulumi.Input

	ToCloudResourceAttachmentMapOutput() CloudResourceAttachmentMapOutput
	ToCloudResourceAttachmentMapOutputWithContext(context.Context) CloudResourceAttachmentMapOutput
}

CloudResourceAttachmentMapInput is an input type that accepts CloudResourceAttachmentMap and CloudResourceAttachmentMapOutput values. You can construct a concrete instance of `CloudResourceAttachmentMapInput` via:

CloudResourceAttachmentMap{ "key": CloudResourceAttachmentArgs{...} }

type CloudResourceAttachmentMapOutput added in v0.1.8

type CloudResourceAttachmentMapOutput struct{ *pulumi.OutputState }

func (CloudResourceAttachmentMapOutput) ElementType added in v0.1.8

func (CloudResourceAttachmentMapOutput) MapIndex added in v0.1.8

func (CloudResourceAttachmentMapOutput) ToCloudResourceAttachmentMapOutput added in v0.1.8

func (o CloudResourceAttachmentMapOutput) ToCloudResourceAttachmentMapOutput() CloudResourceAttachmentMapOutput

func (CloudResourceAttachmentMapOutput) ToCloudResourceAttachmentMapOutputWithContext added in v0.1.8

func (o CloudResourceAttachmentMapOutput) ToCloudResourceAttachmentMapOutputWithContext(ctx context.Context) CloudResourceAttachmentMapOutput

type CloudResourceAttachmentOutput added in v0.1.8

type CloudResourceAttachmentOutput struct{ *pulumi.OutputState }

func (CloudResourceAttachmentOutput) Alias added in v0.1.8

Alias.

func (CloudResourceAttachmentOutput) Description added in v0.1.8

Description.

func (CloudResourceAttachmentOutput) ElementType added in v0.1.8

func (CloudResourceAttachmentOutput) KeyId added in v0.1.8

CMK unique identifier.

func (CloudResourceAttachmentOutput) KeyState added in v0.1.8

Key state.

func (CloudResourceAttachmentOutput) KeyUsage added in v0.1.8

Key usage.

func (CloudResourceAttachmentOutput) Owner added in v0.1.8

owner.

func (CloudResourceAttachmentOutput) ProductId added in v0.1.8

A unique identifier for the cloud product.

func (CloudResourceAttachmentOutput) ResourceId added in v0.1.8

The resource/instance ID of the cloud product.

func (CloudResourceAttachmentOutput) ToCloudResourceAttachmentOutput added in v0.1.8

func (o CloudResourceAttachmentOutput) ToCloudResourceAttachmentOutput() CloudResourceAttachmentOutput

func (CloudResourceAttachmentOutput) ToCloudResourceAttachmentOutputWithContext added in v0.1.8

func (o CloudResourceAttachmentOutput) ToCloudResourceAttachmentOutputWithContext(ctx context.Context) CloudResourceAttachmentOutput

type CloudResourceAttachmentState added in v0.1.8

type CloudResourceAttachmentState struct {
	// Alias.
	Alias pulumi.StringPtrInput
	// Description.
	Description pulumi.StringPtrInput
	// CMK unique identifier.
	KeyId pulumi.StringPtrInput
	// Key state.
	KeyState pulumi.StringPtrInput
	// Key usage.
	KeyUsage pulumi.StringPtrInput
	// owner.
	Owner pulumi.StringPtrInput
	// A unique identifier for the cloud product.
	ProductId pulumi.StringPtrInput
	// The resource/instance ID of the cloud product.
	ResourceId pulumi.StringPtrInput
}

func (CloudResourceAttachmentState) ElementType added in v0.1.8

type ExternalKey

type ExternalKey struct {
	pulumi.CustomResourceState

	// Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
	Alias pulumi.StringOutput `pulumi:"alias"`
	// Description of CMK. The maximum is 1024 bytes.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specify whether to archive key. Default value is `false`. This field is conflict with `isEnabled`, valid when keyState is `Enabled`, `Disabled`, `Archived`.
	IsArchived pulumi.BoolPtrOutput `pulumi:"isArchived"`
	// Specify whether to enable key. Default value is `false`. This field is conflict with `isArchived`, valid when keyState is `Enabled`, `Disabled`, `Archived`.
	IsEnabled pulumi.BoolPtrOutput `pulumi:"isEnabled"`
	// The base64-encoded key material encrypted with the public_key. For regions using the national secret version, the length of the imported key material is required to be 128 bits, and for regions using the FIPS version, the length of the imported key material is required to be 256 bits.
	KeyMaterialBase64 pulumi.StringPtrOutput `pulumi:"keyMaterialBase64"`
	// State of CMK.
	KeyState pulumi.StringOutput `pulumi:"keyState"`
	// Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 7 days.
	PendingDeleteWindowInDays pulumi.IntPtrOutput `pulumi:"pendingDeleteWindowInDays"`
	// Tags of CMK.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// This value means the effective timestamp of the key material, 0 means it does not expire. Need to be greater than the current timestamp, the maximum support is 2147443200.
	ValidTo pulumi.IntPtrOutput `pulumi:"validTo"`
	// The algorithm for encrypting key material. Available values include `RSAES_PKCS1_V1_5`, `RSAES_OAEP_SHA_1` and `RSAES_OAEP_SHA_256`. Default value is `RSAES_PKCS1_V1_5`.
	WrappingAlgorithm pulumi.StringPtrOutput `pulumi:"wrappingAlgorithm"`
}

Provide a resource to create a KMS external key.

## Example Usage ### Create a basic instance.

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.NewExternalKey(ctx, "example", &Kms.ExternalKeyArgs{
			Alias:       pulumi.String("tf-example-kms-externalkey"),
			Description: pulumi.String("example of kms external key"),
			Tags: pulumi.AnyMap{
				"createdBy": pulumi.Any("terraform"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Specify the encryption algorithm and public key.

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.NewExternalKey(ctx, "example", &Kms.ExternalKeyArgs{
			Alias:             pulumi.String("tf-example-kms-externalkey"),
			Description:       pulumi.String("example of kms external key"),
			IsEnabled:         pulumi.Bool(true),
			KeyMaterialBase64: pulumi.String("your_public_key_base64_encoded"),
			Tags: pulumi.AnyMap{
				"createdBy": pulumi.Any("terraform"),
			},
			WrappingAlgorithm: pulumi.String("RSAES_PKCS1_V1_5"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Disable the external kms key.

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.NewExternalKey(ctx, "example", &Kms.ExternalKeyArgs{
			Alias:             pulumi.String("tf-example-kms-externalkey"),
			Description:       pulumi.String("example of kms external key"),
			IsEnabled:         pulumi.Bool(false),
			KeyMaterialBase64: pulumi.String("your_public_key_base64_encoded"),
			Tags: pulumi.AnyMap{
				"test-tag": pulumi.Any("unit-test"),
			},
			WrappingAlgorithm: pulumi.String("RSAES_PKCS1_V1_5"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

KMS external keys can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Kms/externalKey:ExternalKey example 287e8f40-7cbb-11eb-9a3a-xxxxx

```

func GetExternalKey

func GetExternalKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ExternalKeyState, opts ...pulumi.ResourceOption) (*ExternalKey, error)

GetExternalKey gets an existing ExternalKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewExternalKey

func NewExternalKey(ctx *pulumi.Context,
	name string, args *ExternalKeyArgs, opts ...pulumi.ResourceOption) (*ExternalKey, error)

NewExternalKey registers a new resource with the given unique name, arguments, and options.

func (*ExternalKey) ElementType

func (*ExternalKey) ElementType() reflect.Type

func (*ExternalKey) ToExternalKeyOutput

func (i *ExternalKey) ToExternalKeyOutput() ExternalKeyOutput

func (*ExternalKey) ToExternalKeyOutputWithContext

func (i *ExternalKey) ToExternalKeyOutputWithContext(ctx context.Context) ExternalKeyOutput

type ExternalKeyArgs

type ExternalKeyArgs struct {
	// Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
	Alias pulumi.StringInput
	// Description of CMK. The maximum is 1024 bytes.
	Description pulumi.StringPtrInput
	// Specify whether to archive key. Default value is `false`. This field is conflict with `isEnabled`, valid when keyState is `Enabled`, `Disabled`, `Archived`.
	IsArchived pulumi.BoolPtrInput
	// Specify whether to enable key. Default value is `false`. This field is conflict with `isArchived`, valid when keyState is `Enabled`, `Disabled`, `Archived`.
	IsEnabled pulumi.BoolPtrInput
	// The base64-encoded key material encrypted with the public_key. For regions using the national secret version, the length of the imported key material is required to be 128 bits, and for regions using the FIPS version, the length of the imported key material is required to be 256 bits.
	KeyMaterialBase64 pulumi.StringPtrInput
	// Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 7 days.
	PendingDeleteWindowInDays pulumi.IntPtrInput
	// Tags of CMK.
	Tags pulumi.MapInput
	// This value means the effective timestamp of the key material, 0 means it does not expire. Need to be greater than the current timestamp, the maximum support is 2147443200.
	ValidTo pulumi.IntPtrInput
	// The algorithm for encrypting key material. Available values include `RSAES_PKCS1_V1_5`, `RSAES_OAEP_SHA_1` and `RSAES_OAEP_SHA_256`. Default value is `RSAES_PKCS1_V1_5`.
	WrappingAlgorithm pulumi.StringPtrInput
}

The set of arguments for constructing a ExternalKey resource.

func (ExternalKeyArgs) ElementType

func (ExternalKeyArgs) ElementType() reflect.Type

type ExternalKeyArray

type ExternalKeyArray []ExternalKeyInput

func (ExternalKeyArray) ElementType

func (ExternalKeyArray) ElementType() reflect.Type

func (ExternalKeyArray) ToExternalKeyArrayOutput

func (i ExternalKeyArray) ToExternalKeyArrayOutput() ExternalKeyArrayOutput

func (ExternalKeyArray) ToExternalKeyArrayOutputWithContext

func (i ExternalKeyArray) ToExternalKeyArrayOutputWithContext(ctx context.Context) ExternalKeyArrayOutput

type ExternalKeyArrayInput

type ExternalKeyArrayInput interface {
	pulumi.Input

	ToExternalKeyArrayOutput() ExternalKeyArrayOutput
	ToExternalKeyArrayOutputWithContext(context.Context) ExternalKeyArrayOutput
}

ExternalKeyArrayInput is an input type that accepts ExternalKeyArray and ExternalKeyArrayOutput values. You can construct a concrete instance of `ExternalKeyArrayInput` via:

ExternalKeyArray{ ExternalKeyArgs{...} }

type ExternalKeyArrayOutput

type ExternalKeyArrayOutput struct{ *pulumi.OutputState }

func (ExternalKeyArrayOutput) ElementType

func (ExternalKeyArrayOutput) ElementType() reflect.Type

func (ExternalKeyArrayOutput) Index

func (ExternalKeyArrayOutput) ToExternalKeyArrayOutput

func (o ExternalKeyArrayOutput) ToExternalKeyArrayOutput() ExternalKeyArrayOutput

func (ExternalKeyArrayOutput) ToExternalKeyArrayOutputWithContext

func (o ExternalKeyArrayOutput) ToExternalKeyArrayOutputWithContext(ctx context.Context) ExternalKeyArrayOutput

type ExternalKeyInput

type ExternalKeyInput interface {
	pulumi.Input

	ToExternalKeyOutput() ExternalKeyOutput
	ToExternalKeyOutputWithContext(ctx context.Context) ExternalKeyOutput
}

type ExternalKeyMap

type ExternalKeyMap map[string]ExternalKeyInput

func (ExternalKeyMap) ElementType

func (ExternalKeyMap) ElementType() reflect.Type

func (ExternalKeyMap) ToExternalKeyMapOutput

func (i ExternalKeyMap) ToExternalKeyMapOutput() ExternalKeyMapOutput

func (ExternalKeyMap) ToExternalKeyMapOutputWithContext

func (i ExternalKeyMap) ToExternalKeyMapOutputWithContext(ctx context.Context) ExternalKeyMapOutput

type ExternalKeyMapInput

type ExternalKeyMapInput interface {
	pulumi.Input

	ToExternalKeyMapOutput() ExternalKeyMapOutput
	ToExternalKeyMapOutputWithContext(context.Context) ExternalKeyMapOutput
}

ExternalKeyMapInput is an input type that accepts ExternalKeyMap and ExternalKeyMapOutput values. You can construct a concrete instance of `ExternalKeyMapInput` via:

ExternalKeyMap{ "key": ExternalKeyArgs{...} }

type ExternalKeyMapOutput

type ExternalKeyMapOutput struct{ *pulumi.OutputState }

func (ExternalKeyMapOutput) ElementType

func (ExternalKeyMapOutput) ElementType() reflect.Type

func (ExternalKeyMapOutput) MapIndex

func (ExternalKeyMapOutput) ToExternalKeyMapOutput

func (o ExternalKeyMapOutput) ToExternalKeyMapOutput() ExternalKeyMapOutput

func (ExternalKeyMapOutput) ToExternalKeyMapOutputWithContext

func (o ExternalKeyMapOutput) ToExternalKeyMapOutputWithContext(ctx context.Context) ExternalKeyMapOutput

type ExternalKeyOutput

type ExternalKeyOutput struct{ *pulumi.OutputState }

func (ExternalKeyOutput) Alias

Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.

func (ExternalKeyOutput) Description

func (o ExternalKeyOutput) Description() pulumi.StringPtrOutput

Description of CMK. The maximum is 1024 bytes.

func (ExternalKeyOutput) ElementType

func (ExternalKeyOutput) ElementType() reflect.Type

func (ExternalKeyOutput) IsArchived

func (o ExternalKeyOutput) IsArchived() pulumi.BoolPtrOutput

Specify whether to archive key. Default value is `false`. This field is conflict with `isEnabled`, valid when keyState is `Enabled`, `Disabled`, `Archived`.

func (ExternalKeyOutput) IsEnabled

func (o ExternalKeyOutput) IsEnabled() pulumi.BoolPtrOutput

Specify whether to enable key. Default value is `false`. This field is conflict with `isArchived`, valid when keyState is `Enabled`, `Disabled`, `Archived`.

func (ExternalKeyOutput) KeyMaterialBase64

func (o ExternalKeyOutput) KeyMaterialBase64() pulumi.StringPtrOutput

The base64-encoded key material encrypted with the public_key. For regions using the national secret version, the length of the imported key material is required to be 128 bits, and for regions using the FIPS version, the length of the imported key material is required to be 256 bits.

func (ExternalKeyOutput) KeyState

func (o ExternalKeyOutput) KeyState() pulumi.StringOutput

State of CMK.

func (ExternalKeyOutput) PendingDeleteWindowInDays

func (o ExternalKeyOutput) PendingDeleteWindowInDays() pulumi.IntPtrOutput

Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 7 days.

func (ExternalKeyOutput) Tags

Tags of CMK.

func (ExternalKeyOutput) ToExternalKeyOutput

func (o ExternalKeyOutput) ToExternalKeyOutput() ExternalKeyOutput

func (ExternalKeyOutput) ToExternalKeyOutputWithContext

func (o ExternalKeyOutput) ToExternalKeyOutputWithContext(ctx context.Context) ExternalKeyOutput

func (ExternalKeyOutput) ValidTo

This value means the effective timestamp of the key material, 0 means it does not expire. Need to be greater than the current timestamp, the maximum support is 2147443200.

func (ExternalKeyOutput) WrappingAlgorithm

func (o ExternalKeyOutput) WrappingAlgorithm() pulumi.StringPtrOutput

The algorithm for encrypting key material. Available values include `RSAES_PKCS1_V1_5`, `RSAES_OAEP_SHA_1` and `RSAES_OAEP_SHA_256`. Default value is `RSAES_PKCS1_V1_5`.

type ExternalKeyState

type ExternalKeyState struct {
	// Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
	Alias pulumi.StringPtrInput
	// Description of CMK. The maximum is 1024 bytes.
	Description pulumi.StringPtrInput
	// Specify whether to archive key. Default value is `false`. This field is conflict with `isEnabled`, valid when keyState is `Enabled`, `Disabled`, `Archived`.
	IsArchived pulumi.BoolPtrInput
	// Specify whether to enable key. Default value is `false`. This field is conflict with `isArchived`, valid when keyState is `Enabled`, `Disabled`, `Archived`.
	IsEnabled pulumi.BoolPtrInput
	// The base64-encoded key material encrypted with the public_key. For regions using the national secret version, the length of the imported key material is required to be 128 bits, and for regions using the FIPS version, the length of the imported key material is required to be 256 bits.
	KeyMaterialBase64 pulumi.StringPtrInput
	// State of CMK.
	KeyState pulumi.StringPtrInput
	// Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 7 days.
	PendingDeleteWindowInDays pulumi.IntPtrInput
	// Tags of CMK.
	Tags pulumi.MapInput
	// This value means the effective timestamp of the key material, 0 means it does not expire. Need to be greater than the current timestamp, the maximum support is 2147443200.
	ValidTo pulumi.IntPtrInput
	// The algorithm for encrypting key material. Available values include `RSAES_PKCS1_V1_5`, `RSAES_OAEP_SHA_1` and `RSAES_OAEP_SHA_256`. Default value is `RSAES_PKCS1_V1_5`.
	WrappingAlgorithm pulumi.StringPtrInput
}

func (ExternalKeyState) ElementType

func (ExternalKeyState) ElementType() reflect.Type

type GetDescribeKeysArgs added in v0.1.8

type GetDescribeKeysArgs struct {
	// Query the ID list of CMK, batch query supports up to 100 KeyIds at a time.
	KeyIds []string `pulumi:"keyIds"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getDescribeKeys.

type GetDescribeKeysKeyList added in v0.1.8

type GetDescribeKeysKeyList struct {
	// Name of CMK.
	Alias string `pulumi:"alias"`
	// Create time of CMK.
	CreateTime int `pulumi:"createTime"`
	// Uin of CMK Creator.
	CreatorUin int `pulumi:"creatorUin"`
	// Delete time of CMK.
	DeletionDate int `pulumi:"deletionDate"`
	// Description of CMK.
	Description string `pulumi:"description"`
	// ID of CMK.
	KeyId string `pulumi:"keyId"`
	// Specify whether to enable key rotation.
	KeyRotationEnabled bool `pulumi:"keyRotationEnabled"`
	// State of CMK.
	KeyState string `pulumi:"keyState"`
	// Usage of CMK.
	KeyUsage string `pulumi:"keyUsage"`
	// Next rotate time of CMK when keyRotationEnabled is true.
	NextRotateTime int `pulumi:"nextRotateTime"`
	// Origin of CMK. `TENCENT_KMS` - CMK created by KMS, `EXTERNAL` - CMK imported by user.
	Origin string `pulumi:"origin"`
	// Creator of CMK.
	Owner string `pulumi:"owner"`
	// Valid when origin is `EXTERNAL`, it means the effective date of the key material.
	ValidTo int `pulumi:"validTo"`
}

type GetDescribeKeysKeyListArgs added in v0.1.8

type GetDescribeKeysKeyListArgs struct {
	// Name of CMK.
	Alias pulumi.StringInput `pulumi:"alias"`
	// Create time of CMK.
	CreateTime pulumi.IntInput `pulumi:"createTime"`
	// Uin of CMK Creator.
	CreatorUin pulumi.IntInput `pulumi:"creatorUin"`
	// Delete time of CMK.
	DeletionDate pulumi.IntInput `pulumi:"deletionDate"`
	// Description of CMK.
	Description pulumi.StringInput `pulumi:"description"`
	// ID of CMK.
	KeyId pulumi.StringInput `pulumi:"keyId"`
	// Specify whether to enable key rotation.
	KeyRotationEnabled pulumi.BoolInput `pulumi:"keyRotationEnabled"`
	// State of CMK.
	KeyState pulumi.StringInput `pulumi:"keyState"`
	// Usage of CMK.
	KeyUsage pulumi.StringInput `pulumi:"keyUsage"`
	// Next rotate time of CMK when keyRotationEnabled is true.
	NextRotateTime pulumi.IntInput `pulumi:"nextRotateTime"`
	// Origin of CMK. `TENCENT_KMS` - CMK created by KMS, `EXTERNAL` - CMK imported by user.
	Origin pulumi.StringInput `pulumi:"origin"`
	// Creator of CMK.
	Owner pulumi.StringInput `pulumi:"owner"`
	// Valid when origin is `EXTERNAL`, it means the effective date of the key material.
	ValidTo pulumi.IntInput `pulumi:"validTo"`
}

func (GetDescribeKeysKeyListArgs) ElementType added in v0.1.8

func (GetDescribeKeysKeyListArgs) ElementType() reflect.Type

func (GetDescribeKeysKeyListArgs) ToGetDescribeKeysKeyListOutput added in v0.1.8

func (i GetDescribeKeysKeyListArgs) ToGetDescribeKeysKeyListOutput() GetDescribeKeysKeyListOutput

func (GetDescribeKeysKeyListArgs) ToGetDescribeKeysKeyListOutputWithContext added in v0.1.8

func (i GetDescribeKeysKeyListArgs) ToGetDescribeKeysKeyListOutputWithContext(ctx context.Context) GetDescribeKeysKeyListOutput

type GetDescribeKeysKeyListArray added in v0.1.8

type GetDescribeKeysKeyListArray []GetDescribeKeysKeyListInput

func (GetDescribeKeysKeyListArray) ElementType added in v0.1.8

func (GetDescribeKeysKeyListArray) ToGetDescribeKeysKeyListArrayOutput added in v0.1.8

func (i GetDescribeKeysKeyListArray) ToGetDescribeKeysKeyListArrayOutput() GetDescribeKeysKeyListArrayOutput

func (GetDescribeKeysKeyListArray) ToGetDescribeKeysKeyListArrayOutputWithContext added in v0.1.8

func (i GetDescribeKeysKeyListArray) ToGetDescribeKeysKeyListArrayOutputWithContext(ctx context.Context) GetDescribeKeysKeyListArrayOutput

type GetDescribeKeysKeyListArrayInput added in v0.1.8

type GetDescribeKeysKeyListArrayInput interface {
	pulumi.Input

	ToGetDescribeKeysKeyListArrayOutput() GetDescribeKeysKeyListArrayOutput
	ToGetDescribeKeysKeyListArrayOutputWithContext(context.Context) GetDescribeKeysKeyListArrayOutput
}

GetDescribeKeysKeyListArrayInput is an input type that accepts GetDescribeKeysKeyListArray and GetDescribeKeysKeyListArrayOutput values. You can construct a concrete instance of `GetDescribeKeysKeyListArrayInput` via:

GetDescribeKeysKeyListArray{ GetDescribeKeysKeyListArgs{...} }

type GetDescribeKeysKeyListArrayOutput added in v0.1.8

type GetDescribeKeysKeyListArrayOutput struct{ *pulumi.OutputState }

func (GetDescribeKeysKeyListArrayOutput) ElementType added in v0.1.8

func (GetDescribeKeysKeyListArrayOutput) Index added in v0.1.8

func (GetDescribeKeysKeyListArrayOutput) ToGetDescribeKeysKeyListArrayOutput added in v0.1.8

func (o GetDescribeKeysKeyListArrayOutput) ToGetDescribeKeysKeyListArrayOutput() GetDescribeKeysKeyListArrayOutput

func (GetDescribeKeysKeyListArrayOutput) ToGetDescribeKeysKeyListArrayOutputWithContext added in v0.1.8

func (o GetDescribeKeysKeyListArrayOutput) ToGetDescribeKeysKeyListArrayOutputWithContext(ctx context.Context) GetDescribeKeysKeyListArrayOutput

type GetDescribeKeysKeyListInput added in v0.1.8

type GetDescribeKeysKeyListInput interface {
	pulumi.Input

	ToGetDescribeKeysKeyListOutput() GetDescribeKeysKeyListOutput
	ToGetDescribeKeysKeyListOutputWithContext(context.Context) GetDescribeKeysKeyListOutput
}

GetDescribeKeysKeyListInput is an input type that accepts GetDescribeKeysKeyListArgs and GetDescribeKeysKeyListOutput values. You can construct a concrete instance of `GetDescribeKeysKeyListInput` via:

GetDescribeKeysKeyListArgs{...}

type GetDescribeKeysKeyListOutput added in v0.1.8

type GetDescribeKeysKeyListOutput struct{ *pulumi.OutputState }

func (GetDescribeKeysKeyListOutput) Alias added in v0.1.8

Name of CMK.

func (GetDescribeKeysKeyListOutput) CreateTime added in v0.1.8

Create time of CMK.

func (GetDescribeKeysKeyListOutput) CreatorUin added in v0.1.8

Uin of CMK Creator.

func (GetDescribeKeysKeyListOutput) DeletionDate added in v0.1.8

Delete time of CMK.

func (GetDescribeKeysKeyListOutput) Description added in v0.1.8

Description of CMK.

func (GetDescribeKeysKeyListOutput) ElementType added in v0.1.8

func (GetDescribeKeysKeyListOutput) KeyId added in v0.1.8

ID of CMK.

func (GetDescribeKeysKeyListOutput) KeyRotationEnabled added in v0.1.8

func (o GetDescribeKeysKeyListOutput) KeyRotationEnabled() pulumi.BoolOutput

Specify whether to enable key rotation.

func (GetDescribeKeysKeyListOutput) KeyState added in v0.1.8

State of CMK.

func (GetDescribeKeysKeyListOutput) KeyUsage added in v0.1.8

Usage of CMK.

func (GetDescribeKeysKeyListOutput) NextRotateTime added in v0.1.8

func (o GetDescribeKeysKeyListOutput) NextRotateTime() pulumi.IntOutput

Next rotate time of CMK when keyRotationEnabled is true.

func (GetDescribeKeysKeyListOutput) Origin added in v0.1.8

Origin of CMK. `TENCENT_KMS` - CMK created by KMS, `EXTERNAL` - CMK imported by user.

func (GetDescribeKeysKeyListOutput) Owner added in v0.1.8

Creator of CMK.

func (GetDescribeKeysKeyListOutput) ToGetDescribeKeysKeyListOutput added in v0.1.8

func (o GetDescribeKeysKeyListOutput) ToGetDescribeKeysKeyListOutput() GetDescribeKeysKeyListOutput

func (GetDescribeKeysKeyListOutput) ToGetDescribeKeysKeyListOutputWithContext added in v0.1.8

func (o GetDescribeKeysKeyListOutput) ToGetDescribeKeysKeyListOutputWithContext(ctx context.Context) GetDescribeKeysKeyListOutput

func (GetDescribeKeysKeyListOutput) ValidTo added in v0.1.8

Valid when origin is `EXTERNAL`, it means the effective date of the key material.

type GetDescribeKeysOutputArgs added in v0.1.8

type GetDescribeKeysOutputArgs struct {
	// Query the ID list of CMK, batch query supports up to 100 KeyIds at a time.
	KeyIds pulumi.StringArrayInput `pulumi:"keyIds"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getDescribeKeys.

func (GetDescribeKeysOutputArgs) ElementType added in v0.1.8

func (GetDescribeKeysOutputArgs) ElementType() reflect.Type

type GetDescribeKeysResult added in v0.1.8

type GetDescribeKeysResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id     string   `pulumi:"id"`
	KeyIds []string `pulumi:"keyIds"`
	// A list of KMS keys.
	KeyLists         []GetDescribeKeysKeyList `pulumi:"keyLists"`
	ResultOutputFile *string                  `pulumi:"resultOutputFile"`
}

A collection of values returned by getDescribeKeys.

func GetDescribeKeys added in v0.1.8

func GetDescribeKeys(ctx *pulumi.Context, args *GetDescribeKeysArgs, opts ...pulumi.InvokeOption) (*GetDescribeKeysResult, error)

Use this data source to query detailed information of kms keyLists

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.GetDescribeKeys(ctx, &kms.GetDescribeKeysArgs{
			KeyIds: []string{
				"9ffacc8b-6461-11ee-a54e-525400dd8a7d",
				"bffae4ed-6465-11ee-90b2-5254000ef00e",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetDescribeKeysResultOutput added in v0.1.8

type GetDescribeKeysResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDescribeKeys.

func GetDescribeKeysOutput added in v0.1.8

func (GetDescribeKeysResultOutput) ElementType added in v0.1.8

func (GetDescribeKeysResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (GetDescribeKeysResultOutput) KeyIds added in v0.1.8

func (GetDescribeKeysResultOutput) KeyLists added in v0.1.8

A list of KMS keys.

func (GetDescribeKeysResultOutput) ResultOutputFile added in v0.1.8

func (o GetDescribeKeysResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetDescribeKeysResultOutput) ToGetDescribeKeysResultOutput added in v0.1.8

func (o GetDescribeKeysResultOutput) ToGetDescribeKeysResultOutput() GetDescribeKeysResultOutput

func (GetDescribeKeysResultOutput) ToGetDescribeKeysResultOutputWithContext added in v0.1.8

func (o GetDescribeKeysResultOutput) ToGetDescribeKeysResultOutputWithContext(ctx context.Context) GetDescribeKeysResultOutput

type GetGetParametersForImportArgs added in v0.1.8

type GetGetParametersForImportArgs struct {
	// CMK unique identifier.
	KeyId string `pulumi:"keyId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Specifies the algorithm for encrypting key material, currently supports RSAES_PKCS1_V1_5, RSAES_OAEP_SHA_1, RSAES_OAEP_SHA_256.
	WrappingAlgorithm string `pulumi:"wrappingAlgorithm"`
	// Specifies the type of encryption key material, currently only supports RSA_2048.
	WrappingKeySpec string `pulumi:"wrappingKeySpec"`
}

A collection of arguments for invoking getGetParametersForImport.

type GetGetParametersForImportOutputArgs added in v0.1.8

type GetGetParametersForImportOutputArgs struct {
	// CMK unique identifier.
	KeyId pulumi.StringInput `pulumi:"keyId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Specifies the algorithm for encrypting key material, currently supports RSAES_PKCS1_V1_5, RSAES_OAEP_SHA_1, RSAES_OAEP_SHA_256.
	WrappingAlgorithm pulumi.StringInput `pulumi:"wrappingAlgorithm"`
	// Specifies the type of encryption key material, currently only supports RSA_2048.
	WrappingKeySpec pulumi.StringInput `pulumi:"wrappingKeySpec"`
}

A collection of arguments for invoking getGetParametersForImport.

func (GetGetParametersForImportOutputArgs) ElementType added in v0.1.8

type GetGetParametersForImportResult added in v0.1.8

type GetGetParametersForImportResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The token required for importing key material is used as the parameter of ImportKeyMaterial.
	ImportToken string `pulumi:"importToken"`
	KeyId       string `pulumi:"keyId"`
	// The validity period of the exported token and public key cannot be imported after this period, and you need to call GetParametersForImport again to obtain it.
	ParametersValidTo int `pulumi:"parametersValidTo"`
	// Base64-encoded public key content.
	PublicKey         string  `pulumi:"publicKey"`
	ResultOutputFile  *string `pulumi:"resultOutputFile"`
	WrappingAlgorithm string  `pulumi:"wrappingAlgorithm"`
	WrappingKeySpec   string  `pulumi:"wrappingKeySpec"`
}

A collection of values returned by getGetParametersForImport.

func GetGetParametersForImport added in v0.1.8

func GetGetParametersForImport(ctx *pulumi.Context, args *GetGetParametersForImportArgs, opts ...pulumi.InvokeOption) (*GetGetParametersForImportResult, error)

Use this data source to query detailed information of kms getParametersForImport

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.GetGetParametersForImport(ctx, &kms.GetGetParametersForImportArgs{
			KeyId:             "786aea8c-4aec-11ee-b601-525400281a45",
			WrappingAlgorithm: "RSAES_OAEP_SHA_1",
			WrappingKeySpec:   "RSA_2048",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetGetParametersForImportResultOutput added in v0.1.8

type GetGetParametersForImportResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGetParametersForImport.

func (GetGetParametersForImportResultOutput) ElementType added in v0.1.8

func (GetGetParametersForImportResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (GetGetParametersForImportResultOutput) ImportToken added in v0.1.8

The token required for importing key material is used as the parameter of ImportKeyMaterial.

func (GetGetParametersForImportResultOutput) KeyId added in v0.1.8

func (GetGetParametersForImportResultOutput) ParametersValidTo added in v0.1.8

The validity period of the exported token and public key cannot be imported after this period, and you need to call GetParametersForImport again to obtain it.

func (GetGetParametersForImportResultOutput) PublicKey added in v0.1.8

Base64-encoded public key content.

func (GetGetParametersForImportResultOutput) ResultOutputFile added in v0.1.8

func (GetGetParametersForImportResultOutput) ToGetGetParametersForImportResultOutput added in v0.1.8

func (o GetGetParametersForImportResultOutput) ToGetGetParametersForImportResultOutput() GetGetParametersForImportResultOutput

func (GetGetParametersForImportResultOutput) ToGetGetParametersForImportResultOutputWithContext added in v0.1.8

func (o GetGetParametersForImportResultOutput) ToGetGetParametersForImportResultOutputWithContext(ctx context.Context) GetGetParametersForImportResultOutput

func (GetGetParametersForImportResultOutput) WrappingAlgorithm added in v0.1.8

func (GetGetParametersForImportResultOutput) WrappingKeySpec added in v0.1.8

type GetKeysArgs

type GetKeysArgs struct {
	// Filter by state of CMK. `0` - all CMKs are queried, `1` - only Enabled CMKs are queried, `2` - only Disabled CMKs are queried, `3` - only PendingDelete CMKs are queried, `4` - only PendingImport CMKs are queried, `5` - only Archived CMKs are queried.
	KeyState *int `pulumi:"keyState"`
	// Filter by usage of CMK. Available values include `ALL`, `ENCRYPT_DECRYPT`, `ASYMMETRIC_DECRYPT_RSA_2048`, `ASYMMETRIC_DECRYPT_SM2`, `ASYMMETRIC_SIGN_VERIFY_SM2`, `ASYMMETRIC_SIGN_VERIFY_RSA_2048`, `ASYMMETRIC_SIGN_VERIFY_ECC`. Default value is `ENCRYPT_DECRYPT`.
	KeyUsage *string `pulumi:"keyUsage"`
	// Order to sort the CMK create time. `0` - desc, `1` - asc. Default value is `0`.
	OrderType *int `pulumi:"orderType"`
	// Filter by origin of CMK. `TENCENT_KMS` - CMK created by KMS, `EXTERNAL` - CMK imported by user, `ALL` - all CMKs. Default value is `ALL`.
	Origin *string `pulumi:"origin"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Filter by role of the CMK creator. `0` - created by user, `1` - created by cloud product. Default value is `0`.
	Role *int `pulumi:"role"`
	// Words used to match the results, and the words can be: keyId and alias.
	SearchKeyAlias *string `pulumi:"searchKeyAlias"`
	// Tags to filter CMK.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getKeys.

type GetKeysKeyList

type GetKeysKeyList struct {
	// Name of CMK.
	Alias string `pulumi:"alias"`
	// Create time of CMK.
	CreateTime int `pulumi:"createTime"`
	// Uin of CMK Creator.
	CreatorUin int `pulumi:"creatorUin"`
	// Delete time of CMK.
	DeletionDate int `pulumi:"deletionDate"`
	// Description of CMK.
	Description string `pulumi:"description"`
	// ID of CMK.
	KeyId string `pulumi:"keyId"`
	// Specify whether to enable key rotation.
	KeyRotationEnabled bool `pulumi:"keyRotationEnabled"`
	// Filter by state of CMK. `0` - all CMKs are queried, `1` - only Enabled CMKs are queried, `2` - only Disabled CMKs are queried, `3` - only PendingDelete CMKs are queried, `4` - only PendingImport CMKs are queried, `5` - only Archived CMKs are queried.
	KeyState string `pulumi:"keyState"`
	// Filter by usage of CMK. Available values include `ALL`, `ENCRYPT_DECRYPT`, `ASYMMETRIC_DECRYPT_RSA_2048`, `ASYMMETRIC_DECRYPT_SM2`, `ASYMMETRIC_SIGN_VERIFY_SM2`, `ASYMMETRIC_SIGN_VERIFY_RSA_2048`, `ASYMMETRIC_SIGN_VERIFY_ECC`. Default value is `ENCRYPT_DECRYPT`.
	KeyUsage string `pulumi:"keyUsage"`
	// Next rotate time of CMK when keyRotationEnabled is true.
	NextRotateTime int `pulumi:"nextRotateTime"`
	// Filter by origin of CMK. `TENCENT_KMS` - CMK created by KMS, `EXTERNAL` - CMK imported by user, `ALL` - all CMKs. Default value is `ALL`.
	Origin string `pulumi:"origin"`
	// Creator of CMK.
	Owner string `pulumi:"owner"`
	// Valid when origin is `EXTERNAL`, it means the effective date of the key material.
	ValidTo int `pulumi:"validTo"`
}

type GetKeysKeyListArgs

type GetKeysKeyListArgs struct {
	// Name of CMK.
	Alias pulumi.StringInput `pulumi:"alias"`
	// Create time of CMK.
	CreateTime pulumi.IntInput `pulumi:"createTime"`
	// Uin of CMK Creator.
	CreatorUin pulumi.IntInput `pulumi:"creatorUin"`
	// Delete time of CMK.
	DeletionDate pulumi.IntInput `pulumi:"deletionDate"`
	// Description of CMK.
	Description pulumi.StringInput `pulumi:"description"`
	// ID of CMK.
	KeyId pulumi.StringInput `pulumi:"keyId"`
	// Specify whether to enable key rotation.
	KeyRotationEnabled pulumi.BoolInput `pulumi:"keyRotationEnabled"`
	// Filter by state of CMK. `0` - all CMKs are queried, `1` - only Enabled CMKs are queried, `2` - only Disabled CMKs are queried, `3` - only PendingDelete CMKs are queried, `4` - only PendingImport CMKs are queried, `5` - only Archived CMKs are queried.
	KeyState pulumi.StringInput `pulumi:"keyState"`
	// Filter by usage of CMK. Available values include `ALL`, `ENCRYPT_DECRYPT`, `ASYMMETRIC_DECRYPT_RSA_2048`, `ASYMMETRIC_DECRYPT_SM2`, `ASYMMETRIC_SIGN_VERIFY_SM2`, `ASYMMETRIC_SIGN_VERIFY_RSA_2048`, `ASYMMETRIC_SIGN_VERIFY_ECC`. Default value is `ENCRYPT_DECRYPT`.
	KeyUsage pulumi.StringInput `pulumi:"keyUsage"`
	// Next rotate time of CMK when keyRotationEnabled is true.
	NextRotateTime pulumi.IntInput `pulumi:"nextRotateTime"`
	// Filter by origin of CMK. `TENCENT_KMS` - CMK created by KMS, `EXTERNAL` - CMK imported by user, `ALL` - all CMKs. Default value is `ALL`.
	Origin pulumi.StringInput `pulumi:"origin"`
	// Creator of CMK.
	Owner pulumi.StringInput `pulumi:"owner"`
	// Valid when origin is `EXTERNAL`, it means the effective date of the key material.
	ValidTo pulumi.IntInput `pulumi:"validTo"`
}

func (GetKeysKeyListArgs) ElementType

func (GetKeysKeyListArgs) ElementType() reflect.Type

func (GetKeysKeyListArgs) ToGetKeysKeyListOutput

func (i GetKeysKeyListArgs) ToGetKeysKeyListOutput() GetKeysKeyListOutput

func (GetKeysKeyListArgs) ToGetKeysKeyListOutputWithContext

func (i GetKeysKeyListArgs) ToGetKeysKeyListOutputWithContext(ctx context.Context) GetKeysKeyListOutput

type GetKeysKeyListArray

type GetKeysKeyListArray []GetKeysKeyListInput

func (GetKeysKeyListArray) ElementType

func (GetKeysKeyListArray) ElementType() reflect.Type

func (GetKeysKeyListArray) ToGetKeysKeyListArrayOutput

func (i GetKeysKeyListArray) ToGetKeysKeyListArrayOutput() GetKeysKeyListArrayOutput

func (GetKeysKeyListArray) ToGetKeysKeyListArrayOutputWithContext

func (i GetKeysKeyListArray) ToGetKeysKeyListArrayOutputWithContext(ctx context.Context) GetKeysKeyListArrayOutput

type GetKeysKeyListArrayInput

type GetKeysKeyListArrayInput interface {
	pulumi.Input

	ToGetKeysKeyListArrayOutput() GetKeysKeyListArrayOutput
	ToGetKeysKeyListArrayOutputWithContext(context.Context) GetKeysKeyListArrayOutput
}

GetKeysKeyListArrayInput is an input type that accepts GetKeysKeyListArray and GetKeysKeyListArrayOutput values. You can construct a concrete instance of `GetKeysKeyListArrayInput` via:

GetKeysKeyListArray{ GetKeysKeyListArgs{...} }

type GetKeysKeyListArrayOutput

type GetKeysKeyListArrayOutput struct{ *pulumi.OutputState }

func (GetKeysKeyListArrayOutput) ElementType

func (GetKeysKeyListArrayOutput) ElementType() reflect.Type

func (GetKeysKeyListArrayOutput) Index

func (GetKeysKeyListArrayOutput) ToGetKeysKeyListArrayOutput

func (o GetKeysKeyListArrayOutput) ToGetKeysKeyListArrayOutput() GetKeysKeyListArrayOutput

func (GetKeysKeyListArrayOutput) ToGetKeysKeyListArrayOutputWithContext

func (o GetKeysKeyListArrayOutput) ToGetKeysKeyListArrayOutputWithContext(ctx context.Context) GetKeysKeyListArrayOutput

type GetKeysKeyListInput

type GetKeysKeyListInput interface {
	pulumi.Input

	ToGetKeysKeyListOutput() GetKeysKeyListOutput
	ToGetKeysKeyListOutputWithContext(context.Context) GetKeysKeyListOutput
}

GetKeysKeyListInput is an input type that accepts GetKeysKeyListArgs and GetKeysKeyListOutput values. You can construct a concrete instance of `GetKeysKeyListInput` via:

GetKeysKeyListArgs{...}

type GetKeysKeyListOutput

type GetKeysKeyListOutput struct{ *pulumi.OutputState }

func (GetKeysKeyListOutput) Alias

Name of CMK.

func (GetKeysKeyListOutput) CreateTime

func (o GetKeysKeyListOutput) CreateTime() pulumi.IntOutput

Create time of CMK.

func (GetKeysKeyListOutput) CreatorUin

func (o GetKeysKeyListOutput) CreatorUin() pulumi.IntOutput

Uin of CMK Creator.

func (GetKeysKeyListOutput) DeletionDate

func (o GetKeysKeyListOutput) DeletionDate() pulumi.IntOutput

Delete time of CMK.

func (GetKeysKeyListOutput) Description

func (o GetKeysKeyListOutput) Description() pulumi.StringOutput

Description of CMK.

func (GetKeysKeyListOutput) ElementType

func (GetKeysKeyListOutput) ElementType() reflect.Type

func (GetKeysKeyListOutput) KeyId

ID of CMK.

func (GetKeysKeyListOutput) KeyRotationEnabled

func (o GetKeysKeyListOutput) KeyRotationEnabled() pulumi.BoolOutput

Specify whether to enable key rotation.

func (GetKeysKeyListOutput) KeyState

Filter by state of CMK. `0` - all CMKs are queried, `1` - only Enabled CMKs are queried, `2` - only Disabled CMKs are queried, `3` - only PendingDelete CMKs are queried, `4` - only PendingImport CMKs are queried, `5` - only Archived CMKs are queried.

func (GetKeysKeyListOutput) KeyUsage

Filter by usage of CMK. Available values include `ALL`, `ENCRYPT_DECRYPT`, `ASYMMETRIC_DECRYPT_RSA_2048`, `ASYMMETRIC_DECRYPT_SM2`, `ASYMMETRIC_SIGN_VERIFY_SM2`, `ASYMMETRIC_SIGN_VERIFY_RSA_2048`, `ASYMMETRIC_SIGN_VERIFY_ECC`. Default value is `ENCRYPT_DECRYPT`.

func (GetKeysKeyListOutput) NextRotateTime

func (o GetKeysKeyListOutput) NextRotateTime() pulumi.IntOutput

Next rotate time of CMK when keyRotationEnabled is true.

func (GetKeysKeyListOutput) Origin

Filter by origin of CMK. `TENCENT_KMS` - CMK created by KMS, `EXTERNAL` - CMK imported by user, `ALL` - all CMKs. Default value is `ALL`.

func (GetKeysKeyListOutput) Owner

Creator of CMK.

func (GetKeysKeyListOutput) ToGetKeysKeyListOutput

func (o GetKeysKeyListOutput) ToGetKeysKeyListOutput() GetKeysKeyListOutput

func (GetKeysKeyListOutput) ToGetKeysKeyListOutputWithContext

func (o GetKeysKeyListOutput) ToGetKeysKeyListOutputWithContext(ctx context.Context) GetKeysKeyListOutput

func (GetKeysKeyListOutput) ValidTo

Valid when origin is `EXTERNAL`, it means the effective date of the key material.

type GetKeysOutputArgs

type GetKeysOutputArgs struct {
	// Filter by state of CMK. `0` - all CMKs are queried, `1` - only Enabled CMKs are queried, `2` - only Disabled CMKs are queried, `3` - only PendingDelete CMKs are queried, `4` - only PendingImport CMKs are queried, `5` - only Archived CMKs are queried.
	KeyState pulumi.IntPtrInput `pulumi:"keyState"`
	// Filter by usage of CMK. Available values include `ALL`, `ENCRYPT_DECRYPT`, `ASYMMETRIC_DECRYPT_RSA_2048`, `ASYMMETRIC_DECRYPT_SM2`, `ASYMMETRIC_SIGN_VERIFY_SM2`, `ASYMMETRIC_SIGN_VERIFY_RSA_2048`, `ASYMMETRIC_SIGN_VERIFY_ECC`. Default value is `ENCRYPT_DECRYPT`.
	KeyUsage pulumi.StringPtrInput `pulumi:"keyUsage"`
	// Order to sort the CMK create time. `0` - desc, `1` - asc. Default value is `0`.
	OrderType pulumi.IntPtrInput `pulumi:"orderType"`
	// Filter by origin of CMK. `TENCENT_KMS` - CMK created by KMS, `EXTERNAL` - CMK imported by user, `ALL` - all CMKs. Default value is `ALL`.
	Origin pulumi.StringPtrInput `pulumi:"origin"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Filter by role of the CMK creator. `0` - created by user, `1` - created by cloud product. Default value is `0`.
	Role pulumi.IntPtrInput `pulumi:"role"`
	// Words used to match the results, and the words can be: keyId and alias.
	SearchKeyAlias pulumi.StringPtrInput `pulumi:"searchKeyAlias"`
	// Tags to filter CMK.
	Tags pulumi.MapInput `pulumi:"tags"`
}

A collection of arguments for invoking getKeys.

func (GetKeysOutputArgs) ElementType

func (GetKeysOutputArgs) ElementType() reflect.Type

type GetKeysResult

type GetKeysResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of KMS keys.
	KeyLists []GetKeysKeyList `pulumi:"keyLists"`
	// State of CMK.
	KeyState *int `pulumi:"keyState"`
	// Usage of CMK.
	KeyUsage  *string `pulumi:"keyUsage"`
	OrderType *int    `pulumi:"orderType"`
	// Origin of CMK. `TENCENT_KMS` - CMK created by KMS, `EXTERNAL` - CMK imported by user.
	Origin           *string                `pulumi:"origin"`
	ResultOutputFile *string                `pulumi:"resultOutputFile"`
	Role             *int                   `pulumi:"role"`
	SearchKeyAlias   *string                `pulumi:"searchKeyAlias"`
	Tags             map[string]interface{} `pulumi:"tags"`
}

A collection of values returned by getKeys.

func GetKeys

func GetKeys(ctx *pulumi.Context, args *GetKeysArgs, opts ...pulumi.InvokeOption) (*GetKeysResult, error)

Use this data source to query detailed information of KMS key

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.GetKeys(ctx, &kms.GetKeysArgs{
			KeyState:       pulumi.IntRef(0),
			KeyUsage:       pulumi.StringRef("ALL"),
			Origin:         pulumi.StringRef("TENCENT_KMS"),
			SearchKeyAlias: pulumi.StringRef("tf_example"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetKeysResultOutput

type GetKeysResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKeys.

func (GetKeysResultOutput) ElementType

func (GetKeysResultOutput) ElementType() reflect.Type

func (GetKeysResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetKeysResultOutput) KeyLists

A list of KMS keys.

func (GetKeysResultOutput) KeyState

State of CMK.

func (GetKeysResultOutput) KeyUsage

Usage of CMK.

func (GetKeysResultOutput) OrderType

func (o GetKeysResultOutput) OrderType() pulumi.IntPtrOutput

func (GetKeysResultOutput) Origin

Origin of CMK. `TENCENT_KMS` - CMK created by KMS, `EXTERNAL` - CMK imported by user.

func (GetKeysResultOutput) ResultOutputFile

func (o GetKeysResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetKeysResultOutput) Role

func (GetKeysResultOutput) SearchKeyAlias

func (o GetKeysResultOutput) SearchKeyAlias() pulumi.StringPtrOutput

func (GetKeysResultOutput) Tags

func (GetKeysResultOutput) ToGetKeysResultOutput

func (o GetKeysResultOutput) ToGetKeysResultOutput() GetKeysResultOutput

func (GetKeysResultOutput) ToGetKeysResultOutputWithContext

func (o GetKeysResultOutput) ToGetKeysResultOutputWithContext(ctx context.Context) GetKeysResultOutput

type GetListAlgorithmsArgs added in v0.1.8

type GetListAlgorithmsArgs struct {
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getListAlgorithms.

type GetListAlgorithmsAsymmetricAlgorithm added in v0.1.8

type GetListAlgorithmsAsymmetricAlgorithm struct {
	// Algorithm.
	Algorithm string `pulumi:"algorithm"`
	// Key usage.
	KeyUsage string `pulumi:"keyUsage"`
}

type GetListAlgorithmsAsymmetricAlgorithmArgs added in v0.1.8

type GetListAlgorithmsAsymmetricAlgorithmArgs struct {
	// Algorithm.
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	// Key usage.
	KeyUsage pulumi.StringInput `pulumi:"keyUsage"`
}

func (GetListAlgorithmsAsymmetricAlgorithmArgs) ElementType added in v0.1.8

func (GetListAlgorithmsAsymmetricAlgorithmArgs) ToGetListAlgorithmsAsymmetricAlgorithmOutput added in v0.1.8

func (i GetListAlgorithmsAsymmetricAlgorithmArgs) ToGetListAlgorithmsAsymmetricAlgorithmOutput() GetListAlgorithmsAsymmetricAlgorithmOutput

func (GetListAlgorithmsAsymmetricAlgorithmArgs) ToGetListAlgorithmsAsymmetricAlgorithmOutputWithContext added in v0.1.8

func (i GetListAlgorithmsAsymmetricAlgorithmArgs) ToGetListAlgorithmsAsymmetricAlgorithmOutputWithContext(ctx context.Context) GetListAlgorithmsAsymmetricAlgorithmOutput

type GetListAlgorithmsAsymmetricAlgorithmArray added in v0.1.8

type GetListAlgorithmsAsymmetricAlgorithmArray []GetListAlgorithmsAsymmetricAlgorithmInput

func (GetListAlgorithmsAsymmetricAlgorithmArray) ElementType added in v0.1.8

func (GetListAlgorithmsAsymmetricAlgorithmArray) ToGetListAlgorithmsAsymmetricAlgorithmArrayOutput added in v0.1.8

func (i GetListAlgorithmsAsymmetricAlgorithmArray) ToGetListAlgorithmsAsymmetricAlgorithmArrayOutput() GetListAlgorithmsAsymmetricAlgorithmArrayOutput

func (GetListAlgorithmsAsymmetricAlgorithmArray) ToGetListAlgorithmsAsymmetricAlgorithmArrayOutputWithContext added in v0.1.8

func (i GetListAlgorithmsAsymmetricAlgorithmArray) ToGetListAlgorithmsAsymmetricAlgorithmArrayOutputWithContext(ctx context.Context) GetListAlgorithmsAsymmetricAlgorithmArrayOutput

type GetListAlgorithmsAsymmetricAlgorithmArrayInput added in v0.1.8

type GetListAlgorithmsAsymmetricAlgorithmArrayInput interface {
	pulumi.Input

	ToGetListAlgorithmsAsymmetricAlgorithmArrayOutput() GetListAlgorithmsAsymmetricAlgorithmArrayOutput
	ToGetListAlgorithmsAsymmetricAlgorithmArrayOutputWithContext(context.Context) GetListAlgorithmsAsymmetricAlgorithmArrayOutput
}

GetListAlgorithmsAsymmetricAlgorithmArrayInput is an input type that accepts GetListAlgorithmsAsymmetricAlgorithmArray and GetListAlgorithmsAsymmetricAlgorithmArrayOutput values. You can construct a concrete instance of `GetListAlgorithmsAsymmetricAlgorithmArrayInput` via:

GetListAlgorithmsAsymmetricAlgorithmArray{ GetListAlgorithmsAsymmetricAlgorithmArgs{...} }

type GetListAlgorithmsAsymmetricAlgorithmArrayOutput added in v0.1.8

type GetListAlgorithmsAsymmetricAlgorithmArrayOutput struct{ *pulumi.OutputState }

func (GetListAlgorithmsAsymmetricAlgorithmArrayOutput) ElementType added in v0.1.8

func (GetListAlgorithmsAsymmetricAlgorithmArrayOutput) Index added in v0.1.8

func (GetListAlgorithmsAsymmetricAlgorithmArrayOutput) ToGetListAlgorithmsAsymmetricAlgorithmArrayOutput added in v0.1.8

func (o GetListAlgorithmsAsymmetricAlgorithmArrayOutput) ToGetListAlgorithmsAsymmetricAlgorithmArrayOutput() GetListAlgorithmsAsymmetricAlgorithmArrayOutput

func (GetListAlgorithmsAsymmetricAlgorithmArrayOutput) ToGetListAlgorithmsAsymmetricAlgorithmArrayOutputWithContext added in v0.1.8

func (o GetListAlgorithmsAsymmetricAlgorithmArrayOutput) ToGetListAlgorithmsAsymmetricAlgorithmArrayOutputWithContext(ctx context.Context) GetListAlgorithmsAsymmetricAlgorithmArrayOutput

type GetListAlgorithmsAsymmetricAlgorithmInput added in v0.1.8

type GetListAlgorithmsAsymmetricAlgorithmInput interface {
	pulumi.Input

	ToGetListAlgorithmsAsymmetricAlgorithmOutput() GetListAlgorithmsAsymmetricAlgorithmOutput
	ToGetListAlgorithmsAsymmetricAlgorithmOutputWithContext(context.Context) GetListAlgorithmsAsymmetricAlgorithmOutput
}

GetListAlgorithmsAsymmetricAlgorithmInput is an input type that accepts GetListAlgorithmsAsymmetricAlgorithmArgs and GetListAlgorithmsAsymmetricAlgorithmOutput values. You can construct a concrete instance of `GetListAlgorithmsAsymmetricAlgorithmInput` via:

GetListAlgorithmsAsymmetricAlgorithmArgs{...}

type GetListAlgorithmsAsymmetricAlgorithmOutput added in v0.1.8

type GetListAlgorithmsAsymmetricAlgorithmOutput struct{ *pulumi.OutputState }

func (GetListAlgorithmsAsymmetricAlgorithmOutput) Algorithm added in v0.1.8

Algorithm.

func (GetListAlgorithmsAsymmetricAlgorithmOutput) ElementType added in v0.1.8

func (GetListAlgorithmsAsymmetricAlgorithmOutput) KeyUsage added in v0.1.8

Key usage.

func (GetListAlgorithmsAsymmetricAlgorithmOutput) ToGetListAlgorithmsAsymmetricAlgorithmOutput added in v0.1.8

func (o GetListAlgorithmsAsymmetricAlgorithmOutput) ToGetListAlgorithmsAsymmetricAlgorithmOutput() GetListAlgorithmsAsymmetricAlgorithmOutput

func (GetListAlgorithmsAsymmetricAlgorithmOutput) ToGetListAlgorithmsAsymmetricAlgorithmOutputWithContext added in v0.1.8

func (o GetListAlgorithmsAsymmetricAlgorithmOutput) ToGetListAlgorithmsAsymmetricAlgorithmOutputWithContext(ctx context.Context) GetListAlgorithmsAsymmetricAlgorithmOutput

type GetListAlgorithmsAsymmetricSignVerifyAlgorithm added in v0.1.8

type GetListAlgorithmsAsymmetricSignVerifyAlgorithm struct {
	// Algorithm.
	Algorithm string `pulumi:"algorithm"`
	// Key usage.
	KeyUsage string `pulumi:"keyUsage"`
}

type GetListAlgorithmsAsymmetricSignVerifyAlgorithmArgs added in v0.1.8

type GetListAlgorithmsAsymmetricSignVerifyAlgorithmArgs struct {
	// Algorithm.
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	// Key usage.
	KeyUsage pulumi.StringInput `pulumi:"keyUsage"`
}

func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmArgs) ElementType added in v0.1.8

func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmArgs) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput added in v0.1.8

func (i GetListAlgorithmsAsymmetricSignVerifyAlgorithmArgs) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput() GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput

func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmArgs) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmOutputWithContext added in v0.1.8

func (i GetListAlgorithmsAsymmetricSignVerifyAlgorithmArgs) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmOutputWithContext(ctx context.Context) GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput

type GetListAlgorithmsAsymmetricSignVerifyAlgorithmArray added in v0.1.8

type GetListAlgorithmsAsymmetricSignVerifyAlgorithmArray []GetListAlgorithmsAsymmetricSignVerifyAlgorithmInput

func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmArray) ElementType added in v0.1.8

func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmArray) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput added in v0.1.8

func (i GetListAlgorithmsAsymmetricSignVerifyAlgorithmArray) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput() GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput

func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmArray) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutputWithContext added in v0.1.8

func (i GetListAlgorithmsAsymmetricSignVerifyAlgorithmArray) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutputWithContext(ctx context.Context) GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput

type GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayInput added in v0.1.8

type GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayInput interface {
	pulumi.Input

	ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput() GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput
	ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutputWithContext(context.Context) GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput
}

GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayInput is an input type that accepts GetListAlgorithmsAsymmetricSignVerifyAlgorithmArray and GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput values. You can construct a concrete instance of `GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayInput` via:

GetListAlgorithmsAsymmetricSignVerifyAlgorithmArray{ GetListAlgorithmsAsymmetricSignVerifyAlgorithmArgs{...} }

type GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput added in v0.1.8

type GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput struct{ *pulumi.OutputState }

func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput) ElementType added in v0.1.8

func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput) Index added in v0.1.8

func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput added in v0.1.8

func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutputWithContext added in v0.1.8

func (o GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutputWithContext(ctx context.Context) GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput

type GetListAlgorithmsAsymmetricSignVerifyAlgorithmInput added in v0.1.8

type GetListAlgorithmsAsymmetricSignVerifyAlgorithmInput interface {
	pulumi.Input

	ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput() GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput
	ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmOutputWithContext(context.Context) GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput
}

GetListAlgorithmsAsymmetricSignVerifyAlgorithmInput is an input type that accepts GetListAlgorithmsAsymmetricSignVerifyAlgorithmArgs and GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput values. You can construct a concrete instance of `GetListAlgorithmsAsymmetricSignVerifyAlgorithmInput` via:

GetListAlgorithmsAsymmetricSignVerifyAlgorithmArgs{...}

type GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput added in v0.1.8

type GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput struct{ *pulumi.OutputState }

func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) Algorithm added in v0.1.8

Algorithm.

func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) ElementType added in v0.1.8

func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) KeyUsage added in v0.1.8

Key usage.

func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput added in v0.1.8

func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmOutputWithContext added in v0.1.8

func (o GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmOutputWithContext(ctx context.Context) GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput

type GetListAlgorithmsOutputArgs added in v0.1.8

type GetListAlgorithmsOutputArgs struct {
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getListAlgorithms.

func (GetListAlgorithmsOutputArgs) ElementType added in v0.1.8

type GetListAlgorithmsResult added in v0.1.8

type GetListAlgorithmsResult struct {
	// Asymmetric encryption algorithms supported in this region.
	AsymmetricAlgorithms []GetListAlgorithmsAsymmetricAlgorithm `pulumi:"asymmetricAlgorithms"`
	// Asymmetric signature verification algorithms supported in this region.
	AsymmetricSignVerifyAlgorithms []GetListAlgorithmsAsymmetricSignVerifyAlgorithm `pulumi:"asymmetricSignVerifyAlgorithms"`
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Symmetric encryption algorithms supported in this region.
	SymmetricAlgorithms []GetListAlgorithmsSymmetricAlgorithm `pulumi:"symmetricAlgorithms"`
}

A collection of values returned by getListAlgorithms.

func GetListAlgorithms added in v0.1.8

func GetListAlgorithms(ctx *pulumi.Context, args *GetListAlgorithmsArgs, opts ...pulumi.InvokeOption) (*GetListAlgorithmsResult, error)

Use this data source to query detailed information of kms listAlgorithms

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.GetListAlgorithms(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetListAlgorithmsResultOutput added in v0.1.8

type GetListAlgorithmsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getListAlgorithms.

func GetListAlgorithmsOutput added in v0.1.8

func (GetListAlgorithmsResultOutput) AsymmetricAlgorithms added in v0.1.8

Asymmetric encryption algorithms supported in this region.

func (GetListAlgorithmsResultOutput) AsymmetricSignVerifyAlgorithms added in v0.1.8

Asymmetric signature verification algorithms supported in this region.

func (GetListAlgorithmsResultOutput) ElementType added in v0.1.8

func (GetListAlgorithmsResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (GetListAlgorithmsResultOutput) ResultOutputFile added in v0.1.8

func (GetListAlgorithmsResultOutput) SymmetricAlgorithms added in v0.1.8

Symmetric encryption algorithms supported in this region.

func (GetListAlgorithmsResultOutput) ToGetListAlgorithmsResultOutput added in v0.1.8

func (o GetListAlgorithmsResultOutput) ToGetListAlgorithmsResultOutput() GetListAlgorithmsResultOutput

func (GetListAlgorithmsResultOutput) ToGetListAlgorithmsResultOutputWithContext added in v0.1.8

func (o GetListAlgorithmsResultOutput) ToGetListAlgorithmsResultOutputWithContext(ctx context.Context) GetListAlgorithmsResultOutput

type GetListAlgorithmsSymmetricAlgorithm added in v0.1.8

type GetListAlgorithmsSymmetricAlgorithm struct {
	// Algorithm.
	Algorithm string `pulumi:"algorithm"`
	// Key usage.
	KeyUsage string `pulumi:"keyUsage"`
}

type GetListAlgorithmsSymmetricAlgorithmArgs added in v0.1.8

type GetListAlgorithmsSymmetricAlgorithmArgs struct {
	// Algorithm.
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	// Key usage.
	KeyUsage pulumi.StringInput `pulumi:"keyUsage"`
}

func (GetListAlgorithmsSymmetricAlgorithmArgs) ElementType added in v0.1.8

func (GetListAlgorithmsSymmetricAlgorithmArgs) ToGetListAlgorithmsSymmetricAlgorithmOutput added in v0.1.8

func (i GetListAlgorithmsSymmetricAlgorithmArgs) ToGetListAlgorithmsSymmetricAlgorithmOutput() GetListAlgorithmsSymmetricAlgorithmOutput

func (GetListAlgorithmsSymmetricAlgorithmArgs) ToGetListAlgorithmsSymmetricAlgorithmOutputWithContext added in v0.1.8

func (i GetListAlgorithmsSymmetricAlgorithmArgs) ToGetListAlgorithmsSymmetricAlgorithmOutputWithContext(ctx context.Context) GetListAlgorithmsSymmetricAlgorithmOutput

type GetListAlgorithmsSymmetricAlgorithmArray added in v0.1.8

type GetListAlgorithmsSymmetricAlgorithmArray []GetListAlgorithmsSymmetricAlgorithmInput

func (GetListAlgorithmsSymmetricAlgorithmArray) ElementType added in v0.1.8

func (GetListAlgorithmsSymmetricAlgorithmArray) ToGetListAlgorithmsSymmetricAlgorithmArrayOutput added in v0.1.8

func (i GetListAlgorithmsSymmetricAlgorithmArray) ToGetListAlgorithmsSymmetricAlgorithmArrayOutput() GetListAlgorithmsSymmetricAlgorithmArrayOutput

func (GetListAlgorithmsSymmetricAlgorithmArray) ToGetListAlgorithmsSymmetricAlgorithmArrayOutputWithContext added in v0.1.8

func (i GetListAlgorithmsSymmetricAlgorithmArray) ToGetListAlgorithmsSymmetricAlgorithmArrayOutputWithContext(ctx context.Context) GetListAlgorithmsSymmetricAlgorithmArrayOutput

type GetListAlgorithmsSymmetricAlgorithmArrayInput added in v0.1.8

type GetListAlgorithmsSymmetricAlgorithmArrayInput interface {
	pulumi.Input

	ToGetListAlgorithmsSymmetricAlgorithmArrayOutput() GetListAlgorithmsSymmetricAlgorithmArrayOutput
	ToGetListAlgorithmsSymmetricAlgorithmArrayOutputWithContext(context.Context) GetListAlgorithmsSymmetricAlgorithmArrayOutput
}

GetListAlgorithmsSymmetricAlgorithmArrayInput is an input type that accepts GetListAlgorithmsSymmetricAlgorithmArray and GetListAlgorithmsSymmetricAlgorithmArrayOutput values. You can construct a concrete instance of `GetListAlgorithmsSymmetricAlgorithmArrayInput` via:

GetListAlgorithmsSymmetricAlgorithmArray{ GetListAlgorithmsSymmetricAlgorithmArgs{...} }

type GetListAlgorithmsSymmetricAlgorithmArrayOutput added in v0.1.8

type GetListAlgorithmsSymmetricAlgorithmArrayOutput struct{ *pulumi.OutputState }

func (GetListAlgorithmsSymmetricAlgorithmArrayOutput) ElementType added in v0.1.8

func (GetListAlgorithmsSymmetricAlgorithmArrayOutput) Index added in v0.1.8

func (GetListAlgorithmsSymmetricAlgorithmArrayOutput) ToGetListAlgorithmsSymmetricAlgorithmArrayOutput added in v0.1.8

func (o GetListAlgorithmsSymmetricAlgorithmArrayOutput) ToGetListAlgorithmsSymmetricAlgorithmArrayOutput() GetListAlgorithmsSymmetricAlgorithmArrayOutput

func (GetListAlgorithmsSymmetricAlgorithmArrayOutput) ToGetListAlgorithmsSymmetricAlgorithmArrayOutputWithContext added in v0.1.8

func (o GetListAlgorithmsSymmetricAlgorithmArrayOutput) ToGetListAlgorithmsSymmetricAlgorithmArrayOutputWithContext(ctx context.Context) GetListAlgorithmsSymmetricAlgorithmArrayOutput

type GetListAlgorithmsSymmetricAlgorithmInput added in v0.1.8

type GetListAlgorithmsSymmetricAlgorithmInput interface {
	pulumi.Input

	ToGetListAlgorithmsSymmetricAlgorithmOutput() GetListAlgorithmsSymmetricAlgorithmOutput
	ToGetListAlgorithmsSymmetricAlgorithmOutputWithContext(context.Context) GetListAlgorithmsSymmetricAlgorithmOutput
}

GetListAlgorithmsSymmetricAlgorithmInput is an input type that accepts GetListAlgorithmsSymmetricAlgorithmArgs and GetListAlgorithmsSymmetricAlgorithmOutput values. You can construct a concrete instance of `GetListAlgorithmsSymmetricAlgorithmInput` via:

GetListAlgorithmsSymmetricAlgorithmArgs{...}

type GetListAlgorithmsSymmetricAlgorithmOutput added in v0.1.8

type GetListAlgorithmsSymmetricAlgorithmOutput struct{ *pulumi.OutputState }

func (GetListAlgorithmsSymmetricAlgorithmOutput) Algorithm added in v0.1.8

Algorithm.

func (GetListAlgorithmsSymmetricAlgorithmOutput) ElementType added in v0.1.8

func (GetListAlgorithmsSymmetricAlgorithmOutput) KeyUsage added in v0.1.8

Key usage.

func (GetListAlgorithmsSymmetricAlgorithmOutput) ToGetListAlgorithmsSymmetricAlgorithmOutput added in v0.1.8

func (o GetListAlgorithmsSymmetricAlgorithmOutput) ToGetListAlgorithmsSymmetricAlgorithmOutput() GetListAlgorithmsSymmetricAlgorithmOutput

func (GetListAlgorithmsSymmetricAlgorithmOutput) ToGetListAlgorithmsSymmetricAlgorithmOutputWithContext added in v0.1.8

func (o GetListAlgorithmsSymmetricAlgorithmOutput) ToGetListAlgorithmsSymmetricAlgorithmOutputWithContext(ctx context.Context) GetListAlgorithmsSymmetricAlgorithmOutput

type GetListKeysArgs added in v0.1.8

type GetListKeysArgs struct {
	// HSM cluster ID (only valid for KMS exclusive/managed service instances).
	HsmClusterId *string `pulumi:"hsmClusterId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Filter based on the creator role. The default value is 0, which indicates the cmk created by the user himself, and 1, which indicates the cmk automatically created by authorizing other cloud products.
	Role *int `pulumi:"role"`
}

A collection of arguments for invoking getListKeys.

type GetListKeysKey added in v0.1.8

type GetListKeysKey struct {
	// ID of CMK.
	KeyId string `pulumi:"keyId"`
}

type GetListKeysKeyArgs added in v0.1.8

type GetListKeysKeyArgs struct {
	// ID of CMK.
	KeyId pulumi.StringInput `pulumi:"keyId"`
}

func (GetListKeysKeyArgs) ElementType added in v0.1.8

func (GetListKeysKeyArgs) ElementType() reflect.Type

func (GetListKeysKeyArgs) ToGetListKeysKeyOutput added in v0.1.8

func (i GetListKeysKeyArgs) ToGetListKeysKeyOutput() GetListKeysKeyOutput

func (GetListKeysKeyArgs) ToGetListKeysKeyOutputWithContext added in v0.1.8

func (i GetListKeysKeyArgs) ToGetListKeysKeyOutputWithContext(ctx context.Context) GetListKeysKeyOutput

type GetListKeysKeyArray added in v0.1.8

type GetListKeysKeyArray []GetListKeysKeyInput

func (GetListKeysKeyArray) ElementType added in v0.1.8

func (GetListKeysKeyArray) ElementType() reflect.Type

func (GetListKeysKeyArray) ToGetListKeysKeyArrayOutput added in v0.1.8

func (i GetListKeysKeyArray) ToGetListKeysKeyArrayOutput() GetListKeysKeyArrayOutput

func (GetListKeysKeyArray) ToGetListKeysKeyArrayOutputWithContext added in v0.1.8

func (i GetListKeysKeyArray) ToGetListKeysKeyArrayOutputWithContext(ctx context.Context) GetListKeysKeyArrayOutput

type GetListKeysKeyArrayInput added in v0.1.8

type GetListKeysKeyArrayInput interface {
	pulumi.Input

	ToGetListKeysKeyArrayOutput() GetListKeysKeyArrayOutput
	ToGetListKeysKeyArrayOutputWithContext(context.Context) GetListKeysKeyArrayOutput
}

GetListKeysKeyArrayInput is an input type that accepts GetListKeysKeyArray and GetListKeysKeyArrayOutput values. You can construct a concrete instance of `GetListKeysKeyArrayInput` via:

GetListKeysKeyArray{ GetListKeysKeyArgs{...} }

type GetListKeysKeyArrayOutput added in v0.1.8

type GetListKeysKeyArrayOutput struct{ *pulumi.OutputState }

func (GetListKeysKeyArrayOutput) ElementType added in v0.1.8

func (GetListKeysKeyArrayOutput) ElementType() reflect.Type

func (GetListKeysKeyArrayOutput) Index added in v0.1.8

func (GetListKeysKeyArrayOutput) ToGetListKeysKeyArrayOutput added in v0.1.8

func (o GetListKeysKeyArrayOutput) ToGetListKeysKeyArrayOutput() GetListKeysKeyArrayOutput

func (GetListKeysKeyArrayOutput) ToGetListKeysKeyArrayOutputWithContext added in v0.1.8

func (o GetListKeysKeyArrayOutput) ToGetListKeysKeyArrayOutputWithContext(ctx context.Context) GetListKeysKeyArrayOutput

type GetListKeysKeyInput added in v0.1.8

type GetListKeysKeyInput interface {
	pulumi.Input

	ToGetListKeysKeyOutput() GetListKeysKeyOutput
	ToGetListKeysKeyOutputWithContext(context.Context) GetListKeysKeyOutput
}

GetListKeysKeyInput is an input type that accepts GetListKeysKeyArgs and GetListKeysKeyOutput values. You can construct a concrete instance of `GetListKeysKeyInput` via:

GetListKeysKeyArgs{...}

type GetListKeysKeyOutput added in v0.1.8

type GetListKeysKeyOutput struct{ *pulumi.OutputState }

func (GetListKeysKeyOutput) ElementType added in v0.1.8

func (GetListKeysKeyOutput) ElementType() reflect.Type

func (GetListKeysKeyOutput) KeyId added in v0.1.8

ID of CMK.

func (GetListKeysKeyOutput) ToGetListKeysKeyOutput added in v0.1.8

func (o GetListKeysKeyOutput) ToGetListKeysKeyOutput() GetListKeysKeyOutput

func (GetListKeysKeyOutput) ToGetListKeysKeyOutputWithContext added in v0.1.8

func (o GetListKeysKeyOutput) ToGetListKeysKeyOutputWithContext(ctx context.Context) GetListKeysKeyOutput

type GetListKeysOutputArgs added in v0.1.8

type GetListKeysOutputArgs struct {
	// HSM cluster ID (only valid for KMS exclusive/managed service instances).
	HsmClusterId pulumi.StringPtrInput `pulumi:"hsmClusterId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Filter based on the creator role. The default value is 0, which indicates the cmk created by the user himself, and 1, which indicates the cmk automatically created by authorizing other cloud products.
	Role pulumi.IntPtrInput `pulumi:"role"`
}

A collection of arguments for invoking getListKeys.

func (GetListKeysOutputArgs) ElementType added in v0.1.8

func (GetListKeysOutputArgs) ElementType() reflect.Type

type GetListKeysResult added in v0.1.8

type GetListKeysResult struct {
	HsmClusterId *string `pulumi:"hsmClusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of KMS keys.
	Keys             []GetListKeysKey `pulumi:"keys"`
	ResultOutputFile *string          `pulumi:"resultOutputFile"`
	Role             *int             `pulumi:"role"`
}

A collection of values returned by getListKeys.

func GetListKeys added in v0.1.8

func GetListKeys(ctx *pulumi.Context, args *GetListKeysArgs, opts ...pulumi.InvokeOption) (*GetListKeysResult, error)

Use this data source to query detailed information of kms listKeys

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.GetListKeys(ctx, &kms.GetListKeysArgs{
			Role: pulumi.IntRef(1),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetListKeysResultOutput added in v0.1.8

type GetListKeysResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getListKeys.

func GetListKeysOutput added in v0.1.8

func GetListKeysOutput(ctx *pulumi.Context, args GetListKeysOutputArgs, opts ...pulumi.InvokeOption) GetListKeysResultOutput

func (GetListKeysResultOutput) ElementType added in v0.1.8

func (GetListKeysResultOutput) ElementType() reflect.Type

func (GetListKeysResultOutput) HsmClusterId added in v0.1.8

func (GetListKeysResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (GetListKeysResultOutput) Keys added in v0.1.8

A list of KMS keys.

func (GetListKeysResultOutput) ResultOutputFile added in v0.1.8

func (o GetListKeysResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetListKeysResultOutput) Role added in v0.1.8

func (GetListKeysResultOutput) ToGetListKeysResultOutput added in v0.1.8

func (o GetListKeysResultOutput) ToGetListKeysResultOutput() GetListKeysResultOutput

func (GetListKeysResultOutput) ToGetListKeysResultOutputWithContext added in v0.1.8

func (o GetListKeysResultOutput) ToGetListKeysResultOutputWithContext(ctx context.Context) GetListKeysResultOutput

type GetPublicKeyArgs added in v0.1.8

type GetPublicKeyArgs struct {
	// CMK unique identifier.
	KeyId string `pulumi:"keyId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getPublicKey.

type GetPublicKeyOutputArgs added in v0.1.8

type GetPublicKeyOutputArgs struct {
	// CMK unique identifier.
	KeyId pulumi.StringInput `pulumi:"keyId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getPublicKey.

func (GetPublicKeyOutputArgs) ElementType added in v0.1.8

func (GetPublicKeyOutputArgs) ElementType() reflect.Type

type GetPublicKeyResult added in v0.1.8

type GetPublicKeyResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id    string `pulumi:"id"`
	KeyId string `pulumi:"keyId"`
	// Base64-encoded public key content.
	PublicKey string `pulumi:"publicKey"`
	// Public key content in PEM format.
	PublicKeyPem     string  `pulumi:"publicKeyPem"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of values returned by getPublicKey.

func GetPublicKey added in v0.1.8

func GetPublicKey(ctx *pulumi.Context, args *GetPublicKeyArgs, opts ...pulumi.InvokeOption) (*GetPublicKeyResult, error)

Use this data source to query detailed information of kms publicKey

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleKey, err := Kms.NewKey(ctx, "exampleKey", &Kms.KeyArgs{
			Alias:                     pulumi.String("tf-example-kms-key"),
			Description:               pulumi.String("example of kms key"),
			KeyUsage:                  pulumi.String("ASYMMETRIC_DECRYPT_RSA_2048"),
			IsEnabled:                 pulumi.Bool(true),
			PendingDeleteWindowInDays: pulumi.Int(7),
		})
		if err != nil {
			return err
		}
		_ = Kms.GetPublicKeyOutput(ctx, kms.GetPublicKeyOutputArgs{
			KeyId: exampleKey.ID(),
		}, nil)
		return nil
	})
}

```

type GetPublicKeyResultOutput added in v0.1.8

type GetPublicKeyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPublicKey.

func GetPublicKeyOutput added in v0.1.8

func GetPublicKeyOutput(ctx *pulumi.Context, args GetPublicKeyOutputArgs, opts ...pulumi.InvokeOption) GetPublicKeyResultOutput

func (GetPublicKeyResultOutput) ElementType added in v0.1.8

func (GetPublicKeyResultOutput) ElementType() reflect.Type

func (GetPublicKeyResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (GetPublicKeyResultOutput) KeyId added in v0.1.8

func (GetPublicKeyResultOutput) PublicKey added in v0.1.8

Base64-encoded public key content.

func (GetPublicKeyResultOutput) PublicKeyPem added in v0.1.8

func (o GetPublicKeyResultOutput) PublicKeyPem() pulumi.StringOutput

Public key content in PEM format.

func (GetPublicKeyResultOutput) ResultOutputFile added in v0.1.8

func (o GetPublicKeyResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetPublicKeyResultOutput) ToGetPublicKeyResultOutput added in v0.1.8

func (o GetPublicKeyResultOutput) ToGetPublicKeyResultOutput() GetPublicKeyResultOutput

func (GetPublicKeyResultOutput) ToGetPublicKeyResultOutputWithContext added in v0.1.8

func (o GetPublicKeyResultOutput) ToGetPublicKeyResultOutputWithContext(ctx context.Context) GetPublicKeyResultOutput

type GetWhiteBoxDecryptKeyArgs added in v0.1.8

type GetWhiteBoxDecryptKeyArgs struct {
	// Globally unique identifier for the white box key.
	KeyId string `pulumi:"keyId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getWhiteBoxDecryptKey.

type GetWhiteBoxDecryptKeyOutputArgs added in v0.1.8

type GetWhiteBoxDecryptKeyOutputArgs struct {
	// Globally unique identifier for the white box key.
	KeyId pulumi.StringInput `pulumi:"keyId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getWhiteBoxDecryptKey.

func (GetWhiteBoxDecryptKeyOutputArgs) ElementType added in v0.1.8

type GetWhiteBoxDecryptKeyResult added in v0.1.8

type GetWhiteBoxDecryptKeyResult struct {
	// White box decryption key, base64 encoded.
	DecryptKey string `pulumi:"decryptKey"`
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	KeyId            string  `pulumi:"keyId"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of values returned by getWhiteBoxDecryptKey.

func GetWhiteBoxDecryptKey added in v0.1.8

func GetWhiteBoxDecryptKey(ctx *pulumi.Context, args *GetWhiteBoxDecryptKeyArgs, opts ...pulumi.InvokeOption) (*GetWhiteBoxDecryptKeyResult, error)

Use this data source to query detailed information of kms whiteBoxDecryptKey

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.GetWhiteBoxDecryptKey(ctx, &kms.GetWhiteBoxDecryptKeyArgs{
			KeyId: "244dab8c-6dad-11ea-80c6-5254006d0810",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetWhiteBoxDecryptKeyResultOutput added in v0.1.8

type GetWhiteBoxDecryptKeyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getWhiteBoxDecryptKey.

func GetWhiteBoxDecryptKeyOutput added in v0.1.8

func (GetWhiteBoxDecryptKeyResultOutput) DecryptKey added in v0.1.8

White box decryption key, base64 encoded.

func (GetWhiteBoxDecryptKeyResultOutput) ElementType added in v0.1.8

func (GetWhiteBoxDecryptKeyResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (GetWhiteBoxDecryptKeyResultOutput) KeyId added in v0.1.8

func (GetWhiteBoxDecryptKeyResultOutput) ResultOutputFile added in v0.1.8

func (GetWhiteBoxDecryptKeyResultOutput) ToGetWhiteBoxDecryptKeyResultOutput added in v0.1.8

func (o GetWhiteBoxDecryptKeyResultOutput) ToGetWhiteBoxDecryptKeyResultOutput() GetWhiteBoxDecryptKeyResultOutput

func (GetWhiteBoxDecryptKeyResultOutput) ToGetWhiteBoxDecryptKeyResultOutputWithContext added in v0.1.8

func (o GetWhiteBoxDecryptKeyResultOutput) ToGetWhiteBoxDecryptKeyResultOutputWithContext(ctx context.Context) GetWhiteBoxDecryptKeyResultOutput

type GetWhiteBoxDeviceFingerprintsArgs added in v0.1.8

type GetWhiteBoxDeviceFingerprintsArgs struct {
	// Globally unique identifier for the white box key.
	KeyId string `pulumi:"keyId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getWhiteBoxDeviceFingerprints.

type GetWhiteBoxDeviceFingerprintsList added in v0.1.8

type GetWhiteBoxDeviceFingerprintsList struct {
	// Description.
	Description string `pulumi:"description"`
	// identity.
	Identity string `pulumi:"identity"`
}

type GetWhiteBoxDeviceFingerprintsListArgs added in v0.1.8

type GetWhiteBoxDeviceFingerprintsListArgs struct {
	// Description.
	Description pulumi.StringInput `pulumi:"description"`
	// identity.
	Identity pulumi.StringInput `pulumi:"identity"`
}

func (GetWhiteBoxDeviceFingerprintsListArgs) ElementType added in v0.1.8

func (GetWhiteBoxDeviceFingerprintsListArgs) ToGetWhiteBoxDeviceFingerprintsListOutput added in v0.1.8

func (i GetWhiteBoxDeviceFingerprintsListArgs) ToGetWhiteBoxDeviceFingerprintsListOutput() GetWhiteBoxDeviceFingerprintsListOutput

func (GetWhiteBoxDeviceFingerprintsListArgs) ToGetWhiteBoxDeviceFingerprintsListOutputWithContext added in v0.1.8

func (i GetWhiteBoxDeviceFingerprintsListArgs) ToGetWhiteBoxDeviceFingerprintsListOutputWithContext(ctx context.Context) GetWhiteBoxDeviceFingerprintsListOutput

type GetWhiteBoxDeviceFingerprintsListArray added in v0.1.8

type GetWhiteBoxDeviceFingerprintsListArray []GetWhiteBoxDeviceFingerprintsListInput

func (GetWhiteBoxDeviceFingerprintsListArray) ElementType added in v0.1.8

func (GetWhiteBoxDeviceFingerprintsListArray) ToGetWhiteBoxDeviceFingerprintsListArrayOutput added in v0.1.8

func (i GetWhiteBoxDeviceFingerprintsListArray) ToGetWhiteBoxDeviceFingerprintsListArrayOutput() GetWhiteBoxDeviceFingerprintsListArrayOutput

func (GetWhiteBoxDeviceFingerprintsListArray) ToGetWhiteBoxDeviceFingerprintsListArrayOutputWithContext added in v0.1.8

func (i GetWhiteBoxDeviceFingerprintsListArray) ToGetWhiteBoxDeviceFingerprintsListArrayOutputWithContext(ctx context.Context) GetWhiteBoxDeviceFingerprintsListArrayOutput

type GetWhiteBoxDeviceFingerprintsListArrayInput added in v0.1.8

type GetWhiteBoxDeviceFingerprintsListArrayInput interface {
	pulumi.Input

	ToGetWhiteBoxDeviceFingerprintsListArrayOutput() GetWhiteBoxDeviceFingerprintsListArrayOutput
	ToGetWhiteBoxDeviceFingerprintsListArrayOutputWithContext(context.Context) GetWhiteBoxDeviceFingerprintsListArrayOutput
}

GetWhiteBoxDeviceFingerprintsListArrayInput is an input type that accepts GetWhiteBoxDeviceFingerprintsListArray and GetWhiteBoxDeviceFingerprintsListArrayOutput values. You can construct a concrete instance of `GetWhiteBoxDeviceFingerprintsListArrayInput` via:

GetWhiteBoxDeviceFingerprintsListArray{ GetWhiteBoxDeviceFingerprintsListArgs{...} }

type GetWhiteBoxDeviceFingerprintsListArrayOutput added in v0.1.8

type GetWhiteBoxDeviceFingerprintsListArrayOutput struct{ *pulumi.OutputState }

func (GetWhiteBoxDeviceFingerprintsListArrayOutput) ElementType added in v0.1.8

func (GetWhiteBoxDeviceFingerprintsListArrayOutput) Index added in v0.1.8

func (GetWhiteBoxDeviceFingerprintsListArrayOutput) ToGetWhiteBoxDeviceFingerprintsListArrayOutput added in v0.1.8

func (o GetWhiteBoxDeviceFingerprintsListArrayOutput) ToGetWhiteBoxDeviceFingerprintsListArrayOutput() GetWhiteBoxDeviceFingerprintsListArrayOutput

func (GetWhiteBoxDeviceFingerprintsListArrayOutput) ToGetWhiteBoxDeviceFingerprintsListArrayOutputWithContext added in v0.1.8

func (o GetWhiteBoxDeviceFingerprintsListArrayOutput) ToGetWhiteBoxDeviceFingerprintsListArrayOutputWithContext(ctx context.Context) GetWhiteBoxDeviceFingerprintsListArrayOutput

type GetWhiteBoxDeviceFingerprintsListInput added in v0.1.8

type GetWhiteBoxDeviceFingerprintsListInput interface {
	pulumi.Input

	ToGetWhiteBoxDeviceFingerprintsListOutput() GetWhiteBoxDeviceFingerprintsListOutput
	ToGetWhiteBoxDeviceFingerprintsListOutputWithContext(context.Context) GetWhiteBoxDeviceFingerprintsListOutput
}

GetWhiteBoxDeviceFingerprintsListInput is an input type that accepts GetWhiteBoxDeviceFingerprintsListArgs and GetWhiteBoxDeviceFingerprintsListOutput values. You can construct a concrete instance of `GetWhiteBoxDeviceFingerprintsListInput` via:

GetWhiteBoxDeviceFingerprintsListArgs{...}

type GetWhiteBoxDeviceFingerprintsListOutput added in v0.1.8

type GetWhiteBoxDeviceFingerprintsListOutput struct{ *pulumi.OutputState }

func (GetWhiteBoxDeviceFingerprintsListOutput) Description added in v0.1.8

Description.

func (GetWhiteBoxDeviceFingerprintsListOutput) ElementType added in v0.1.8

func (GetWhiteBoxDeviceFingerprintsListOutput) Identity added in v0.1.8

identity.

func (GetWhiteBoxDeviceFingerprintsListOutput) ToGetWhiteBoxDeviceFingerprintsListOutput added in v0.1.8

func (o GetWhiteBoxDeviceFingerprintsListOutput) ToGetWhiteBoxDeviceFingerprintsListOutput() GetWhiteBoxDeviceFingerprintsListOutput

func (GetWhiteBoxDeviceFingerprintsListOutput) ToGetWhiteBoxDeviceFingerprintsListOutputWithContext added in v0.1.8

func (o GetWhiteBoxDeviceFingerprintsListOutput) ToGetWhiteBoxDeviceFingerprintsListOutputWithContext(ctx context.Context) GetWhiteBoxDeviceFingerprintsListOutput

type GetWhiteBoxDeviceFingerprintsOutputArgs added in v0.1.8

type GetWhiteBoxDeviceFingerprintsOutputArgs struct {
	// Globally unique identifier for the white box key.
	KeyId pulumi.StringInput `pulumi:"keyId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getWhiteBoxDeviceFingerprints.

func (GetWhiteBoxDeviceFingerprintsOutputArgs) ElementType added in v0.1.8

type GetWhiteBoxDeviceFingerprintsResult added in v0.1.8

type GetWhiteBoxDeviceFingerprintsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id    string `pulumi:"id"`
	KeyId string `pulumi:"keyId"`
	// Device fingerprint list.
	Lists            []GetWhiteBoxDeviceFingerprintsList `pulumi:"lists"`
	ResultOutputFile *string                             `pulumi:"resultOutputFile"`
}

A collection of values returned by getWhiteBoxDeviceFingerprints.

func GetWhiteBoxDeviceFingerprints added in v0.1.8

Use this data source to query detailed information of kms whiteBoxDeviceFingerprints

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.GetWhiteBoxDeviceFingerprints(ctx, &kms.GetWhiteBoxDeviceFingerprintsArgs{
			KeyId: "244dab8c-6dad-11ea-80c6-5254006d0810",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetWhiteBoxDeviceFingerprintsResultOutput added in v0.1.8

type GetWhiteBoxDeviceFingerprintsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getWhiteBoxDeviceFingerprints.

func (GetWhiteBoxDeviceFingerprintsResultOutput) ElementType added in v0.1.8

func (GetWhiteBoxDeviceFingerprintsResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (GetWhiteBoxDeviceFingerprintsResultOutput) KeyId added in v0.1.8

func (GetWhiteBoxDeviceFingerprintsResultOutput) Lists added in v0.1.8

Device fingerprint list.

func (GetWhiteBoxDeviceFingerprintsResultOutput) ResultOutputFile added in v0.1.8

func (GetWhiteBoxDeviceFingerprintsResultOutput) ToGetWhiteBoxDeviceFingerprintsResultOutput added in v0.1.8

func (o GetWhiteBoxDeviceFingerprintsResultOutput) ToGetWhiteBoxDeviceFingerprintsResultOutput() GetWhiteBoxDeviceFingerprintsResultOutput

func (GetWhiteBoxDeviceFingerprintsResultOutput) ToGetWhiteBoxDeviceFingerprintsResultOutputWithContext added in v0.1.8

func (o GetWhiteBoxDeviceFingerprintsResultOutput) ToGetWhiteBoxDeviceFingerprintsResultOutputWithContext(ctx context.Context) GetWhiteBoxDeviceFingerprintsResultOutput

type GetWhiteBoxKeyDetailsArgs added in v0.1.8

type GetWhiteBoxKeyDetailsArgs struct {
	// Filter condition: status of the key, 0: disabled, 1: enabled.
	KeyStatus *int `pulumi:"keyStatus"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getWhiteBoxKeyDetails.

type GetWhiteBoxKeyDetailsKeyInfo added in v0.1.8

type GetWhiteBoxKeyDetailsKeyInfo struct {
	// The type of algorithm used by the key.
	Algorithm string `pulumi:"algorithm"`
	// As an alias for a key that is easier to identify and easier to understand, it cannot be empty and is a combination of 1-60 alphanumeric characters - _. The first character must be a letter or number. It cannot be repeated.
	Alias string `pulumi:"alias"`
	// Key creation time, Unix timestamp.
	CreateTime int `pulumi:"createTime"`
	// Creator.
	CreatorUin int `pulumi:"creatorUin"`
	// White box decryption key, base64 encoded.
	DecryptKey string `pulumi:"decryptKey"`
	// Description of the key.
	Description string `pulumi:"description"`
	// Is there a device fingerprint bound to the current key?.
	DeviceFingerprintBind bool `pulumi:"deviceFingerprintBind"`
	// White box encryption key, base64 encoded.
	EncryptKey string `pulumi:"encryptKey"`
	// Globally unique identifier for the white box key.
	KeyId string `pulumi:"keyId"`
	// Creator.
	OwnerUin int `pulumi:"ownerUin"`
	// Resource ID, format: creatorUin/$creatorUin/$keyId.
	ResourceId string `pulumi:"resourceId"`
	// The status of the white box key, the value is: Enabled | Disabled.
	Status string `pulumi:"status"`
}

type GetWhiteBoxKeyDetailsKeyInfoArgs added in v0.1.8

type GetWhiteBoxKeyDetailsKeyInfoArgs struct {
	// The type of algorithm used by the key.
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	// As an alias for a key that is easier to identify and easier to understand, it cannot be empty and is a combination of 1-60 alphanumeric characters - _. The first character must be a letter or number. It cannot be repeated.
	Alias pulumi.StringInput `pulumi:"alias"`
	// Key creation time, Unix timestamp.
	CreateTime pulumi.IntInput `pulumi:"createTime"`
	// Creator.
	CreatorUin pulumi.IntInput `pulumi:"creatorUin"`
	// White box decryption key, base64 encoded.
	DecryptKey pulumi.StringInput `pulumi:"decryptKey"`
	// Description of the key.
	Description pulumi.StringInput `pulumi:"description"`
	// Is there a device fingerprint bound to the current key?.
	DeviceFingerprintBind pulumi.BoolInput `pulumi:"deviceFingerprintBind"`
	// White box encryption key, base64 encoded.
	EncryptKey pulumi.StringInput `pulumi:"encryptKey"`
	// Globally unique identifier for the white box key.
	KeyId pulumi.StringInput `pulumi:"keyId"`
	// Creator.
	OwnerUin pulumi.IntInput `pulumi:"ownerUin"`
	// Resource ID, format: creatorUin/$creatorUin/$keyId.
	ResourceId pulumi.StringInput `pulumi:"resourceId"`
	// The status of the white box key, the value is: Enabled | Disabled.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetWhiteBoxKeyDetailsKeyInfoArgs) ElementType added in v0.1.8

func (GetWhiteBoxKeyDetailsKeyInfoArgs) ToGetWhiteBoxKeyDetailsKeyInfoOutput added in v0.1.8

func (i GetWhiteBoxKeyDetailsKeyInfoArgs) ToGetWhiteBoxKeyDetailsKeyInfoOutput() GetWhiteBoxKeyDetailsKeyInfoOutput

func (GetWhiteBoxKeyDetailsKeyInfoArgs) ToGetWhiteBoxKeyDetailsKeyInfoOutputWithContext added in v0.1.8

func (i GetWhiteBoxKeyDetailsKeyInfoArgs) ToGetWhiteBoxKeyDetailsKeyInfoOutputWithContext(ctx context.Context) GetWhiteBoxKeyDetailsKeyInfoOutput

type GetWhiteBoxKeyDetailsKeyInfoArray added in v0.1.8

type GetWhiteBoxKeyDetailsKeyInfoArray []GetWhiteBoxKeyDetailsKeyInfoInput

func (GetWhiteBoxKeyDetailsKeyInfoArray) ElementType added in v0.1.8

func (GetWhiteBoxKeyDetailsKeyInfoArray) ToGetWhiteBoxKeyDetailsKeyInfoArrayOutput added in v0.1.8

func (i GetWhiteBoxKeyDetailsKeyInfoArray) ToGetWhiteBoxKeyDetailsKeyInfoArrayOutput() GetWhiteBoxKeyDetailsKeyInfoArrayOutput

func (GetWhiteBoxKeyDetailsKeyInfoArray) ToGetWhiteBoxKeyDetailsKeyInfoArrayOutputWithContext added in v0.1.8

func (i GetWhiteBoxKeyDetailsKeyInfoArray) ToGetWhiteBoxKeyDetailsKeyInfoArrayOutputWithContext(ctx context.Context) GetWhiteBoxKeyDetailsKeyInfoArrayOutput

type GetWhiteBoxKeyDetailsKeyInfoArrayInput added in v0.1.8

type GetWhiteBoxKeyDetailsKeyInfoArrayInput interface {
	pulumi.Input

	ToGetWhiteBoxKeyDetailsKeyInfoArrayOutput() GetWhiteBoxKeyDetailsKeyInfoArrayOutput
	ToGetWhiteBoxKeyDetailsKeyInfoArrayOutputWithContext(context.Context) GetWhiteBoxKeyDetailsKeyInfoArrayOutput
}

GetWhiteBoxKeyDetailsKeyInfoArrayInput is an input type that accepts GetWhiteBoxKeyDetailsKeyInfoArray and GetWhiteBoxKeyDetailsKeyInfoArrayOutput values. You can construct a concrete instance of `GetWhiteBoxKeyDetailsKeyInfoArrayInput` via:

GetWhiteBoxKeyDetailsKeyInfoArray{ GetWhiteBoxKeyDetailsKeyInfoArgs{...} }

type GetWhiteBoxKeyDetailsKeyInfoArrayOutput added in v0.1.8

type GetWhiteBoxKeyDetailsKeyInfoArrayOutput struct{ *pulumi.OutputState }

func (GetWhiteBoxKeyDetailsKeyInfoArrayOutput) ElementType added in v0.1.8

func (GetWhiteBoxKeyDetailsKeyInfoArrayOutput) Index added in v0.1.8

func (GetWhiteBoxKeyDetailsKeyInfoArrayOutput) ToGetWhiteBoxKeyDetailsKeyInfoArrayOutput added in v0.1.8

func (o GetWhiteBoxKeyDetailsKeyInfoArrayOutput) ToGetWhiteBoxKeyDetailsKeyInfoArrayOutput() GetWhiteBoxKeyDetailsKeyInfoArrayOutput

func (GetWhiteBoxKeyDetailsKeyInfoArrayOutput) ToGetWhiteBoxKeyDetailsKeyInfoArrayOutputWithContext added in v0.1.8

func (o GetWhiteBoxKeyDetailsKeyInfoArrayOutput) ToGetWhiteBoxKeyDetailsKeyInfoArrayOutputWithContext(ctx context.Context) GetWhiteBoxKeyDetailsKeyInfoArrayOutput

type GetWhiteBoxKeyDetailsKeyInfoInput added in v0.1.8

type GetWhiteBoxKeyDetailsKeyInfoInput interface {
	pulumi.Input

	ToGetWhiteBoxKeyDetailsKeyInfoOutput() GetWhiteBoxKeyDetailsKeyInfoOutput
	ToGetWhiteBoxKeyDetailsKeyInfoOutputWithContext(context.Context) GetWhiteBoxKeyDetailsKeyInfoOutput
}

GetWhiteBoxKeyDetailsKeyInfoInput is an input type that accepts GetWhiteBoxKeyDetailsKeyInfoArgs and GetWhiteBoxKeyDetailsKeyInfoOutput values. You can construct a concrete instance of `GetWhiteBoxKeyDetailsKeyInfoInput` via:

GetWhiteBoxKeyDetailsKeyInfoArgs{...}

type GetWhiteBoxKeyDetailsKeyInfoOutput added in v0.1.8

type GetWhiteBoxKeyDetailsKeyInfoOutput struct{ *pulumi.OutputState }

func (GetWhiteBoxKeyDetailsKeyInfoOutput) Algorithm added in v0.1.8

The type of algorithm used by the key.

func (GetWhiteBoxKeyDetailsKeyInfoOutput) Alias added in v0.1.8

As an alias for a key that is easier to identify and easier to understand, it cannot be empty and is a combination of 1-60 alphanumeric characters - _. The first character must be a letter or number. It cannot be repeated.

func (GetWhiteBoxKeyDetailsKeyInfoOutput) CreateTime added in v0.1.8

Key creation time, Unix timestamp.

func (GetWhiteBoxKeyDetailsKeyInfoOutput) CreatorUin added in v0.1.8

Creator.

func (GetWhiteBoxKeyDetailsKeyInfoOutput) DecryptKey added in v0.1.8

White box decryption key, base64 encoded.

func (GetWhiteBoxKeyDetailsKeyInfoOutput) Description added in v0.1.8

Description of the key.

func (GetWhiteBoxKeyDetailsKeyInfoOutput) DeviceFingerprintBind added in v0.1.8

func (o GetWhiteBoxKeyDetailsKeyInfoOutput) DeviceFingerprintBind() pulumi.BoolOutput

Is there a device fingerprint bound to the current key?.

func (GetWhiteBoxKeyDetailsKeyInfoOutput) ElementType added in v0.1.8

func (GetWhiteBoxKeyDetailsKeyInfoOutput) EncryptKey added in v0.1.8

White box encryption key, base64 encoded.

func (GetWhiteBoxKeyDetailsKeyInfoOutput) KeyId added in v0.1.8

Globally unique identifier for the white box key.

func (GetWhiteBoxKeyDetailsKeyInfoOutput) OwnerUin added in v0.1.8

Creator.

func (GetWhiteBoxKeyDetailsKeyInfoOutput) ResourceId added in v0.1.8

Resource ID, format: creatorUin/$creatorUin/$keyId.

func (GetWhiteBoxKeyDetailsKeyInfoOutput) Status added in v0.1.8

The status of the white box key, the value is: Enabled | Disabled.

func (GetWhiteBoxKeyDetailsKeyInfoOutput) ToGetWhiteBoxKeyDetailsKeyInfoOutput added in v0.1.8

func (o GetWhiteBoxKeyDetailsKeyInfoOutput) ToGetWhiteBoxKeyDetailsKeyInfoOutput() GetWhiteBoxKeyDetailsKeyInfoOutput

func (GetWhiteBoxKeyDetailsKeyInfoOutput) ToGetWhiteBoxKeyDetailsKeyInfoOutputWithContext added in v0.1.8

func (o GetWhiteBoxKeyDetailsKeyInfoOutput) ToGetWhiteBoxKeyDetailsKeyInfoOutputWithContext(ctx context.Context) GetWhiteBoxKeyDetailsKeyInfoOutput

type GetWhiteBoxKeyDetailsOutputArgs added in v0.1.8

type GetWhiteBoxKeyDetailsOutputArgs struct {
	// Filter condition: status of the key, 0: disabled, 1: enabled.
	KeyStatus pulumi.IntPtrInput `pulumi:"keyStatus"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getWhiteBoxKeyDetails.

func (GetWhiteBoxKeyDetailsOutputArgs) ElementType added in v0.1.8

type GetWhiteBoxKeyDetailsResult added in v0.1.8

type GetWhiteBoxKeyDetailsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// List of white box key information.
	KeyInfos         []GetWhiteBoxKeyDetailsKeyInfo `pulumi:"keyInfos"`
	KeyStatus        *int                           `pulumi:"keyStatus"`
	ResultOutputFile *string                        `pulumi:"resultOutputFile"`
}

A collection of values returned by getWhiteBoxKeyDetails.

func GetWhiteBoxKeyDetails added in v0.1.8

func GetWhiteBoxKeyDetails(ctx *pulumi.Context, args *GetWhiteBoxKeyDetailsArgs, opts ...pulumi.InvokeOption) (*GetWhiteBoxKeyDetailsResult, error)

Use this data source to query detailed information of kms whiteBoxKeyDetails

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.GetWhiteBoxKeyDetails(ctx, &kms.GetWhiteBoxKeyDetailsArgs{
			KeyStatus: pulumi.IntRef(0),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetWhiteBoxKeyDetailsResultOutput added in v0.1.8

type GetWhiteBoxKeyDetailsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getWhiteBoxKeyDetails.

func GetWhiteBoxKeyDetailsOutput added in v0.1.8

func (GetWhiteBoxKeyDetailsResultOutput) ElementType added in v0.1.8

func (GetWhiteBoxKeyDetailsResultOutput) Id added in v0.1.8

The provider-assigned unique ID for this managed resource.

func (GetWhiteBoxKeyDetailsResultOutput) KeyInfos added in v0.1.8

List of white box key information.

func (GetWhiteBoxKeyDetailsResultOutput) KeyStatus added in v0.1.8

func (GetWhiteBoxKeyDetailsResultOutput) ResultOutputFile added in v0.1.8

func (GetWhiteBoxKeyDetailsResultOutput) ToGetWhiteBoxKeyDetailsResultOutput added in v0.1.8

func (o GetWhiteBoxKeyDetailsResultOutput) ToGetWhiteBoxKeyDetailsResultOutput() GetWhiteBoxKeyDetailsResultOutput

func (GetWhiteBoxKeyDetailsResultOutput) ToGetWhiteBoxKeyDetailsResultOutputWithContext added in v0.1.8

func (o GetWhiteBoxKeyDetailsResultOutput) ToGetWhiteBoxKeyDetailsResultOutputWithContext(ctx context.Context) GetWhiteBoxKeyDetailsResultOutput

type Key

type Key struct {
	pulumi.CustomResourceState

	// Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
	Alias pulumi.StringOutput `pulumi:"alias"`
	// Description of CMK. The maximum is 1024 bytes.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specify whether to archive key. Default value is `false`. This field is conflict with `isEnabled`, valid when keyState is `Enabled`, `Disabled`, `Archived`.
	IsArchived pulumi.BoolPtrOutput `pulumi:"isArchived"`
	// Specify whether to enable key. Default value is `false`. This field is conflict with `isArchived`, valid when keyState is `Enabled`, `Disabled`, `Archived`.
	IsEnabled pulumi.BoolPtrOutput `pulumi:"isEnabled"`
	// Specify whether to enable key rotation, valid when keyUsage is `ENCRYPT_DECRYPT`. Default value is `false`.
	KeyRotationEnabled pulumi.BoolPtrOutput `pulumi:"keyRotationEnabled"`
	// State of CMK.
	KeyState pulumi.StringOutput `pulumi:"keyState"`
	// Usage of CMK. Available values include `ENCRYPT_DECRYPT`, `ASYMMETRIC_DECRYPT_RSA_2048`, `ASYMMETRIC_DECRYPT_SM2`, `ASYMMETRIC_SIGN_VERIFY_SM2`, `ASYMMETRIC_SIGN_VERIFY_RSA_2048`, `ASYMMETRIC_SIGN_VERIFY_ECC`. Default value is `ENCRYPT_DECRYPT`.
	KeyUsage pulumi.StringPtrOutput `pulumi:"keyUsage"`
	// Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 7 days.
	PendingDeleteWindowInDays pulumi.IntPtrOutput `pulumi:"pendingDeleteWindowInDays"`
	// Tags of CMK.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provide a resource to create a KMS key.

## Example Usage ### Create and enable a instance.

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.NewKey(ctx, "example", &Kms.KeyArgs{
			Alias:              pulumi.String("tf-example-kms-key"),
			Description:        pulumi.String("example of kms key"),
			IsEnabled:          pulumi.Bool(true),
			KeyRotationEnabled: pulumi.Bool(false),
			Tags: pulumi.AnyMap{
				"createdBy": pulumi.Any("terraform"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Specify the Key Usage as an asymmetry method.

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.NewKey(ctx, "example2", &Kms.KeyArgs{
			Alias:       pulumi.String("tf-example-kms-key"),
			Description: pulumi.String("example of kms key"),
			IsEnabled:   pulumi.Bool(false),
			KeyUsage:    pulumi.String("ASYMMETRIC_DECRYPT_RSA_2048"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Disable the kms key instance.

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.NewKey(ctx, "example3", &Kms.KeyArgs{
			Alias:              pulumi.String("tf-example-kms-key"),
			Description:        pulumi.String("example of kms key"),
			IsEnabled:          pulumi.Bool(false),
			KeyRotationEnabled: pulumi.Bool(false),
			Tags: pulumi.AnyMap{
				"test-tag": pulumi.Any("unit-test"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

KMS keys can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Kms/key:Key foo 287e8f40-7cbb-11eb-9a3a-5254004f7f94

```

func GetKey

func GetKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KeyState, opts ...pulumi.ResourceOption) (*Key, error)

GetKey gets an existing Key resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewKey

func NewKey(ctx *pulumi.Context,
	name string, args *KeyArgs, opts ...pulumi.ResourceOption) (*Key, error)

NewKey registers a new resource with the given unique name, arguments, and options.

func (*Key) ElementType

func (*Key) ElementType() reflect.Type

func (*Key) ToKeyOutput

func (i *Key) ToKeyOutput() KeyOutput

func (*Key) ToKeyOutputWithContext

func (i *Key) ToKeyOutputWithContext(ctx context.Context) KeyOutput

type KeyArgs

type KeyArgs struct {
	// Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
	Alias pulumi.StringInput
	// Description of CMK. The maximum is 1024 bytes.
	Description pulumi.StringPtrInput
	// Specify whether to archive key. Default value is `false`. This field is conflict with `isEnabled`, valid when keyState is `Enabled`, `Disabled`, `Archived`.
	IsArchived pulumi.BoolPtrInput
	// Specify whether to enable key. Default value is `false`. This field is conflict with `isArchived`, valid when keyState is `Enabled`, `Disabled`, `Archived`.
	IsEnabled pulumi.BoolPtrInput
	// Specify whether to enable key rotation, valid when keyUsage is `ENCRYPT_DECRYPT`. Default value is `false`.
	KeyRotationEnabled pulumi.BoolPtrInput
	// Usage of CMK. Available values include `ENCRYPT_DECRYPT`, `ASYMMETRIC_DECRYPT_RSA_2048`, `ASYMMETRIC_DECRYPT_SM2`, `ASYMMETRIC_SIGN_VERIFY_SM2`, `ASYMMETRIC_SIGN_VERIFY_RSA_2048`, `ASYMMETRIC_SIGN_VERIFY_ECC`. Default value is `ENCRYPT_DECRYPT`.
	KeyUsage pulumi.StringPtrInput
	// Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 7 days.
	PendingDeleteWindowInDays pulumi.IntPtrInput
	// Tags of CMK.
	Tags pulumi.MapInput
}

The set of arguments for constructing a Key resource.

func (KeyArgs) ElementType

func (KeyArgs) ElementType() reflect.Type

type KeyArray

type KeyArray []KeyInput

func (KeyArray) ElementType

func (KeyArray) ElementType() reflect.Type

func (KeyArray) ToKeyArrayOutput

func (i KeyArray) ToKeyArrayOutput() KeyArrayOutput

func (KeyArray) ToKeyArrayOutputWithContext

func (i KeyArray) ToKeyArrayOutputWithContext(ctx context.Context) KeyArrayOutput

type KeyArrayInput

type KeyArrayInput interface {
	pulumi.Input

	ToKeyArrayOutput() KeyArrayOutput
	ToKeyArrayOutputWithContext(context.Context) KeyArrayOutput
}

KeyArrayInput is an input type that accepts KeyArray and KeyArrayOutput values. You can construct a concrete instance of `KeyArrayInput` via:

KeyArray{ KeyArgs{...} }

type KeyArrayOutput

type KeyArrayOutput struct{ *pulumi.OutputState }

func (KeyArrayOutput) ElementType

func (KeyArrayOutput) ElementType() reflect.Type

func (KeyArrayOutput) Index

func (KeyArrayOutput) ToKeyArrayOutput

func (o KeyArrayOutput) ToKeyArrayOutput() KeyArrayOutput

func (KeyArrayOutput) ToKeyArrayOutputWithContext

func (o KeyArrayOutput) ToKeyArrayOutputWithContext(ctx context.Context) KeyArrayOutput

type KeyInput

type KeyInput interface {
	pulumi.Input

	ToKeyOutput() KeyOutput
	ToKeyOutputWithContext(ctx context.Context) KeyOutput
}

type KeyMap

type KeyMap map[string]KeyInput

func (KeyMap) ElementType

func (KeyMap) ElementType() reflect.Type

func (KeyMap) ToKeyMapOutput

func (i KeyMap) ToKeyMapOutput() KeyMapOutput

func (KeyMap) ToKeyMapOutputWithContext

func (i KeyMap) ToKeyMapOutputWithContext(ctx context.Context) KeyMapOutput

type KeyMapInput

type KeyMapInput interface {
	pulumi.Input

	ToKeyMapOutput() KeyMapOutput
	ToKeyMapOutputWithContext(context.Context) KeyMapOutput
}

KeyMapInput is an input type that accepts KeyMap and KeyMapOutput values. You can construct a concrete instance of `KeyMapInput` via:

KeyMap{ "key": KeyArgs{...} }

type KeyMapOutput

type KeyMapOutput struct{ *pulumi.OutputState }

func (KeyMapOutput) ElementType

func (KeyMapOutput) ElementType() reflect.Type

func (KeyMapOutput) MapIndex

func (o KeyMapOutput) MapIndex(k pulumi.StringInput) KeyOutput

func (KeyMapOutput) ToKeyMapOutput

func (o KeyMapOutput) ToKeyMapOutput() KeyMapOutput

func (KeyMapOutput) ToKeyMapOutputWithContext

func (o KeyMapOutput) ToKeyMapOutputWithContext(ctx context.Context) KeyMapOutput

type KeyOutput

type KeyOutput struct{ *pulumi.OutputState }

func (KeyOutput) Alias

func (o KeyOutput) Alias() pulumi.StringOutput

Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.

func (KeyOutput) Description

func (o KeyOutput) Description() pulumi.StringPtrOutput

Description of CMK. The maximum is 1024 bytes.

func (KeyOutput) ElementType

func (KeyOutput) ElementType() reflect.Type

func (KeyOutput) IsArchived

func (o KeyOutput) IsArchived() pulumi.BoolPtrOutput

Specify whether to archive key. Default value is `false`. This field is conflict with `isEnabled`, valid when keyState is `Enabled`, `Disabled`, `Archived`.

func (KeyOutput) IsEnabled

func (o KeyOutput) IsEnabled() pulumi.BoolPtrOutput

Specify whether to enable key. Default value is `false`. This field is conflict with `isArchived`, valid when keyState is `Enabled`, `Disabled`, `Archived`.

func (KeyOutput) KeyRotationEnabled

func (o KeyOutput) KeyRotationEnabled() pulumi.BoolPtrOutput

Specify whether to enable key rotation, valid when keyUsage is `ENCRYPT_DECRYPT`. Default value is `false`.

func (KeyOutput) KeyState

func (o KeyOutput) KeyState() pulumi.StringOutput

State of CMK.

func (KeyOutput) KeyUsage

func (o KeyOutput) KeyUsage() pulumi.StringPtrOutput

Usage of CMK. Available values include `ENCRYPT_DECRYPT`, `ASYMMETRIC_DECRYPT_RSA_2048`, `ASYMMETRIC_DECRYPT_SM2`, `ASYMMETRIC_SIGN_VERIFY_SM2`, `ASYMMETRIC_SIGN_VERIFY_RSA_2048`, `ASYMMETRIC_SIGN_VERIFY_ECC`. Default value is `ENCRYPT_DECRYPT`.

func (KeyOutput) PendingDeleteWindowInDays

func (o KeyOutput) PendingDeleteWindowInDays() pulumi.IntPtrOutput

Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 7 days.

func (KeyOutput) Tags

func (o KeyOutput) Tags() pulumi.MapOutput

Tags of CMK.

func (KeyOutput) ToKeyOutput

func (o KeyOutput) ToKeyOutput() KeyOutput

func (KeyOutput) ToKeyOutputWithContext

func (o KeyOutput) ToKeyOutputWithContext(ctx context.Context) KeyOutput

type KeyState

type KeyState struct {
	// Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
	Alias pulumi.StringPtrInput
	// Description of CMK. The maximum is 1024 bytes.
	Description pulumi.StringPtrInput
	// Specify whether to archive key. Default value is `false`. This field is conflict with `isEnabled`, valid when keyState is `Enabled`, `Disabled`, `Archived`.
	IsArchived pulumi.BoolPtrInput
	// Specify whether to enable key. Default value is `false`. This field is conflict with `isArchived`, valid when keyState is `Enabled`, `Disabled`, `Archived`.
	IsEnabled pulumi.BoolPtrInput
	// Specify whether to enable key rotation, valid when keyUsage is `ENCRYPT_DECRYPT`. Default value is `false`.
	KeyRotationEnabled pulumi.BoolPtrInput
	// State of CMK.
	KeyState pulumi.StringPtrInput
	// Usage of CMK. Available values include `ENCRYPT_DECRYPT`, `ASYMMETRIC_DECRYPT_RSA_2048`, `ASYMMETRIC_DECRYPT_SM2`, `ASYMMETRIC_SIGN_VERIFY_SM2`, `ASYMMETRIC_SIGN_VERIFY_RSA_2048`, `ASYMMETRIC_SIGN_VERIFY_ECC`. Default value is `ENCRYPT_DECRYPT`.
	KeyUsage pulumi.StringPtrInput
	// Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 7 days.
	PendingDeleteWindowInDays pulumi.IntPtrInput
	// Tags of CMK.
	Tags pulumi.MapInput
}

func (KeyState) ElementType

func (KeyState) ElementType() reflect.Type

type OverwriteWhiteBoxDeviceFingerprints added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprints struct {
	pulumi.CustomResourceState

	// Device fingerprint list.
	DeviceFingerprints OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput `pulumi:"deviceFingerprints"`
	// CMK unique identifier.
	KeyId pulumi.StringOutput `pulumi:"keyId"`
}

Provides a resource to create a kms overwriteWhiteBoxDeviceFingerprints

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.NewOverwriteWhiteBoxDeviceFingerprints(ctx, "example", &Kms.OverwriteWhiteBoxDeviceFingerprintsArgs{
			KeyId: pulumi.String("23e80852-1e38-11e9-b129-5cb9019b4b01"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetOverwriteWhiteBoxDeviceFingerprints added in v0.1.8

func GetOverwriteWhiteBoxDeviceFingerprints(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OverwriteWhiteBoxDeviceFingerprintsState, opts ...pulumi.ResourceOption) (*OverwriteWhiteBoxDeviceFingerprints, error)

GetOverwriteWhiteBoxDeviceFingerprints gets an existing OverwriteWhiteBoxDeviceFingerprints resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewOverwriteWhiteBoxDeviceFingerprints added in v0.1.8

func NewOverwriteWhiteBoxDeviceFingerprints(ctx *pulumi.Context,
	name string, args *OverwriteWhiteBoxDeviceFingerprintsArgs, opts ...pulumi.ResourceOption) (*OverwriteWhiteBoxDeviceFingerprints, error)

NewOverwriteWhiteBoxDeviceFingerprints registers a new resource with the given unique name, arguments, and options.

func (*OverwriteWhiteBoxDeviceFingerprints) ElementType added in v0.1.8

func (*OverwriteWhiteBoxDeviceFingerprints) ToOverwriteWhiteBoxDeviceFingerprintsOutput added in v0.1.8

func (i *OverwriteWhiteBoxDeviceFingerprints) ToOverwriteWhiteBoxDeviceFingerprintsOutput() OverwriteWhiteBoxDeviceFingerprintsOutput

func (*OverwriteWhiteBoxDeviceFingerprints) ToOverwriteWhiteBoxDeviceFingerprintsOutputWithContext added in v0.1.8

func (i *OverwriteWhiteBoxDeviceFingerprints) ToOverwriteWhiteBoxDeviceFingerprintsOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsOutput

type OverwriteWhiteBoxDeviceFingerprintsArgs added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsArgs struct {
	// Device fingerprint list.
	DeviceFingerprints OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayInput
	// CMK unique identifier.
	KeyId pulumi.StringInput
}

The set of arguments for constructing a OverwriteWhiteBoxDeviceFingerprints resource.

func (OverwriteWhiteBoxDeviceFingerprintsArgs) ElementType added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsArray added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsArray []OverwriteWhiteBoxDeviceFingerprintsInput

func (OverwriteWhiteBoxDeviceFingerprintsArray) ElementType added in v0.1.8

func (OverwriteWhiteBoxDeviceFingerprintsArray) ToOverwriteWhiteBoxDeviceFingerprintsArrayOutput added in v0.1.8

func (i OverwriteWhiteBoxDeviceFingerprintsArray) ToOverwriteWhiteBoxDeviceFingerprintsArrayOutput() OverwriteWhiteBoxDeviceFingerprintsArrayOutput

func (OverwriteWhiteBoxDeviceFingerprintsArray) ToOverwriteWhiteBoxDeviceFingerprintsArrayOutputWithContext added in v0.1.8

func (i OverwriteWhiteBoxDeviceFingerprintsArray) ToOverwriteWhiteBoxDeviceFingerprintsArrayOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsArrayOutput

type OverwriteWhiteBoxDeviceFingerprintsArrayInput added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsArrayInput interface {
	pulumi.Input

	ToOverwriteWhiteBoxDeviceFingerprintsArrayOutput() OverwriteWhiteBoxDeviceFingerprintsArrayOutput
	ToOverwriteWhiteBoxDeviceFingerprintsArrayOutputWithContext(context.Context) OverwriteWhiteBoxDeviceFingerprintsArrayOutput
}

OverwriteWhiteBoxDeviceFingerprintsArrayInput is an input type that accepts OverwriteWhiteBoxDeviceFingerprintsArray and OverwriteWhiteBoxDeviceFingerprintsArrayOutput values. You can construct a concrete instance of `OverwriteWhiteBoxDeviceFingerprintsArrayInput` via:

OverwriteWhiteBoxDeviceFingerprintsArray{ OverwriteWhiteBoxDeviceFingerprintsArgs{...} }

type OverwriteWhiteBoxDeviceFingerprintsArrayOutput added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsArrayOutput struct{ *pulumi.OutputState }

func (OverwriteWhiteBoxDeviceFingerprintsArrayOutput) ElementType added in v0.1.8

func (OverwriteWhiteBoxDeviceFingerprintsArrayOutput) Index added in v0.1.8

func (OverwriteWhiteBoxDeviceFingerprintsArrayOutput) ToOverwriteWhiteBoxDeviceFingerprintsArrayOutput added in v0.1.8

func (o OverwriteWhiteBoxDeviceFingerprintsArrayOutput) ToOverwriteWhiteBoxDeviceFingerprintsArrayOutput() OverwriteWhiteBoxDeviceFingerprintsArrayOutput

func (OverwriteWhiteBoxDeviceFingerprintsArrayOutput) ToOverwriteWhiteBoxDeviceFingerprintsArrayOutputWithContext added in v0.1.8

func (o OverwriteWhiteBoxDeviceFingerprintsArrayOutput) ToOverwriteWhiteBoxDeviceFingerprintsArrayOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsArrayOutput

type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprint added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprint struct {
	// Description.
	Description *string `pulumi:"description"`
	// identity.
	Identity string `pulumi:"identity"`
}

type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArgs added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArgs struct {
	// Description.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// identity.
	Identity pulumi.StringInput `pulumi:"identity"`
}

func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArgs) ElementType added in v0.1.8

func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArgs) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput added in v0.1.8

func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArgs) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutputWithContext added in v0.1.8

func (i OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArgs) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput

type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArray added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArray []OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintInput

func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArray) ElementType added in v0.1.8

func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArray) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput added in v0.1.8

func (i OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArray) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput() OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput

func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArray) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutputWithContext added in v0.1.8

func (i OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArray) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput

type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayInput added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayInput interface {
	pulumi.Input

	ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput() OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput
	ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutputWithContext(context.Context) OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput
}

OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayInput is an input type that accepts OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArray and OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput values. You can construct a concrete instance of `OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayInput` via:

OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArray{ OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArgs{...} }

type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput struct{ *pulumi.OutputState }

func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput) ElementType added in v0.1.8

func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput) Index added in v0.1.8

func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput added in v0.1.8

func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutputWithContext added in v0.1.8

func (o OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput

type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintInput added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintInput interface {
	pulumi.Input

	ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput() OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput
	ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutputWithContext(context.Context) OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput
}

OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintInput is an input type that accepts OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArgs and OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput values. You can construct a concrete instance of `OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintInput` via:

OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArgs{...}

type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput struct{ *pulumi.OutputState }

func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) Description added in v0.1.8

Description.

func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) ElementType added in v0.1.8

func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) Identity added in v0.1.8

identity.

func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput added in v0.1.8

func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutputWithContext added in v0.1.8

func (o OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput

type OverwriteWhiteBoxDeviceFingerprintsInput added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsInput interface {
	pulumi.Input

	ToOverwriteWhiteBoxDeviceFingerprintsOutput() OverwriteWhiteBoxDeviceFingerprintsOutput
	ToOverwriteWhiteBoxDeviceFingerprintsOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsOutput
}

type OverwriteWhiteBoxDeviceFingerprintsMap added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsMap map[string]OverwriteWhiteBoxDeviceFingerprintsInput

func (OverwriteWhiteBoxDeviceFingerprintsMap) ElementType added in v0.1.8

func (OverwriteWhiteBoxDeviceFingerprintsMap) ToOverwriteWhiteBoxDeviceFingerprintsMapOutput added in v0.1.8

func (i OverwriteWhiteBoxDeviceFingerprintsMap) ToOverwriteWhiteBoxDeviceFingerprintsMapOutput() OverwriteWhiteBoxDeviceFingerprintsMapOutput

func (OverwriteWhiteBoxDeviceFingerprintsMap) ToOverwriteWhiteBoxDeviceFingerprintsMapOutputWithContext added in v0.1.8

func (i OverwriteWhiteBoxDeviceFingerprintsMap) ToOverwriteWhiteBoxDeviceFingerprintsMapOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsMapOutput

type OverwriteWhiteBoxDeviceFingerprintsMapInput added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsMapInput interface {
	pulumi.Input

	ToOverwriteWhiteBoxDeviceFingerprintsMapOutput() OverwriteWhiteBoxDeviceFingerprintsMapOutput
	ToOverwriteWhiteBoxDeviceFingerprintsMapOutputWithContext(context.Context) OverwriteWhiteBoxDeviceFingerprintsMapOutput
}

OverwriteWhiteBoxDeviceFingerprintsMapInput is an input type that accepts OverwriteWhiteBoxDeviceFingerprintsMap and OverwriteWhiteBoxDeviceFingerprintsMapOutput values. You can construct a concrete instance of `OverwriteWhiteBoxDeviceFingerprintsMapInput` via:

OverwriteWhiteBoxDeviceFingerprintsMap{ "key": OverwriteWhiteBoxDeviceFingerprintsArgs{...} }

type OverwriteWhiteBoxDeviceFingerprintsMapOutput added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsMapOutput struct{ *pulumi.OutputState }

func (OverwriteWhiteBoxDeviceFingerprintsMapOutput) ElementType added in v0.1.8

func (OverwriteWhiteBoxDeviceFingerprintsMapOutput) MapIndex added in v0.1.8

func (OverwriteWhiteBoxDeviceFingerprintsMapOutput) ToOverwriteWhiteBoxDeviceFingerprintsMapOutput added in v0.1.8

func (o OverwriteWhiteBoxDeviceFingerprintsMapOutput) ToOverwriteWhiteBoxDeviceFingerprintsMapOutput() OverwriteWhiteBoxDeviceFingerprintsMapOutput

func (OverwriteWhiteBoxDeviceFingerprintsMapOutput) ToOverwriteWhiteBoxDeviceFingerprintsMapOutputWithContext added in v0.1.8

func (o OverwriteWhiteBoxDeviceFingerprintsMapOutput) ToOverwriteWhiteBoxDeviceFingerprintsMapOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsMapOutput

type OverwriteWhiteBoxDeviceFingerprintsOutput added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsOutput struct{ *pulumi.OutputState }

func (OverwriteWhiteBoxDeviceFingerprintsOutput) DeviceFingerprints added in v0.1.8

Device fingerprint list.

func (OverwriteWhiteBoxDeviceFingerprintsOutput) ElementType added in v0.1.8

func (OverwriteWhiteBoxDeviceFingerprintsOutput) KeyId added in v0.1.8

CMK unique identifier.

func (OverwriteWhiteBoxDeviceFingerprintsOutput) ToOverwriteWhiteBoxDeviceFingerprintsOutput added in v0.1.8

func (o OverwriteWhiteBoxDeviceFingerprintsOutput) ToOverwriteWhiteBoxDeviceFingerprintsOutput() OverwriteWhiteBoxDeviceFingerprintsOutput

func (OverwriteWhiteBoxDeviceFingerprintsOutput) ToOverwriteWhiteBoxDeviceFingerprintsOutputWithContext added in v0.1.8

func (o OverwriteWhiteBoxDeviceFingerprintsOutput) ToOverwriteWhiteBoxDeviceFingerprintsOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsOutput

type OverwriteWhiteBoxDeviceFingerprintsState added in v0.1.8

type OverwriteWhiteBoxDeviceFingerprintsState struct {
	// Device fingerprint list.
	DeviceFingerprints OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayInput
	// CMK unique identifier.
	KeyId pulumi.StringPtrInput
}

func (OverwriteWhiteBoxDeviceFingerprintsState) ElementType added in v0.1.8

type WhiteBoxKey added in v0.1.8

type WhiteBoxKey struct {
	pulumi.CustomResourceState

	// All algorithm types for creating keys, supported values: AES_256, SM4.
	Algorithm pulumi.StringOutput `pulumi:"algorithm"`
	// As an alias for the key to be easier to identify and easier to understand, it cannot be empty and is a combination of 1-60 alphanumeric characters - _. The first character must be a letter or number. Alias are not repeatable.
	Alias pulumi.StringOutput `pulumi:"alias"`
	// Description of the key, up to 1024 bytes.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Whether to enable the key. Enabled or Disabled. Default is Enabled.
	Status pulumi.StringPtrOutput `pulumi:"status"`
	// The tags of Key.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a resource to create a kms whiteBoxKey

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kms"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Kms.NewWhiteBoxKey(ctx, "example", &Kms.WhiteBoxKeyArgs{
			Algorithm:   pulumi.String("SM4"),
			Alias:       pulumi.String("tf_example"),
			Description: pulumi.String("test desc."),
			Status:      pulumi.String("Enabled"),
			Tags: pulumi.AnyMap{
				"createdBy": pulumi.Any("terraform"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

kms white_box_key can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Kms/whiteBoxKey:WhiteBoxKey example 244dab8c-6dad-11ea-80c6-5254006d0810

```

func GetWhiteBoxKey added in v0.1.8

func GetWhiteBoxKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WhiteBoxKeyState, opts ...pulumi.ResourceOption) (*WhiteBoxKey, error)

GetWhiteBoxKey gets an existing WhiteBoxKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewWhiteBoxKey added in v0.1.8

func NewWhiteBoxKey(ctx *pulumi.Context,
	name string, args *WhiteBoxKeyArgs, opts ...pulumi.ResourceOption) (*WhiteBoxKey, error)

NewWhiteBoxKey registers a new resource with the given unique name, arguments, and options.

func (*WhiteBoxKey) ElementType added in v0.1.8

func (*WhiteBoxKey) ElementType() reflect.Type

func (*WhiteBoxKey) ToWhiteBoxKeyOutput added in v0.1.8

func (i *WhiteBoxKey) ToWhiteBoxKeyOutput() WhiteBoxKeyOutput

func (*WhiteBoxKey) ToWhiteBoxKeyOutputWithContext added in v0.1.8

func (i *WhiteBoxKey) ToWhiteBoxKeyOutputWithContext(ctx context.Context) WhiteBoxKeyOutput

type WhiteBoxKeyArgs added in v0.1.8

type WhiteBoxKeyArgs struct {
	// All algorithm types for creating keys, supported values: AES_256, SM4.
	Algorithm pulumi.StringInput
	// As an alias for the key to be easier to identify and easier to understand, it cannot be empty and is a combination of 1-60 alphanumeric characters - _. The first character must be a letter or number. Alias are not repeatable.
	Alias pulumi.StringInput
	// Description of the key, up to 1024 bytes.
	Description pulumi.StringPtrInput
	// Whether to enable the key. Enabled or Disabled. Default is Enabled.
	Status pulumi.StringPtrInput
	// The tags of Key.
	Tags pulumi.MapInput
}

The set of arguments for constructing a WhiteBoxKey resource.

func (WhiteBoxKeyArgs) ElementType added in v0.1.8

func (WhiteBoxKeyArgs) ElementType() reflect.Type

type WhiteBoxKeyArray added in v0.1.8

type WhiteBoxKeyArray []WhiteBoxKeyInput

func (WhiteBoxKeyArray) ElementType added in v0.1.8

func (WhiteBoxKeyArray) ElementType() reflect.Type

func (WhiteBoxKeyArray) ToWhiteBoxKeyArrayOutput added in v0.1.8

func (i WhiteBoxKeyArray) ToWhiteBoxKeyArrayOutput() WhiteBoxKeyArrayOutput

func (WhiteBoxKeyArray) ToWhiteBoxKeyArrayOutputWithContext added in v0.1.8

func (i WhiteBoxKeyArray) ToWhiteBoxKeyArrayOutputWithContext(ctx context.Context) WhiteBoxKeyArrayOutput

type WhiteBoxKeyArrayInput added in v0.1.8

type WhiteBoxKeyArrayInput interface {
	pulumi.Input

	ToWhiteBoxKeyArrayOutput() WhiteBoxKeyArrayOutput
	ToWhiteBoxKeyArrayOutputWithContext(context.Context) WhiteBoxKeyArrayOutput
}

WhiteBoxKeyArrayInput is an input type that accepts WhiteBoxKeyArray and WhiteBoxKeyArrayOutput values. You can construct a concrete instance of `WhiteBoxKeyArrayInput` via:

WhiteBoxKeyArray{ WhiteBoxKeyArgs{...} }

type WhiteBoxKeyArrayOutput added in v0.1.8

type WhiteBoxKeyArrayOutput struct{ *pulumi.OutputState }

func (WhiteBoxKeyArrayOutput) ElementType added in v0.1.8

func (WhiteBoxKeyArrayOutput) ElementType() reflect.Type

func (WhiteBoxKeyArrayOutput) Index added in v0.1.8

func (WhiteBoxKeyArrayOutput) ToWhiteBoxKeyArrayOutput added in v0.1.8

func (o WhiteBoxKeyArrayOutput) ToWhiteBoxKeyArrayOutput() WhiteBoxKeyArrayOutput

func (WhiteBoxKeyArrayOutput) ToWhiteBoxKeyArrayOutputWithContext added in v0.1.8

func (o WhiteBoxKeyArrayOutput) ToWhiteBoxKeyArrayOutputWithContext(ctx context.Context) WhiteBoxKeyArrayOutput

type WhiteBoxKeyInput added in v0.1.8

type WhiteBoxKeyInput interface {
	pulumi.Input

	ToWhiteBoxKeyOutput() WhiteBoxKeyOutput
	ToWhiteBoxKeyOutputWithContext(ctx context.Context) WhiteBoxKeyOutput
}

type WhiteBoxKeyMap added in v0.1.8

type WhiteBoxKeyMap map[string]WhiteBoxKeyInput

func (WhiteBoxKeyMap) ElementType added in v0.1.8

func (WhiteBoxKeyMap) ElementType() reflect.Type

func (WhiteBoxKeyMap) ToWhiteBoxKeyMapOutput added in v0.1.8

func (i WhiteBoxKeyMap) ToWhiteBoxKeyMapOutput() WhiteBoxKeyMapOutput

func (WhiteBoxKeyMap) ToWhiteBoxKeyMapOutputWithContext added in v0.1.8

func (i WhiteBoxKeyMap) ToWhiteBoxKeyMapOutputWithContext(ctx context.Context) WhiteBoxKeyMapOutput

type WhiteBoxKeyMapInput added in v0.1.8

type WhiteBoxKeyMapInput interface {
	pulumi.Input

	ToWhiteBoxKeyMapOutput() WhiteBoxKeyMapOutput
	ToWhiteBoxKeyMapOutputWithContext(context.Context) WhiteBoxKeyMapOutput
}

WhiteBoxKeyMapInput is an input type that accepts WhiteBoxKeyMap and WhiteBoxKeyMapOutput values. You can construct a concrete instance of `WhiteBoxKeyMapInput` via:

WhiteBoxKeyMap{ "key": WhiteBoxKeyArgs{...} }

type WhiteBoxKeyMapOutput added in v0.1.8

type WhiteBoxKeyMapOutput struct{ *pulumi.OutputState }

func (WhiteBoxKeyMapOutput) ElementType added in v0.1.8

func (WhiteBoxKeyMapOutput) ElementType() reflect.Type

func (WhiteBoxKeyMapOutput) MapIndex added in v0.1.8

func (WhiteBoxKeyMapOutput) ToWhiteBoxKeyMapOutput added in v0.1.8

func (o WhiteBoxKeyMapOutput) ToWhiteBoxKeyMapOutput() WhiteBoxKeyMapOutput

func (WhiteBoxKeyMapOutput) ToWhiteBoxKeyMapOutputWithContext added in v0.1.8

func (o WhiteBoxKeyMapOutput) ToWhiteBoxKeyMapOutputWithContext(ctx context.Context) WhiteBoxKeyMapOutput

type WhiteBoxKeyOutput added in v0.1.8

type WhiteBoxKeyOutput struct{ *pulumi.OutputState }

func (WhiteBoxKeyOutput) Algorithm added in v0.1.8

func (o WhiteBoxKeyOutput) Algorithm() pulumi.StringOutput

All algorithm types for creating keys, supported values: AES_256, SM4.

func (WhiteBoxKeyOutput) Alias added in v0.1.8

As an alias for the key to be easier to identify and easier to understand, it cannot be empty and is a combination of 1-60 alphanumeric characters - _. The first character must be a letter or number. Alias are not repeatable.

func (WhiteBoxKeyOutput) Description added in v0.1.8

func (o WhiteBoxKeyOutput) Description() pulumi.StringPtrOutput

Description of the key, up to 1024 bytes.

func (WhiteBoxKeyOutput) ElementType added in v0.1.8

func (WhiteBoxKeyOutput) ElementType() reflect.Type

func (WhiteBoxKeyOutput) Status added in v0.1.8

Whether to enable the key. Enabled or Disabled. Default is Enabled.

func (WhiteBoxKeyOutput) Tags added in v0.1.8

The tags of Key.

func (WhiteBoxKeyOutput) ToWhiteBoxKeyOutput added in v0.1.8

func (o WhiteBoxKeyOutput) ToWhiteBoxKeyOutput() WhiteBoxKeyOutput

func (WhiteBoxKeyOutput) ToWhiteBoxKeyOutputWithContext added in v0.1.8

func (o WhiteBoxKeyOutput) ToWhiteBoxKeyOutputWithContext(ctx context.Context) WhiteBoxKeyOutput

type WhiteBoxKeyState added in v0.1.8

type WhiteBoxKeyState struct {
	// All algorithm types for creating keys, supported values: AES_256, SM4.
	Algorithm pulumi.StringPtrInput
	// As an alias for the key to be easier to identify and easier to understand, it cannot be empty and is a combination of 1-60 alphanumeric characters - _. The first character must be a letter or number. Alias are not repeatable.
	Alias pulumi.StringPtrInput
	// Description of the key, up to 1024 bytes.
	Description pulumi.StringPtrInput
	// Whether to enable the key. Enabled or Disabled. Default is Enabled.
	Status pulumi.StringPtrInput
	// The tags of Key.
	Tags pulumi.MapInput
}

func (WhiteBoxKeyState) ElementType added in v0.1.8

func (WhiteBoxKeyState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL