Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type CloudResourceAttachment
- type CloudResourceAttachmentArgs
- type CloudResourceAttachmentArray
- func (CloudResourceAttachmentArray) ElementType() reflect.Type
- func (i CloudResourceAttachmentArray) ToCloudResourceAttachmentArrayOutput() CloudResourceAttachmentArrayOutput
- func (i CloudResourceAttachmentArray) ToCloudResourceAttachmentArrayOutputWithContext(ctx context.Context) CloudResourceAttachmentArrayOutput
- type CloudResourceAttachmentArrayInput
- type CloudResourceAttachmentArrayOutput
- func (CloudResourceAttachmentArrayOutput) ElementType() reflect.Type
- func (o CloudResourceAttachmentArrayOutput) Index(i pulumi.IntInput) CloudResourceAttachmentOutput
- func (o CloudResourceAttachmentArrayOutput) ToCloudResourceAttachmentArrayOutput() CloudResourceAttachmentArrayOutput
- func (o CloudResourceAttachmentArrayOutput) ToCloudResourceAttachmentArrayOutputWithContext(ctx context.Context) CloudResourceAttachmentArrayOutput
- type CloudResourceAttachmentInput
- type CloudResourceAttachmentMap
- func (CloudResourceAttachmentMap) ElementType() reflect.Type
- func (i CloudResourceAttachmentMap) ToCloudResourceAttachmentMapOutput() CloudResourceAttachmentMapOutput
- func (i CloudResourceAttachmentMap) ToCloudResourceAttachmentMapOutputWithContext(ctx context.Context) CloudResourceAttachmentMapOutput
- type CloudResourceAttachmentMapInput
- type CloudResourceAttachmentMapOutput
- func (CloudResourceAttachmentMapOutput) ElementType() reflect.Type
- func (o CloudResourceAttachmentMapOutput) MapIndex(k pulumi.StringInput) CloudResourceAttachmentOutput
- func (o CloudResourceAttachmentMapOutput) ToCloudResourceAttachmentMapOutput() CloudResourceAttachmentMapOutput
- func (o CloudResourceAttachmentMapOutput) ToCloudResourceAttachmentMapOutputWithContext(ctx context.Context) CloudResourceAttachmentMapOutput
- type CloudResourceAttachmentOutput
- func (o CloudResourceAttachmentOutput) Alias() pulumi.StringOutput
- func (o CloudResourceAttachmentOutput) Description() pulumi.StringOutput
- func (CloudResourceAttachmentOutput) ElementType() reflect.Type
- func (o CloudResourceAttachmentOutput) KeyId() pulumi.StringOutput
- func (o CloudResourceAttachmentOutput) KeyState() pulumi.StringOutput
- func (o CloudResourceAttachmentOutput) KeyUsage() pulumi.StringOutput
- func (o CloudResourceAttachmentOutput) Owner() pulumi.StringOutput
- func (o CloudResourceAttachmentOutput) ProductId() pulumi.StringOutput
- func (o CloudResourceAttachmentOutput) ResourceId() pulumi.StringOutput
- func (o CloudResourceAttachmentOutput) ToCloudResourceAttachmentOutput() CloudResourceAttachmentOutput
- func (o CloudResourceAttachmentOutput) ToCloudResourceAttachmentOutputWithContext(ctx context.Context) CloudResourceAttachmentOutput
- type CloudResourceAttachmentState
- type ExternalKey
- type ExternalKeyArgs
- type ExternalKeyArray
- type ExternalKeyArrayInput
- type ExternalKeyArrayOutput
- func (ExternalKeyArrayOutput) ElementType() reflect.Type
- func (o ExternalKeyArrayOutput) Index(i pulumi.IntInput) ExternalKeyOutput
- func (o ExternalKeyArrayOutput) ToExternalKeyArrayOutput() ExternalKeyArrayOutput
- func (o ExternalKeyArrayOutput) ToExternalKeyArrayOutputWithContext(ctx context.Context) ExternalKeyArrayOutput
- type ExternalKeyInput
- type ExternalKeyMap
- type ExternalKeyMapInput
- type ExternalKeyMapOutput
- func (ExternalKeyMapOutput) ElementType() reflect.Type
- func (o ExternalKeyMapOutput) MapIndex(k pulumi.StringInput) ExternalKeyOutput
- func (o ExternalKeyMapOutput) ToExternalKeyMapOutput() ExternalKeyMapOutput
- func (o ExternalKeyMapOutput) ToExternalKeyMapOutputWithContext(ctx context.Context) ExternalKeyMapOutput
- type ExternalKeyOutput
- func (o ExternalKeyOutput) Alias() pulumi.StringOutput
- func (o ExternalKeyOutput) Description() pulumi.StringPtrOutput
- func (ExternalKeyOutput) ElementType() reflect.Type
- func (o ExternalKeyOutput) IsArchived() pulumi.BoolPtrOutput
- func (o ExternalKeyOutput) IsEnabled() pulumi.BoolPtrOutput
- func (o ExternalKeyOutput) KeyMaterialBase64() pulumi.StringPtrOutput
- func (o ExternalKeyOutput) KeyState() pulumi.StringOutput
- func (o ExternalKeyOutput) PendingDeleteWindowInDays() pulumi.IntPtrOutput
- func (o ExternalKeyOutput) Tags() pulumi.MapOutput
- func (o ExternalKeyOutput) ToExternalKeyOutput() ExternalKeyOutput
- func (o ExternalKeyOutput) ToExternalKeyOutputWithContext(ctx context.Context) ExternalKeyOutput
- func (o ExternalKeyOutput) ValidTo() pulumi.IntPtrOutput
- func (o ExternalKeyOutput) WrappingAlgorithm() pulumi.StringPtrOutput
- type ExternalKeyState
- type GetDescribeKeysArgs
- type GetDescribeKeysKeyList
- type GetDescribeKeysKeyListArgs
- type GetDescribeKeysKeyListArray
- func (GetDescribeKeysKeyListArray) ElementType() reflect.Type
- func (i GetDescribeKeysKeyListArray) ToGetDescribeKeysKeyListArrayOutput() GetDescribeKeysKeyListArrayOutput
- func (i GetDescribeKeysKeyListArray) ToGetDescribeKeysKeyListArrayOutputWithContext(ctx context.Context) GetDescribeKeysKeyListArrayOutput
- type GetDescribeKeysKeyListArrayInput
- type GetDescribeKeysKeyListArrayOutput
- func (GetDescribeKeysKeyListArrayOutput) ElementType() reflect.Type
- func (o GetDescribeKeysKeyListArrayOutput) Index(i pulumi.IntInput) GetDescribeKeysKeyListOutput
- func (o GetDescribeKeysKeyListArrayOutput) ToGetDescribeKeysKeyListArrayOutput() GetDescribeKeysKeyListArrayOutput
- func (o GetDescribeKeysKeyListArrayOutput) ToGetDescribeKeysKeyListArrayOutputWithContext(ctx context.Context) GetDescribeKeysKeyListArrayOutput
- type GetDescribeKeysKeyListInput
- type GetDescribeKeysKeyListOutput
- func (o GetDescribeKeysKeyListOutput) Alias() pulumi.StringOutput
- func (o GetDescribeKeysKeyListOutput) CreateTime() pulumi.IntOutput
- func (o GetDescribeKeysKeyListOutput) CreatorUin() pulumi.IntOutput
- func (o GetDescribeKeysKeyListOutput) DeletionDate() pulumi.IntOutput
- func (o GetDescribeKeysKeyListOutput) Description() pulumi.StringOutput
- func (GetDescribeKeysKeyListOutput) ElementType() reflect.Type
- func (o GetDescribeKeysKeyListOutput) KeyId() pulumi.StringOutput
- func (o GetDescribeKeysKeyListOutput) KeyRotationEnabled() pulumi.BoolOutput
- func (o GetDescribeKeysKeyListOutput) KeyState() pulumi.StringOutput
- func (o GetDescribeKeysKeyListOutput) KeyUsage() pulumi.StringOutput
- func (o GetDescribeKeysKeyListOutput) NextRotateTime() pulumi.IntOutput
- func (o GetDescribeKeysKeyListOutput) Origin() pulumi.StringOutput
- func (o GetDescribeKeysKeyListOutput) Owner() pulumi.StringOutput
- func (o GetDescribeKeysKeyListOutput) ToGetDescribeKeysKeyListOutput() GetDescribeKeysKeyListOutput
- func (o GetDescribeKeysKeyListOutput) ToGetDescribeKeysKeyListOutputWithContext(ctx context.Context) GetDescribeKeysKeyListOutput
- func (o GetDescribeKeysKeyListOutput) ValidTo() pulumi.IntOutput
- type GetDescribeKeysOutputArgs
- type GetDescribeKeysResult
- type GetDescribeKeysResultOutput
- func (GetDescribeKeysResultOutput) ElementType() reflect.Type
- func (o GetDescribeKeysResultOutput) Id() pulumi.StringOutput
- func (o GetDescribeKeysResultOutput) KeyIds() pulumi.StringArrayOutput
- func (o GetDescribeKeysResultOutput) KeyLists() GetDescribeKeysKeyListArrayOutput
- func (o GetDescribeKeysResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetDescribeKeysResultOutput) ToGetDescribeKeysResultOutput() GetDescribeKeysResultOutput
- func (o GetDescribeKeysResultOutput) ToGetDescribeKeysResultOutputWithContext(ctx context.Context) GetDescribeKeysResultOutput
- type GetGetParametersForImportArgs
- type GetGetParametersForImportOutputArgs
- type GetGetParametersForImportResult
- type GetGetParametersForImportResultOutput
- func (GetGetParametersForImportResultOutput) ElementType() reflect.Type
- func (o GetGetParametersForImportResultOutput) Id() pulumi.StringOutput
- func (o GetGetParametersForImportResultOutput) ImportToken() pulumi.StringOutput
- func (o GetGetParametersForImportResultOutput) KeyId() pulumi.StringOutput
- func (o GetGetParametersForImportResultOutput) ParametersValidTo() pulumi.IntOutput
- func (o GetGetParametersForImportResultOutput) PublicKey() pulumi.StringOutput
- func (o GetGetParametersForImportResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetGetParametersForImportResultOutput) ToGetGetParametersForImportResultOutput() GetGetParametersForImportResultOutput
- func (o GetGetParametersForImportResultOutput) ToGetGetParametersForImportResultOutputWithContext(ctx context.Context) GetGetParametersForImportResultOutput
- func (o GetGetParametersForImportResultOutput) WrappingAlgorithm() pulumi.StringOutput
- func (o GetGetParametersForImportResultOutput) WrappingKeySpec() pulumi.StringOutput
- type GetKeysArgs
- type GetKeysKeyList
- type GetKeysKeyListArgs
- type GetKeysKeyListArray
- type GetKeysKeyListArrayInput
- type GetKeysKeyListArrayOutput
- func (GetKeysKeyListArrayOutput) ElementType() reflect.Type
- func (o GetKeysKeyListArrayOutput) Index(i pulumi.IntInput) GetKeysKeyListOutput
- func (o GetKeysKeyListArrayOutput) ToGetKeysKeyListArrayOutput() GetKeysKeyListArrayOutput
- func (o GetKeysKeyListArrayOutput) ToGetKeysKeyListArrayOutputWithContext(ctx context.Context) GetKeysKeyListArrayOutput
- type GetKeysKeyListInput
- type GetKeysKeyListOutput
- func (o GetKeysKeyListOutput) Alias() pulumi.StringOutput
- func (o GetKeysKeyListOutput) CreateTime() pulumi.IntOutput
- func (o GetKeysKeyListOutput) CreatorUin() pulumi.IntOutput
- func (o GetKeysKeyListOutput) DeletionDate() pulumi.IntOutput
- func (o GetKeysKeyListOutput) Description() pulumi.StringOutput
- func (GetKeysKeyListOutput) ElementType() reflect.Type
- func (o GetKeysKeyListOutput) KeyId() pulumi.StringOutput
- func (o GetKeysKeyListOutput) KeyRotationEnabled() pulumi.BoolOutput
- func (o GetKeysKeyListOutput) KeyState() pulumi.StringOutput
- func (o GetKeysKeyListOutput) KeyUsage() pulumi.StringOutput
- func (o GetKeysKeyListOutput) NextRotateTime() pulumi.IntOutput
- func (o GetKeysKeyListOutput) Origin() pulumi.StringOutput
- func (o GetKeysKeyListOutput) Owner() pulumi.StringOutput
- func (o GetKeysKeyListOutput) ToGetKeysKeyListOutput() GetKeysKeyListOutput
- func (o GetKeysKeyListOutput) ToGetKeysKeyListOutputWithContext(ctx context.Context) GetKeysKeyListOutput
- func (o GetKeysKeyListOutput) ValidTo() pulumi.IntOutput
- type GetKeysOutputArgs
- type GetKeysResult
- type GetKeysResultOutput
- func (GetKeysResultOutput) ElementType() reflect.Type
- func (o GetKeysResultOutput) Id() pulumi.StringOutput
- func (o GetKeysResultOutput) KeyLists() GetKeysKeyListArrayOutput
- func (o GetKeysResultOutput) KeyState() pulumi.IntPtrOutput
- func (o GetKeysResultOutput) KeyUsage() pulumi.StringPtrOutput
- func (o GetKeysResultOutput) OrderType() pulumi.IntPtrOutput
- func (o GetKeysResultOutput) Origin() pulumi.StringPtrOutput
- func (o GetKeysResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetKeysResultOutput) Role() pulumi.IntPtrOutput
- func (o GetKeysResultOutput) SearchKeyAlias() pulumi.StringPtrOutput
- func (o GetKeysResultOutput) Tags() pulumi.MapOutput
- func (o GetKeysResultOutput) ToGetKeysResultOutput() GetKeysResultOutput
- func (o GetKeysResultOutput) ToGetKeysResultOutputWithContext(ctx context.Context) GetKeysResultOutput
- type GetListAlgorithmsArgs
- type GetListAlgorithmsAsymmetricAlgorithm
- type GetListAlgorithmsAsymmetricAlgorithmArgs
- func (GetListAlgorithmsAsymmetricAlgorithmArgs) ElementType() reflect.Type
- func (i GetListAlgorithmsAsymmetricAlgorithmArgs) ToGetListAlgorithmsAsymmetricAlgorithmOutput() GetListAlgorithmsAsymmetricAlgorithmOutput
- func (i GetListAlgorithmsAsymmetricAlgorithmArgs) ToGetListAlgorithmsAsymmetricAlgorithmOutputWithContext(ctx context.Context) GetListAlgorithmsAsymmetricAlgorithmOutput
- type GetListAlgorithmsAsymmetricAlgorithmArray
- func (GetListAlgorithmsAsymmetricAlgorithmArray) ElementType() reflect.Type
- func (i GetListAlgorithmsAsymmetricAlgorithmArray) ToGetListAlgorithmsAsymmetricAlgorithmArrayOutput() GetListAlgorithmsAsymmetricAlgorithmArrayOutput
- func (i GetListAlgorithmsAsymmetricAlgorithmArray) ToGetListAlgorithmsAsymmetricAlgorithmArrayOutputWithContext(ctx context.Context) GetListAlgorithmsAsymmetricAlgorithmArrayOutput
- type GetListAlgorithmsAsymmetricAlgorithmArrayInput
- type GetListAlgorithmsAsymmetricAlgorithmArrayOutput
- func (GetListAlgorithmsAsymmetricAlgorithmArrayOutput) ElementType() reflect.Type
- func (o GetListAlgorithmsAsymmetricAlgorithmArrayOutput) Index(i pulumi.IntInput) GetListAlgorithmsAsymmetricAlgorithmOutput
- func (o GetListAlgorithmsAsymmetricAlgorithmArrayOutput) ToGetListAlgorithmsAsymmetricAlgorithmArrayOutput() GetListAlgorithmsAsymmetricAlgorithmArrayOutput
- func (o GetListAlgorithmsAsymmetricAlgorithmArrayOutput) ToGetListAlgorithmsAsymmetricAlgorithmArrayOutputWithContext(ctx context.Context) GetListAlgorithmsAsymmetricAlgorithmArrayOutput
- type GetListAlgorithmsAsymmetricAlgorithmInput
- type GetListAlgorithmsAsymmetricAlgorithmOutput
- func (o GetListAlgorithmsAsymmetricAlgorithmOutput) Algorithm() pulumi.StringOutput
- func (GetListAlgorithmsAsymmetricAlgorithmOutput) ElementType() reflect.Type
- func (o GetListAlgorithmsAsymmetricAlgorithmOutput) KeyUsage() pulumi.StringOutput
- func (o GetListAlgorithmsAsymmetricAlgorithmOutput) ToGetListAlgorithmsAsymmetricAlgorithmOutput() GetListAlgorithmsAsymmetricAlgorithmOutput
- func (o GetListAlgorithmsAsymmetricAlgorithmOutput) ToGetListAlgorithmsAsymmetricAlgorithmOutputWithContext(ctx context.Context) GetListAlgorithmsAsymmetricAlgorithmOutput
- type GetListAlgorithmsAsymmetricSignVerifyAlgorithm
- type GetListAlgorithmsAsymmetricSignVerifyAlgorithmArgs
- func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmArgs) ElementType() reflect.Type
- func (i GetListAlgorithmsAsymmetricSignVerifyAlgorithmArgs) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput() GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput
- func (i GetListAlgorithmsAsymmetricSignVerifyAlgorithmArgs) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmOutputWithContext(ctx context.Context) GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput
- type GetListAlgorithmsAsymmetricSignVerifyAlgorithmArray
- func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmArray) ElementType() reflect.Type
- func (i GetListAlgorithmsAsymmetricSignVerifyAlgorithmArray) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput() GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput
- func (i GetListAlgorithmsAsymmetricSignVerifyAlgorithmArray) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutputWithContext(ctx context.Context) GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput
- type GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayInput
- type GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput
- func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput) ElementType() reflect.Type
- func (o GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput) Index(i pulumi.IntInput) GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput
- func (o GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput() GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput
- func (o GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutputWithContext(ctx context.Context) GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput
- type GetListAlgorithmsAsymmetricSignVerifyAlgorithmInput
- type GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput
- func (o GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) Algorithm() pulumi.StringOutput
- func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) ElementType() reflect.Type
- func (o GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) KeyUsage() pulumi.StringOutput
- func (o GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput() GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput
- func (o GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmOutputWithContext(ctx context.Context) GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput
- type GetListAlgorithmsOutputArgs
- type GetListAlgorithmsResult
- type GetListAlgorithmsResultOutput
- func (o GetListAlgorithmsResultOutput) AsymmetricAlgorithms() GetListAlgorithmsAsymmetricAlgorithmArrayOutput
- func (o GetListAlgorithmsResultOutput) AsymmetricSignVerifyAlgorithms() GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput
- func (GetListAlgorithmsResultOutput) ElementType() reflect.Type
- func (o GetListAlgorithmsResultOutput) Id() pulumi.StringOutput
- func (o GetListAlgorithmsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetListAlgorithmsResultOutput) SymmetricAlgorithms() GetListAlgorithmsSymmetricAlgorithmArrayOutput
- func (o GetListAlgorithmsResultOutput) ToGetListAlgorithmsResultOutput() GetListAlgorithmsResultOutput
- func (o GetListAlgorithmsResultOutput) ToGetListAlgorithmsResultOutputWithContext(ctx context.Context) GetListAlgorithmsResultOutput
- type GetListAlgorithmsSymmetricAlgorithm
- type GetListAlgorithmsSymmetricAlgorithmArgs
- func (GetListAlgorithmsSymmetricAlgorithmArgs) ElementType() reflect.Type
- func (i GetListAlgorithmsSymmetricAlgorithmArgs) ToGetListAlgorithmsSymmetricAlgorithmOutput() GetListAlgorithmsSymmetricAlgorithmOutput
- func (i GetListAlgorithmsSymmetricAlgorithmArgs) ToGetListAlgorithmsSymmetricAlgorithmOutputWithContext(ctx context.Context) GetListAlgorithmsSymmetricAlgorithmOutput
- type GetListAlgorithmsSymmetricAlgorithmArray
- func (GetListAlgorithmsSymmetricAlgorithmArray) ElementType() reflect.Type
- func (i GetListAlgorithmsSymmetricAlgorithmArray) ToGetListAlgorithmsSymmetricAlgorithmArrayOutput() GetListAlgorithmsSymmetricAlgorithmArrayOutput
- func (i GetListAlgorithmsSymmetricAlgorithmArray) ToGetListAlgorithmsSymmetricAlgorithmArrayOutputWithContext(ctx context.Context) GetListAlgorithmsSymmetricAlgorithmArrayOutput
- type GetListAlgorithmsSymmetricAlgorithmArrayInput
- type GetListAlgorithmsSymmetricAlgorithmArrayOutput
- func (GetListAlgorithmsSymmetricAlgorithmArrayOutput) ElementType() reflect.Type
- func (o GetListAlgorithmsSymmetricAlgorithmArrayOutput) Index(i pulumi.IntInput) GetListAlgorithmsSymmetricAlgorithmOutput
- func (o GetListAlgorithmsSymmetricAlgorithmArrayOutput) ToGetListAlgorithmsSymmetricAlgorithmArrayOutput() GetListAlgorithmsSymmetricAlgorithmArrayOutput
- func (o GetListAlgorithmsSymmetricAlgorithmArrayOutput) ToGetListAlgorithmsSymmetricAlgorithmArrayOutputWithContext(ctx context.Context) GetListAlgorithmsSymmetricAlgorithmArrayOutput
- type GetListAlgorithmsSymmetricAlgorithmInput
- type GetListAlgorithmsSymmetricAlgorithmOutput
- func (o GetListAlgorithmsSymmetricAlgorithmOutput) Algorithm() pulumi.StringOutput
- func (GetListAlgorithmsSymmetricAlgorithmOutput) ElementType() reflect.Type
- func (o GetListAlgorithmsSymmetricAlgorithmOutput) KeyUsage() pulumi.StringOutput
- func (o GetListAlgorithmsSymmetricAlgorithmOutput) ToGetListAlgorithmsSymmetricAlgorithmOutput() GetListAlgorithmsSymmetricAlgorithmOutput
- func (o GetListAlgorithmsSymmetricAlgorithmOutput) ToGetListAlgorithmsSymmetricAlgorithmOutputWithContext(ctx context.Context) GetListAlgorithmsSymmetricAlgorithmOutput
- type GetListKeysArgs
- type GetListKeysKey
- type GetListKeysKeyArgs
- type GetListKeysKeyArray
- type GetListKeysKeyArrayInput
- type GetListKeysKeyArrayOutput
- func (GetListKeysKeyArrayOutput) ElementType() reflect.Type
- func (o GetListKeysKeyArrayOutput) Index(i pulumi.IntInput) GetListKeysKeyOutput
- func (o GetListKeysKeyArrayOutput) ToGetListKeysKeyArrayOutput() GetListKeysKeyArrayOutput
- func (o GetListKeysKeyArrayOutput) ToGetListKeysKeyArrayOutputWithContext(ctx context.Context) GetListKeysKeyArrayOutput
- type GetListKeysKeyInput
- type GetListKeysKeyOutput
- type GetListKeysOutputArgs
- type GetListKeysResult
- type GetListKeysResultOutput
- func (GetListKeysResultOutput) ElementType() reflect.Type
- func (o GetListKeysResultOutput) HsmClusterId() pulumi.StringPtrOutput
- func (o GetListKeysResultOutput) Id() pulumi.StringOutput
- func (o GetListKeysResultOutput) Keys() GetListKeysKeyArrayOutput
- func (o GetListKeysResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetListKeysResultOutput) Role() pulumi.IntPtrOutput
- func (o GetListKeysResultOutput) ToGetListKeysResultOutput() GetListKeysResultOutput
- func (o GetListKeysResultOutput) ToGetListKeysResultOutputWithContext(ctx context.Context) GetListKeysResultOutput
- type GetPublicKeyArgs
- type GetPublicKeyOutputArgs
- type GetPublicKeyResult
- type GetPublicKeyResultOutput
- func (GetPublicKeyResultOutput) ElementType() reflect.Type
- func (o GetPublicKeyResultOutput) Id() pulumi.StringOutput
- func (o GetPublicKeyResultOutput) KeyId() pulumi.StringOutput
- func (o GetPublicKeyResultOutput) PublicKey() pulumi.StringOutput
- func (o GetPublicKeyResultOutput) PublicKeyPem() pulumi.StringOutput
- func (o GetPublicKeyResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetPublicKeyResultOutput) ToGetPublicKeyResultOutput() GetPublicKeyResultOutput
- func (o GetPublicKeyResultOutput) ToGetPublicKeyResultOutputWithContext(ctx context.Context) GetPublicKeyResultOutput
- type GetWhiteBoxDecryptKeyArgs
- type GetWhiteBoxDecryptKeyOutputArgs
- type GetWhiteBoxDecryptKeyResult
- type GetWhiteBoxDecryptKeyResultOutput
- func (o GetWhiteBoxDecryptKeyResultOutput) DecryptKey() pulumi.StringOutput
- func (GetWhiteBoxDecryptKeyResultOutput) ElementType() reflect.Type
- func (o GetWhiteBoxDecryptKeyResultOutput) Id() pulumi.StringOutput
- func (o GetWhiteBoxDecryptKeyResultOutput) KeyId() pulumi.StringOutput
- func (o GetWhiteBoxDecryptKeyResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetWhiteBoxDecryptKeyResultOutput) ToGetWhiteBoxDecryptKeyResultOutput() GetWhiteBoxDecryptKeyResultOutput
- func (o GetWhiteBoxDecryptKeyResultOutput) ToGetWhiteBoxDecryptKeyResultOutputWithContext(ctx context.Context) GetWhiteBoxDecryptKeyResultOutput
- type GetWhiteBoxDeviceFingerprintsArgs
- type GetWhiteBoxDeviceFingerprintsList
- type GetWhiteBoxDeviceFingerprintsListArgs
- func (GetWhiteBoxDeviceFingerprintsListArgs) ElementType() reflect.Type
- func (i GetWhiteBoxDeviceFingerprintsListArgs) ToGetWhiteBoxDeviceFingerprintsListOutput() GetWhiteBoxDeviceFingerprintsListOutput
- func (i GetWhiteBoxDeviceFingerprintsListArgs) ToGetWhiteBoxDeviceFingerprintsListOutputWithContext(ctx context.Context) GetWhiteBoxDeviceFingerprintsListOutput
- type GetWhiteBoxDeviceFingerprintsListArray
- func (GetWhiteBoxDeviceFingerprintsListArray) ElementType() reflect.Type
- func (i GetWhiteBoxDeviceFingerprintsListArray) ToGetWhiteBoxDeviceFingerprintsListArrayOutput() GetWhiteBoxDeviceFingerprintsListArrayOutput
- func (i GetWhiteBoxDeviceFingerprintsListArray) ToGetWhiteBoxDeviceFingerprintsListArrayOutputWithContext(ctx context.Context) GetWhiteBoxDeviceFingerprintsListArrayOutput
- type GetWhiteBoxDeviceFingerprintsListArrayInput
- type GetWhiteBoxDeviceFingerprintsListArrayOutput
- func (GetWhiteBoxDeviceFingerprintsListArrayOutput) ElementType() reflect.Type
- func (o GetWhiteBoxDeviceFingerprintsListArrayOutput) Index(i pulumi.IntInput) GetWhiteBoxDeviceFingerprintsListOutput
- func (o GetWhiteBoxDeviceFingerprintsListArrayOutput) ToGetWhiteBoxDeviceFingerprintsListArrayOutput() GetWhiteBoxDeviceFingerprintsListArrayOutput
- func (o GetWhiteBoxDeviceFingerprintsListArrayOutput) ToGetWhiteBoxDeviceFingerprintsListArrayOutputWithContext(ctx context.Context) GetWhiteBoxDeviceFingerprintsListArrayOutput
- type GetWhiteBoxDeviceFingerprintsListInput
- type GetWhiteBoxDeviceFingerprintsListOutput
- func (o GetWhiteBoxDeviceFingerprintsListOutput) Description() pulumi.StringOutput
- func (GetWhiteBoxDeviceFingerprintsListOutput) ElementType() reflect.Type
- func (o GetWhiteBoxDeviceFingerprintsListOutput) Identity() pulumi.StringOutput
- func (o GetWhiteBoxDeviceFingerprintsListOutput) ToGetWhiteBoxDeviceFingerprintsListOutput() GetWhiteBoxDeviceFingerprintsListOutput
- func (o GetWhiteBoxDeviceFingerprintsListOutput) ToGetWhiteBoxDeviceFingerprintsListOutputWithContext(ctx context.Context) GetWhiteBoxDeviceFingerprintsListOutput
- type GetWhiteBoxDeviceFingerprintsOutputArgs
- type GetWhiteBoxDeviceFingerprintsResult
- type GetWhiteBoxDeviceFingerprintsResultOutput
- func (GetWhiteBoxDeviceFingerprintsResultOutput) ElementType() reflect.Type
- func (o GetWhiteBoxDeviceFingerprintsResultOutput) Id() pulumi.StringOutput
- func (o GetWhiteBoxDeviceFingerprintsResultOutput) KeyId() pulumi.StringOutput
- func (o GetWhiteBoxDeviceFingerprintsResultOutput) Lists() GetWhiteBoxDeviceFingerprintsListArrayOutput
- func (o GetWhiteBoxDeviceFingerprintsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetWhiteBoxDeviceFingerprintsResultOutput) ToGetWhiteBoxDeviceFingerprintsResultOutput() GetWhiteBoxDeviceFingerprintsResultOutput
- func (o GetWhiteBoxDeviceFingerprintsResultOutput) ToGetWhiteBoxDeviceFingerprintsResultOutputWithContext(ctx context.Context) GetWhiteBoxDeviceFingerprintsResultOutput
- type GetWhiteBoxKeyDetailsArgs
- type GetWhiteBoxKeyDetailsKeyInfo
- type GetWhiteBoxKeyDetailsKeyInfoArgs
- func (GetWhiteBoxKeyDetailsKeyInfoArgs) ElementType() reflect.Type
- func (i GetWhiteBoxKeyDetailsKeyInfoArgs) ToGetWhiteBoxKeyDetailsKeyInfoOutput() GetWhiteBoxKeyDetailsKeyInfoOutput
- func (i GetWhiteBoxKeyDetailsKeyInfoArgs) ToGetWhiteBoxKeyDetailsKeyInfoOutputWithContext(ctx context.Context) GetWhiteBoxKeyDetailsKeyInfoOutput
- type GetWhiteBoxKeyDetailsKeyInfoArray
- func (GetWhiteBoxKeyDetailsKeyInfoArray) ElementType() reflect.Type
- func (i GetWhiteBoxKeyDetailsKeyInfoArray) ToGetWhiteBoxKeyDetailsKeyInfoArrayOutput() GetWhiteBoxKeyDetailsKeyInfoArrayOutput
- func (i GetWhiteBoxKeyDetailsKeyInfoArray) ToGetWhiteBoxKeyDetailsKeyInfoArrayOutputWithContext(ctx context.Context) GetWhiteBoxKeyDetailsKeyInfoArrayOutput
- type GetWhiteBoxKeyDetailsKeyInfoArrayInput
- type GetWhiteBoxKeyDetailsKeyInfoArrayOutput
- func (GetWhiteBoxKeyDetailsKeyInfoArrayOutput) ElementType() reflect.Type
- func (o GetWhiteBoxKeyDetailsKeyInfoArrayOutput) Index(i pulumi.IntInput) GetWhiteBoxKeyDetailsKeyInfoOutput
- func (o GetWhiteBoxKeyDetailsKeyInfoArrayOutput) ToGetWhiteBoxKeyDetailsKeyInfoArrayOutput() GetWhiteBoxKeyDetailsKeyInfoArrayOutput
- func (o GetWhiteBoxKeyDetailsKeyInfoArrayOutput) ToGetWhiteBoxKeyDetailsKeyInfoArrayOutputWithContext(ctx context.Context) GetWhiteBoxKeyDetailsKeyInfoArrayOutput
- type GetWhiteBoxKeyDetailsKeyInfoInput
- type GetWhiteBoxKeyDetailsKeyInfoOutput
- func (o GetWhiteBoxKeyDetailsKeyInfoOutput) Algorithm() pulumi.StringOutput
- func (o GetWhiteBoxKeyDetailsKeyInfoOutput) Alias() pulumi.StringOutput
- func (o GetWhiteBoxKeyDetailsKeyInfoOutput) CreateTime() pulumi.IntOutput
- func (o GetWhiteBoxKeyDetailsKeyInfoOutput) CreatorUin() pulumi.IntOutput
- func (o GetWhiteBoxKeyDetailsKeyInfoOutput) DecryptKey() pulumi.StringOutput
- func (o GetWhiteBoxKeyDetailsKeyInfoOutput) Description() pulumi.StringOutput
- func (o GetWhiteBoxKeyDetailsKeyInfoOutput) DeviceFingerprintBind() pulumi.BoolOutput
- func (GetWhiteBoxKeyDetailsKeyInfoOutput) ElementType() reflect.Type
- func (o GetWhiteBoxKeyDetailsKeyInfoOutput) EncryptKey() pulumi.StringOutput
- func (o GetWhiteBoxKeyDetailsKeyInfoOutput) KeyId() pulumi.StringOutput
- func (o GetWhiteBoxKeyDetailsKeyInfoOutput) OwnerUin() pulumi.IntOutput
- func (o GetWhiteBoxKeyDetailsKeyInfoOutput) ResourceId() pulumi.StringOutput
- func (o GetWhiteBoxKeyDetailsKeyInfoOutput) Status() pulumi.StringOutput
- func (o GetWhiteBoxKeyDetailsKeyInfoOutput) ToGetWhiteBoxKeyDetailsKeyInfoOutput() GetWhiteBoxKeyDetailsKeyInfoOutput
- func (o GetWhiteBoxKeyDetailsKeyInfoOutput) ToGetWhiteBoxKeyDetailsKeyInfoOutputWithContext(ctx context.Context) GetWhiteBoxKeyDetailsKeyInfoOutput
- type GetWhiteBoxKeyDetailsOutputArgs
- type GetWhiteBoxKeyDetailsResult
- type GetWhiteBoxKeyDetailsResultOutput
- func (GetWhiteBoxKeyDetailsResultOutput) ElementType() reflect.Type
- func (o GetWhiteBoxKeyDetailsResultOutput) Id() pulumi.StringOutput
- func (o GetWhiteBoxKeyDetailsResultOutput) KeyInfos() GetWhiteBoxKeyDetailsKeyInfoArrayOutput
- func (o GetWhiteBoxKeyDetailsResultOutput) KeyStatus() pulumi.IntPtrOutput
- func (o GetWhiteBoxKeyDetailsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetWhiteBoxKeyDetailsResultOutput) ToGetWhiteBoxKeyDetailsResultOutput() GetWhiteBoxKeyDetailsResultOutput
- func (o GetWhiteBoxKeyDetailsResultOutput) ToGetWhiteBoxKeyDetailsResultOutputWithContext(ctx context.Context) GetWhiteBoxKeyDetailsResultOutput
- type Key
- type KeyArgs
- type KeyArray
- type KeyArrayInput
- type KeyArrayOutput
- type KeyInput
- type KeyMap
- type KeyMapInput
- type KeyMapOutput
- type KeyOutput
- func (o KeyOutput) Alias() pulumi.StringOutput
- func (o KeyOutput) Description() pulumi.StringPtrOutput
- func (KeyOutput) ElementType() reflect.Type
- func (o KeyOutput) IsArchived() pulumi.BoolPtrOutput
- func (o KeyOutput) IsEnabled() pulumi.BoolPtrOutput
- func (o KeyOutput) KeyRotationEnabled() pulumi.BoolPtrOutput
- func (o KeyOutput) KeyState() pulumi.StringOutput
- func (o KeyOutput) KeyUsage() pulumi.StringPtrOutput
- func (o KeyOutput) PendingDeleteWindowInDays() pulumi.IntPtrOutput
- func (o KeyOutput) Tags() pulumi.MapOutput
- func (o KeyOutput) ToKeyOutput() KeyOutput
- func (o KeyOutput) ToKeyOutputWithContext(ctx context.Context) KeyOutput
- type KeyState
- type OverwriteWhiteBoxDeviceFingerprints
- func (*OverwriteWhiteBoxDeviceFingerprints) ElementType() reflect.Type
- func (i *OverwriteWhiteBoxDeviceFingerprints) ToOverwriteWhiteBoxDeviceFingerprintsOutput() OverwriteWhiteBoxDeviceFingerprintsOutput
- func (i *OverwriteWhiteBoxDeviceFingerprints) ToOverwriteWhiteBoxDeviceFingerprintsOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsOutput
- type OverwriteWhiteBoxDeviceFingerprintsArgs
- type OverwriteWhiteBoxDeviceFingerprintsArray
- func (OverwriteWhiteBoxDeviceFingerprintsArray) ElementType() reflect.Type
- func (i OverwriteWhiteBoxDeviceFingerprintsArray) ToOverwriteWhiteBoxDeviceFingerprintsArrayOutput() OverwriteWhiteBoxDeviceFingerprintsArrayOutput
- func (i OverwriteWhiteBoxDeviceFingerprintsArray) ToOverwriteWhiteBoxDeviceFingerprintsArrayOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsArrayOutput
- type OverwriteWhiteBoxDeviceFingerprintsArrayInput
- type OverwriteWhiteBoxDeviceFingerprintsArrayOutput
- func (OverwriteWhiteBoxDeviceFingerprintsArrayOutput) ElementType() reflect.Type
- func (o OverwriteWhiteBoxDeviceFingerprintsArrayOutput) Index(i pulumi.IntInput) OverwriteWhiteBoxDeviceFingerprintsOutput
- func (o OverwriteWhiteBoxDeviceFingerprintsArrayOutput) ToOverwriteWhiteBoxDeviceFingerprintsArrayOutput() OverwriteWhiteBoxDeviceFingerprintsArrayOutput
- func (o OverwriteWhiteBoxDeviceFingerprintsArrayOutput) ToOverwriteWhiteBoxDeviceFingerprintsArrayOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsArrayOutput
- type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprint
- type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArgs
- func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArgs) ElementType() reflect.Type
- func (i OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArgs) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput() OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput
- func (i OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArgs) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput
- type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArray
- func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArray) ElementType() reflect.Type
- func (i OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArray) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput() OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput
- func (i OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArray) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput
- type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayInput
- type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput
- func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput) ElementType() reflect.Type
- func (o OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput) Index(i pulumi.IntInput) OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput
- func (o OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput() OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput
- func (o OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput
- type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintInput
- type OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput
- func (o OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) Description() pulumi.StringPtrOutput
- func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) ElementType() reflect.Type
- func (o OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) Identity() pulumi.StringOutput
- func (o OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput() OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput
- func (o OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput
- type OverwriteWhiteBoxDeviceFingerprintsInput
- type OverwriteWhiteBoxDeviceFingerprintsMap
- func (OverwriteWhiteBoxDeviceFingerprintsMap) ElementType() reflect.Type
- func (i OverwriteWhiteBoxDeviceFingerprintsMap) ToOverwriteWhiteBoxDeviceFingerprintsMapOutput() OverwriteWhiteBoxDeviceFingerprintsMapOutput
- func (i OverwriteWhiteBoxDeviceFingerprintsMap) ToOverwriteWhiteBoxDeviceFingerprintsMapOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsMapOutput
- type OverwriteWhiteBoxDeviceFingerprintsMapInput
- type OverwriteWhiteBoxDeviceFingerprintsMapOutput
- func (OverwriteWhiteBoxDeviceFingerprintsMapOutput) ElementType() reflect.Type
- func (o OverwriteWhiteBoxDeviceFingerprintsMapOutput) MapIndex(k pulumi.StringInput) OverwriteWhiteBoxDeviceFingerprintsOutput
- func (o OverwriteWhiteBoxDeviceFingerprintsMapOutput) ToOverwriteWhiteBoxDeviceFingerprintsMapOutput() OverwriteWhiteBoxDeviceFingerprintsMapOutput
- func (o OverwriteWhiteBoxDeviceFingerprintsMapOutput) ToOverwriteWhiteBoxDeviceFingerprintsMapOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsMapOutput
- type OverwriteWhiteBoxDeviceFingerprintsOutput
- func (o OverwriteWhiteBoxDeviceFingerprintsOutput) DeviceFingerprints() OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput
- func (OverwriteWhiteBoxDeviceFingerprintsOutput) ElementType() reflect.Type
- func (o OverwriteWhiteBoxDeviceFingerprintsOutput) KeyId() pulumi.StringOutput
- func (o OverwriteWhiteBoxDeviceFingerprintsOutput) ToOverwriteWhiteBoxDeviceFingerprintsOutput() OverwriteWhiteBoxDeviceFingerprintsOutput
- func (o OverwriteWhiteBoxDeviceFingerprintsOutput) ToOverwriteWhiteBoxDeviceFingerprintsOutputWithContext(ctx context.Context) OverwriteWhiteBoxDeviceFingerprintsOutput
- type OverwriteWhiteBoxDeviceFingerprintsState
- type WhiteBoxKey
- type WhiteBoxKeyArgs
- type WhiteBoxKeyArray
- type WhiteBoxKeyArrayInput
- type WhiteBoxKeyArrayOutput
- func (WhiteBoxKeyArrayOutput) ElementType() reflect.Type
- func (o WhiteBoxKeyArrayOutput) Index(i pulumi.IntInput) WhiteBoxKeyOutput
- func (o WhiteBoxKeyArrayOutput) ToWhiteBoxKeyArrayOutput() WhiteBoxKeyArrayOutput
- func (o WhiteBoxKeyArrayOutput) ToWhiteBoxKeyArrayOutputWithContext(ctx context.Context) WhiteBoxKeyArrayOutput
- type WhiteBoxKeyInput
- type WhiteBoxKeyMap
- type WhiteBoxKeyMapInput
- type WhiteBoxKeyMapOutput
- func (WhiteBoxKeyMapOutput) ElementType() reflect.Type
- func (o WhiteBoxKeyMapOutput) MapIndex(k pulumi.StringInput) WhiteBoxKeyOutput
- func (o WhiteBoxKeyMapOutput) ToWhiteBoxKeyMapOutput() WhiteBoxKeyMapOutput
- func (o WhiteBoxKeyMapOutput) ToWhiteBoxKeyMapOutputWithContext(ctx context.Context) WhiteBoxKeyMapOutput
- type WhiteBoxKeyOutput
- func (o WhiteBoxKeyOutput) Algorithm() pulumi.StringOutput
- func (o WhiteBoxKeyOutput) Alias() pulumi.StringOutput
- func (o WhiteBoxKeyOutput) Description() pulumi.StringPtrOutput
- func (WhiteBoxKeyOutput) ElementType() reflect.Type
- func (o WhiteBoxKeyOutput) Status() pulumi.StringPtrOutput
- func (o WhiteBoxKeyOutput) Tags() pulumi.MapOutput
- func (o WhiteBoxKeyOutput) ToWhiteBoxKeyOutput() WhiteBoxKeyOutput
- func (o WhiteBoxKeyOutput) ToWhiteBoxKeyOutputWithContext(ctx context.Context) WhiteBoxKeyOutput
- type WhiteBoxKeyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.5
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
func (CloudResourceAttachmentArgs) ElementType() reflect.Type
type CloudResourceAttachmentArray ¶ added in v0.1.8
type CloudResourceAttachmentArray []CloudResourceAttachmentInput
func (CloudResourceAttachmentArray) ElementType ¶ added in v0.1.8
func (CloudResourceAttachmentArray) ElementType() reflect.Type
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) ElementType() reflect.Type
func (CloudResourceAttachmentArrayOutput) Index ¶ added in v0.1.8
func (o CloudResourceAttachmentArrayOutput) Index(i pulumi.IntInput) CloudResourceAttachmentOutput
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) ElementType() reflect.Type
func (CloudResourceAttachmentMapOutput) MapIndex ¶ added in v0.1.8
func (o CloudResourceAttachmentMapOutput) MapIndex(k pulumi.StringInput) CloudResourceAttachmentOutput
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
func (o CloudResourceAttachmentOutput) Alias() pulumi.StringOutput
Alias.
func (CloudResourceAttachmentOutput) Description ¶ added in v0.1.8
func (o CloudResourceAttachmentOutput) Description() pulumi.StringOutput
Description.
func (CloudResourceAttachmentOutput) ElementType ¶ added in v0.1.8
func (CloudResourceAttachmentOutput) ElementType() reflect.Type
func (CloudResourceAttachmentOutput) KeyId ¶ added in v0.1.8
func (o CloudResourceAttachmentOutput) KeyId() pulumi.StringOutput
CMK unique identifier.
func (CloudResourceAttachmentOutput) KeyState ¶ added in v0.1.8
func (o CloudResourceAttachmentOutput) KeyState() pulumi.StringOutput
Key state.
func (CloudResourceAttachmentOutput) KeyUsage ¶ added in v0.1.8
func (o CloudResourceAttachmentOutput) KeyUsage() pulumi.StringOutput
Key usage.
func (CloudResourceAttachmentOutput) Owner ¶ added in v0.1.8
func (o CloudResourceAttachmentOutput) Owner() pulumi.StringOutput
owner.
func (CloudResourceAttachmentOutput) ProductId ¶ added in v0.1.8
func (o CloudResourceAttachmentOutput) ProductId() pulumi.StringOutput
A unique identifier for the cloud product.
func (CloudResourceAttachmentOutput) ResourceId ¶ added in v0.1.8
func (o CloudResourceAttachmentOutput) ResourceId() pulumi.StringOutput
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
func (CloudResourceAttachmentState) ElementType() reflect.Type
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 (o ExternalKeyArrayOutput) Index(i pulumi.IntInput) ExternalKeyOutput
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 (o ExternalKeyMapOutput) MapIndex(k pulumi.StringInput) ExternalKeyOutput
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 ¶
func (o ExternalKeyOutput) 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 (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) ToExternalKeyOutput ¶
func (o ExternalKeyOutput) ToExternalKeyOutput() ExternalKeyOutput
func (ExternalKeyOutput) ToExternalKeyOutputWithContext ¶
func (o ExternalKeyOutput) ToExternalKeyOutputWithContext(ctx context.Context) ExternalKeyOutput
func (ExternalKeyOutput) ValidTo ¶
func (o ExternalKeyOutput) ValidTo() pulumi.IntPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (GetDescribeKeysKeyListArrayOutput) Index ¶ added in v0.1.8
func (o GetDescribeKeysKeyListArrayOutput) Index(i pulumi.IntInput) GetDescribeKeysKeyListOutput
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
func (o GetDescribeKeysKeyListOutput) Alias() pulumi.StringOutput
Name of CMK.
func (GetDescribeKeysKeyListOutput) CreateTime ¶ added in v0.1.8
func (o GetDescribeKeysKeyListOutput) CreateTime() pulumi.IntOutput
Create time of CMK.
func (GetDescribeKeysKeyListOutput) CreatorUin ¶ added in v0.1.8
func (o GetDescribeKeysKeyListOutput) CreatorUin() pulumi.IntOutput
Uin of CMK Creator.
func (GetDescribeKeysKeyListOutput) DeletionDate ¶ added in v0.1.8
func (o GetDescribeKeysKeyListOutput) DeletionDate() pulumi.IntOutput
Delete time of CMK.
func (GetDescribeKeysKeyListOutput) Description ¶ added in v0.1.8
func (o GetDescribeKeysKeyListOutput) Description() pulumi.StringOutput
Description of CMK.
func (GetDescribeKeysKeyListOutput) ElementType ¶ added in v0.1.8
func (GetDescribeKeysKeyListOutput) ElementType() reflect.Type
func (GetDescribeKeysKeyListOutput) KeyId ¶ added in v0.1.8
func (o GetDescribeKeysKeyListOutput) KeyId() pulumi.StringOutput
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
func (o GetDescribeKeysKeyListOutput) KeyState() pulumi.StringOutput
State of CMK.
func (GetDescribeKeysKeyListOutput) KeyUsage ¶ added in v0.1.8
func (o GetDescribeKeysKeyListOutput) KeyUsage() pulumi.StringOutput
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
func (o GetDescribeKeysKeyListOutput) Origin() pulumi.StringOutput
Origin of CMK. `TENCENT_KMS` - CMK created by KMS, `EXTERNAL` - CMK imported by user.
func (GetDescribeKeysKeyListOutput) Owner ¶ added in v0.1.8
func (o GetDescribeKeysKeyListOutput) Owner() pulumi.StringOutput
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
func (o GetDescribeKeysKeyListOutput) ValidTo() pulumi.IntOutput
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 GetDescribeKeysOutput(ctx *pulumi.Context, args GetDescribeKeysOutputArgs, opts ...pulumi.InvokeOption) GetDescribeKeysResultOutput
func (GetDescribeKeysResultOutput) ElementType ¶ added in v0.1.8
func (GetDescribeKeysResultOutput) ElementType() reflect.Type
func (GetDescribeKeysResultOutput) Id ¶ added in v0.1.8
func (o GetDescribeKeysResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDescribeKeysResultOutput) KeyIds ¶ added in v0.1.8
func (o GetDescribeKeysResultOutput) KeyIds() pulumi.StringArrayOutput
func (GetDescribeKeysResultOutput) KeyLists ¶ added in v0.1.8
func (o GetDescribeKeysResultOutput) KeyLists() GetDescribeKeysKeyListArrayOutput
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
func (GetGetParametersForImportOutputArgs) ElementType() reflect.Type
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 GetGetParametersForImportOutput ¶ added in v0.1.8
func GetGetParametersForImportOutput(ctx *pulumi.Context, args GetGetParametersForImportOutputArgs, opts ...pulumi.InvokeOption) GetGetParametersForImportResultOutput
func (GetGetParametersForImportResultOutput) ElementType ¶ added in v0.1.8
func (GetGetParametersForImportResultOutput) ElementType() reflect.Type
func (GetGetParametersForImportResultOutput) Id ¶ added in v0.1.8
func (o GetGetParametersForImportResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetGetParametersForImportResultOutput) ImportToken ¶ added in v0.1.8
func (o GetGetParametersForImportResultOutput) ImportToken() pulumi.StringOutput
The token required for importing key material is used as the parameter of ImportKeyMaterial.
func (GetGetParametersForImportResultOutput) KeyId ¶ added in v0.1.8
func (o GetGetParametersForImportResultOutput) KeyId() pulumi.StringOutput
func (GetGetParametersForImportResultOutput) ParametersValidTo ¶ added in v0.1.8
func (o GetGetParametersForImportResultOutput) ParametersValidTo() pulumi.IntOutput
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
func (o GetGetParametersForImportResultOutput) PublicKey() pulumi.StringOutput
Base64-encoded public key content.
func (GetGetParametersForImportResultOutput) ResultOutputFile ¶ added in v0.1.8
func (o GetGetParametersForImportResultOutput) ResultOutputFile() pulumi.StringPtrOutput
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 (o GetGetParametersForImportResultOutput) WrappingAlgorithm() pulumi.StringOutput
func (GetGetParametersForImportResultOutput) WrappingKeySpec ¶ added in v0.1.8
func (o GetGetParametersForImportResultOutput) WrappingKeySpec() pulumi.StringOutput
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 (o GetKeysKeyListArrayOutput) Index(i pulumi.IntInput) GetKeysKeyListOutput
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 ¶
func (o GetKeysKeyListOutput) Alias() pulumi.StringOutput
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 ¶
func (o GetKeysKeyListOutput) KeyId() pulumi.StringOutput
ID of CMK.
func (GetKeysKeyListOutput) KeyRotationEnabled ¶
func (o GetKeysKeyListOutput) KeyRotationEnabled() pulumi.BoolOutput
Specify whether to enable key rotation.
func (GetKeysKeyListOutput) KeyState ¶
func (o GetKeysKeyListOutput) KeyState() pulumi.StringOutput
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 ¶
func (o GetKeysKeyListOutput) KeyUsage() pulumi.StringOutput
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 ¶
func (o GetKeysKeyListOutput) Origin() pulumi.StringOutput
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 ¶
func (o GetKeysKeyListOutput) Owner() pulumi.StringOutput
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 ¶
func (o GetKeysKeyListOutput) ValidTo() pulumi.IntOutput
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 GetKeysOutput ¶
func GetKeysOutput(ctx *pulumi.Context, args GetKeysOutputArgs, opts ...pulumi.InvokeOption) GetKeysResultOutput
func (GetKeysResultOutput) ElementType ¶
func (GetKeysResultOutput) ElementType() reflect.Type
func (GetKeysResultOutput) Id ¶
func (o GetKeysResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetKeysResultOutput) KeyLists ¶
func (o GetKeysResultOutput) KeyLists() GetKeysKeyListArrayOutput
A list of KMS keys.
func (GetKeysResultOutput) KeyState ¶
func (o GetKeysResultOutput) KeyState() pulumi.IntPtrOutput
State of CMK.
func (GetKeysResultOutput) KeyUsage ¶
func (o GetKeysResultOutput) KeyUsage() pulumi.StringPtrOutput
Usage of CMK.
func (GetKeysResultOutput) OrderType ¶
func (o GetKeysResultOutput) OrderType() pulumi.IntPtrOutput
func (GetKeysResultOutput) Origin ¶
func (o GetKeysResultOutput) Origin() pulumi.StringPtrOutput
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 (o GetKeysResultOutput) Role() pulumi.IntPtrOutput
func (GetKeysResultOutput) SearchKeyAlias ¶
func (o GetKeysResultOutput) SearchKeyAlias() pulumi.StringPtrOutput
func (GetKeysResultOutput) Tags ¶
func (o GetKeysResultOutput) Tags() pulumi.MapOutput
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 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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
func (o GetListAlgorithmsAsymmetricAlgorithmOutput) Algorithm() pulumi.StringOutput
Algorithm.
func (GetListAlgorithmsAsymmetricAlgorithmOutput) ElementType ¶ added in v0.1.8
func (GetListAlgorithmsAsymmetricAlgorithmOutput) ElementType() reflect.Type
func (GetListAlgorithmsAsymmetricAlgorithmOutput) KeyUsage ¶ added in v0.1.8
func (o GetListAlgorithmsAsymmetricAlgorithmOutput) KeyUsage() pulumi.StringOutput
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 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput ¶ added in v0.1.8
func (o GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput() GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput
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
func (o GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) Algorithm() pulumi.StringOutput
Algorithm.
func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) ElementType ¶ added in v0.1.8
func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) ElementType() reflect.Type
func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) KeyUsage ¶ added in v0.1.8
func (o GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) KeyUsage() pulumi.StringOutput
Key usage.
func (GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput ¶ added in v0.1.8
func (o GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput) ToGetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput() GetListAlgorithmsAsymmetricSignVerifyAlgorithmOutput
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
func (GetListAlgorithmsOutputArgs) ElementType() reflect.Type
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 GetListAlgorithmsOutput(ctx *pulumi.Context, args GetListAlgorithmsOutputArgs, opts ...pulumi.InvokeOption) GetListAlgorithmsResultOutput
func (GetListAlgorithmsResultOutput) AsymmetricAlgorithms ¶ added in v0.1.8
func (o GetListAlgorithmsResultOutput) AsymmetricAlgorithms() GetListAlgorithmsAsymmetricAlgorithmArrayOutput
Asymmetric encryption algorithms supported in this region.
func (GetListAlgorithmsResultOutput) AsymmetricSignVerifyAlgorithms ¶ added in v0.1.8
func (o GetListAlgorithmsResultOutput) AsymmetricSignVerifyAlgorithms() GetListAlgorithmsAsymmetricSignVerifyAlgorithmArrayOutput
Asymmetric signature verification algorithms supported in this region.
func (GetListAlgorithmsResultOutput) ElementType ¶ added in v0.1.8
func (GetListAlgorithmsResultOutput) ElementType() reflect.Type
func (GetListAlgorithmsResultOutput) Id ¶ added in v0.1.8
func (o GetListAlgorithmsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetListAlgorithmsResultOutput) ResultOutputFile ¶ added in v0.1.8
func (o GetListAlgorithmsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetListAlgorithmsResultOutput) SymmetricAlgorithms ¶ added in v0.1.8
func (o GetListAlgorithmsResultOutput) SymmetricAlgorithms() GetListAlgorithmsSymmetricAlgorithmArrayOutput
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 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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
func (o GetListAlgorithmsSymmetricAlgorithmOutput) Algorithm() pulumi.StringOutput
Algorithm.
func (GetListAlgorithmsSymmetricAlgorithmOutput) ElementType ¶ added in v0.1.8
func (GetListAlgorithmsSymmetricAlgorithmOutput) ElementType() reflect.Type
func (GetListAlgorithmsSymmetricAlgorithmOutput) KeyUsage ¶ added in v0.1.8
func (o GetListAlgorithmsSymmetricAlgorithmOutput) KeyUsage() pulumi.StringOutput
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 (o GetListKeysKeyArrayOutput) Index(i pulumi.IntInput) GetListKeysKeyOutput
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
func (o GetListKeysKeyOutput) KeyId() pulumi.StringOutput
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 (o GetListKeysResultOutput) HsmClusterId() pulumi.StringPtrOutput
func (GetListKeysResultOutput) Id ¶ added in v0.1.8
func (o GetListKeysResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetListKeysResultOutput) Keys ¶ added in v0.1.8
func (o GetListKeysResultOutput) Keys() GetListKeysKeyArrayOutput
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 (o GetListKeysResultOutput) Role() pulumi.IntPtrOutput
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
func (o GetPublicKeyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPublicKeyResultOutput) KeyId ¶ added in v0.1.8
func (o GetPublicKeyResultOutput) KeyId() pulumi.StringOutput
func (GetPublicKeyResultOutput) PublicKey ¶ added in v0.1.8
func (o GetPublicKeyResultOutput) PublicKey() pulumi.StringOutput
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
func (GetWhiteBoxDecryptKeyOutputArgs) ElementType() reflect.Type
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 GetWhiteBoxDecryptKeyOutput(ctx *pulumi.Context, args GetWhiteBoxDecryptKeyOutputArgs, opts ...pulumi.InvokeOption) GetWhiteBoxDecryptKeyResultOutput
func (GetWhiteBoxDecryptKeyResultOutput) DecryptKey ¶ added in v0.1.8
func (o GetWhiteBoxDecryptKeyResultOutput) DecryptKey() pulumi.StringOutput
White box decryption key, base64 encoded.
func (GetWhiteBoxDecryptKeyResultOutput) ElementType ¶ added in v0.1.8
func (GetWhiteBoxDecryptKeyResultOutput) ElementType() reflect.Type
func (GetWhiteBoxDecryptKeyResultOutput) Id ¶ added in v0.1.8
func (o GetWhiteBoxDecryptKeyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetWhiteBoxDecryptKeyResultOutput) KeyId ¶ added in v0.1.8
func (o GetWhiteBoxDecryptKeyResultOutput) KeyId() pulumi.StringOutput
func (GetWhiteBoxDecryptKeyResultOutput) ResultOutputFile ¶ added in v0.1.8
func (o GetWhiteBoxDecryptKeyResultOutput) ResultOutputFile() pulumi.StringPtrOutput
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 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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
func (o GetWhiteBoxDeviceFingerprintsListOutput) Description() pulumi.StringOutput
Description.
func (GetWhiteBoxDeviceFingerprintsListOutput) ElementType ¶ added in v0.1.8
func (GetWhiteBoxDeviceFingerprintsListOutput) ElementType() reflect.Type
func (GetWhiteBoxDeviceFingerprintsListOutput) Identity ¶ added in v0.1.8
func (o GetWhiteBoxDeviceFingerprintsListOutput) Identity() pulumi.StringOutput
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
func (GetWhiteBoxDeviceFingerprintsOutputArgs) ElementType() reflect.Type
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
func GetWhiteBoxDeviceFingerprints(ctx *pulumi.Context, args *GetWhiteBoxDeviceFingerprintsArgs, opts ...pulumi.InvokeOption) (*GetWhiteBoxDeviceFingerprintsResult, error)
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 GetWhiteBoxDeviceFingerprintsOutput ¶ added in v0.1.8
func GetWhiteBoxDeviceFingerprintsOutput(ctx *pulumi.Context, args GetWhiteBoxDeviceFingerprintsOutputArgs, opts ...pulumi.InvokeOption) GetWhiteBoxDeviceFingerprintsResultOutput
func (GetWhiteBoxDeviceFingerprintsResultOutput) ElementType ¶ added in v0.1.8
func (GetWhiteBoxDeviceFingerprintsResultOutput) ElementType() reflect.Type
func (GetWhiteBoxDeviceFingerprintsResultOutput) Id ¶ added in v0.1.8
func (o GetWhiteBoxDeviceFingerprintsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetWhiteBoxDeviceFingerprintsResultOutput) KeyId ¶ added in v0.1.8
func (o GetWhiteBoxDeviceFingerprintsResultOutput) KeyId() pulumi.StringOutput
func (GetWhiteBoxDeviceFingerprintsResultOutput) Lists ¶ added in v0.1.8
func (o GetWhiteBoxDeviceFingerprintsResultOutput) Lists() GetWhiteBoxDeviceFingerprintsListArrayOutput
Device fingerprint list.
func (GetWhiteBoxDeviceFingerprintsResultOutput) ResultOutputFile ¶ added in v0.1.8
func (o GetWhiteBoxDeviceFingerprintsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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
func (o GetWhiteBoxKeyDetailsKeyInfoOutput) Algorithm() pulumi.StringOutput
The type of algorithm used by the key.
func (GetWhiteBoxKeyDetailsKeyInfoOutput) Alias ¶ added in v0.1.8
func (o GetWhiteBoxKeyDetailsKeyInfoOutput) Alias() pulumi.StringOutput
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
func (o GetWhiteBoxKeyDetailsKeyInfoOutput) CreateTime() pulumi.IntOutput
Key creation time, Unix timestamp.
func (GetWhiteBoxKeyDetailsKeyInfoOutput) CreatorUin ¶ added in v0.1.8
func (o GetWhiteBoxKeyDetailsKeyInfoOutput) CreatorUin() pulumi.IntOutput
Creator.
func (GetWhiteBoxKeyDetailsKeyInfoOutput) DecryptKey ¶ added in v0.1.8
func (o GetWhiteBoxKeyDetailsKeyInfoOutput) DecryptKey() pulumi.StringOutput
White box decryption key, base64 encoded.
func (GetWhiteBoxKeyDetailsKeyInfoOutput) Description ¶ added in v0.1.8
func (o GetWhiteBoxKeyDetailsKeyInfoOutput) Description() pulumi.StringOutput
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) ElementType() reflect.Type
func (GetWhiteBoxKeyDetailsKeyInfoOutput) EncryptKey ¶ added in v0.1.8
func (o GetWhiteBoxKeyDetailsKeyInfoOutput) EncryptKey() pulumi.StringOutput
White box encryption key, base64 encoded.
func (GetWhiteBoxKeyDetailsKeyInfoOutput) KeyId ¶ added in v0.1.8
func (o GetWhiteBoxKeyDetailsKeyInfoOutput) KeyId() pulumi.StringOutput
Globally unique identifier for the white box key.
func (GetWhiteBoxKeyDetailsKeyInfoOutput) OwnerUin ¶ added in v0.1.8
func (o GetWhiteBoxKeyDetailsKeyInfoOutput) OwnerUin() pulumi.IntOutput
Creator.
func (GetWhiteBoxKeyDetailsKeyInfoOutput) ResourceId ¶ added in v0.1.8
func (o GetWhiteBoxKeyDetailsKeyInfoOutput) ResourceId() pulumi.StringOutput
Resource ID, format: creatorUin/$creatorUin/$keyId.
func (GetWhiteBoxKeyDetailsKeyInfoOutput) Status ¶ added in v0.1.8
func (o GetWhiteBoxKeyDetailsKeyInfoOutput) Status() pulumi.StringOutput
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
func (GetWhiteBoxKeyDetailsOutputArgs) ElementType() reflect.Type
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 GetWhiteBoxKeyDetailsOutput(ctx *pulumi.Context, args GetWhiteBoxKeyDetailsOutputArgs, opts ...pulumi.InvokeOption) GetWhiteBoxKeyDetailsResultOutput
func (GetWhiteBoxKeyDetailsResultOutput) ElementType ¶ added in v0.1.8
func (GetWhiteBoxKeyDetailsResultOutput) ElementType() reflect.Type
func (GetWhiteBoxKeyDetailsResultOutput) Id ¶ added in v0.1.8
func (o GetWhiteBoxKeyDetailsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetWhiteBoxKeyDetailsResultOutput) KeyInfos ¶ added in v0.1.8
func (o GetWhiteBoxKeyDetailsResultOutput) KeyInfos() GetWhiteBoxKeyDetailsKeyInfoArrayOutput
List of white box key information.
func (GetWhiteBoxKeyDetailsResultOutput) KeyStatus ¶ added in v0.1.8
func (o GetWhiteBoxKeyDetailsResultOutput) KeyStatus() pulumi.IntPtrOutput
func (GetWhiteBoxKeyDetailsResultOutput) ResultOutputFile ¶ added in v0.1.8
func (o GetWhiteBoxKeyDetailsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
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) ToKeyOutput ¶
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 ¶
type KeyArray ¶
type KeyArray []KeyInput
func (KeyArray) ElementType ¶
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) ToKeyArrayOutput ¶
func (o KeyArrayOutput) ToKeyArrayOutput() KeyArrayOutput
func (KeyArrayOutput) ToKeyArrayOutputWithContext ¶
func (o KeyArrayOutput) ToKeyArrayOutputWithContext(ctx context.Context) KeyArrayOutput
type KeyMap ¶
func (KeyMap) ElementType ¶
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) 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) 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) ToKeyOutput ¶
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 ¶
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) ElementType() reflect.Type
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
func (OverwriteWhiteBoxDeviceFingerprintsArgs) ElementType() reflect.Type
type OverwriteWhiteBoxDeviceFingerprintsArray ¶ added in v0.1.8
type OverwriteWhiteBoxDeviceFingerprintsArray []OverwriteWhiteBoxDeviceFingerprintsInput
func (OverwriteWhiteBoxDeviceFingerprintsArray) ElementType ¶ added in v0.1.8
func (OverwriteWhiteBoxDeviceFingerprintsArray) ElementType() reflect.Type
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) ElementType() reflect.Type
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 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) ElementType() reflect.Type
func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArgs) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput ¶ added in v0.1.8
func (i OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArgs) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput() OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput ¶ added in v0.1.8
func (o OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput() OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput
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
func (o OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) Description() pulumi.StringPtrOutput
Description.
func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) ElementType ¶ added in v0.1.8
func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) ElementType() reflect.Type
func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) Identity ¶ added in v0.1.8
func (o OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) Identity() pulumi.StringOutput
identity.
func (OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput ¶ added in v0.1.8
func (o OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput) ToOverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput() OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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
func (o OverwriteWhiteBoxDeviceFingerprintsOutput) DeviceFingerprints() OverwriteWhiteBoxDeviceFingerprintsDeviceFingerprintArrayOutput
Device fingerprint list.
func (OverwriteWhiteBoxDeviceFingerprintsOutput) ElementType ¶ added in v0.1.8
func (OverwriteWhiteBoxDeviceFingerprintsOutput) ElementType() reflect.Type
func (OverwriteWhiteBoxDeviceFingerprintsOutput) KeyId ¶ added in v0.1.8
func (o OverwriteWhiteBoxDeviceFingerprintsOutput) KeyId() pulumi.StringOutput
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
func (OverwriteWhiteBoxDeviceFingerprintsState) ElementType() reflect.Type
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 (o WhiteBoxKeyArrayOutput) Index(i pulumi.IntInput) WhiteBoxKeyOutput
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 (o WhiteBoxKeyMapOutput) MapIndex(k pulumi.StringInput) WhiteBoxKeyOutput
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
func (o WhiteBoxKeyOutput) Alias() pulumi.StringOutput
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
func (o WhiteBoxKeyOutput) Status() pulumi.StringPtrOutput
Whether to enable the key. Enabled or Disabled. Default is Enabled.
func (WhiteBoxKeyOutput) Tags ¶ added in v0.1.8
func (o WhiteBoxKeyOutput) Tags() pulumi.MapOutput
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
Source Files ¶
- cloudResourceAttachment.go
- externalKey.go
- getDescribeKeys.go
- getGetParametersForImport.go
- getKeys.go
- getListAlgorithms.go
- getListKeys.go
- getPublicKey.go
- getWhiteBoxDecryptKey.go
- getWhiteBoxDeviceFingerprints.go
- getWhiteBoxKeyDetails.go
- init.go
- key.go
- overwriteWhiteBoxDeviceFingerprints.go
- pulumiTypes.go
- pulumiUtilities.go
- whiteBoxKey.go