1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getKmsWhiteBoxDecryptKey
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getKmsWhiteBoxDecryptKey

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of kms white_box_decrypt_key

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getKmsWhiteBoxDecryptKey({
        keyId: "244dab8c-6dad-11ea-80c6-5254006d0810",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_kms_white_box_decrypt_key(key_id="244dab8c-6dad-11ea-80c6-5254006d0810")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetKmsWhiteBoxDecryptKey(ctx, &tencentcloud.GetKmsWhiteBoxDecryptKeyArgs{
    			KeyId: "244dab8c-6dad-11ea-80c6-5254006d0810",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetKmsWhiteBoxDecryptKey.Invoke(new()
        {
            KeyId = "244dab8c-6dad-11ea-80c6-5254006d0810",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetKmsWhiteBoxDecryptKeyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = TencentcloudFunctions.getKmsWhiteBoxDecryptKey(GetKmsWhiteBoxDecryptKeyArgs.builder()
                .keyId("244dab8c-6dad-11ea-80c6-5254006d0810")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getKmsWhiteBoxDecryptKey
          arguments:
            keyId: 244dab8c-6dad-11ea-80c6-5254006d0810
    

    Using getKmsWhiteBoxDecryptKey

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getKmsWhiteBoxDecryptKey(args: GetKmsWhiteBoxDecryptKeyArgs, opts?: InvokeOptions): Promise<GetKmsWhiteBoxDecryptKeyResult>
    function getKmsWhiteBoxDecryptKeyOutput(args: GetKmsWhiteBoxDecryptKeyOutputArgs, opts?: InvokeOptions): Output<GetKmsWhiteBoxDecryptKeyResult>
    def get_kms_white_box_decrypt_key(id: Optional[str] = None,
                                      key_id: Optional[str] = None,
                                      result_output_file: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetKmsWhiteBoxDecryptKeyResult
    def get_kms_white_box_decrypt_key_output(id: Optional[pulumi.Input[str]] = None,
                                      key_id: Optional[pulumi.Input[str]] = None,
                                      result_output_file: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetKmsWhiteBoxDecryptKeyResult]
    func GetKmsWhiteBoxDecryptKey(ctx *Context, args *GetKmsWhiteBoxDecryptKeyArgs, opts ...InvokeOption) (*GetKmsWhiteBoxDecryptKeyResult, error)
    func GetKmsWhiteBoxDecryptKeyOutput(ctx *Context, args *GetKmsWhiteBoxDecryptKeyOutputArgs, opts ...InvokeOption) GetKmsWhiteBoxDecryptKeyResultOutput

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

    public static class GetKmsWhiteBoxDecryptKey 
    {
        public static Task<GetKmsWhiteBoxDecryptKeyResult> InvokeAsync(GetKmsWhiteBoxDecryptKeyArgs args, InvokeOptions? opts = null)
        public static Output<GetKmsWhiteBoxDecryptKeyResult> Invoke(GetKmsWhiteBoxDecryptKeyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetKmsWhiteBoxDecryptKeyResult> getKmsWhiteBoxDecryptKey(GetKmsWhiteBoxDecryptKeyArgs args, InvokeOptions options)
    public static Output<GetKmsWhiteBoxDecryptKeyResult> getKmsWhiteBoxDecryptKey(GetKmsWhiteBoxDecryptKeyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getKmsWhiteBoxDecryptKey:getKmsWhiteBoxDecryptKey
      arguments:
        # arguments dictionary

    The following arguments are supported:

    KeyId string
    Globally unique identifier for the white box key.
    Id string
    ResultOutputFile string
    Used to save results.
    KeyId string
    Globally unique identifier for the white box key.
    Id string
    ResultOutputFile string
    Used to save results.
    keyId String
    Globally unique identifier for the white box key.
    id String
    resultOutputFile String
    Used to save results.
    keyId string
    Globally unique identifier for the white box key.
    id string
    resultOutputFile string
    Used to save results.
    key_id str
    Globally unique identifier for the white box key.
    id str
    result_output_file str
    Used to save results.
    keyId String
    Globally unique identifier for the white box key.
    id String
    resultOutputFile String
    Used to save results.

    getKmsWhiteBoxDecryptKey Result

    The following output properties are available:

    DecryptKey string
    White box decryption key, base64 encoded.
    Id string
    KeyId string
    ResultOutputFile string
    DecryptKey string
    White box decryption key, base64 encoded.
    Id string
    KeyId string
    ResultOutputFile string
    decryptKey String
    White box decryption key, base64 encoded.
    id String
    keyId String
    resultOutputFile String
    decryptKey string
    White box decryption key, base64 encoded.
    id string
    keyId string
    resultOutputFile string
    decrypt_key str
    White box decryption key, base64 encoded.
    id str
    key_id str
    result_output_file str
    decryptKey String
    White box decryption key, base64 encoded.
    id String
    keyId String
    resultOutputFile String

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack