tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getKmsWhiteBoxDecryptKey
Start a Neo task
Explain and create a tencentcloud.getKmsWhiteBoxDecryptKey resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 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 dictionaryThe following arguments are supported:
- Key
Id string - Globally unique identifier for the white box key.
- Id string
- Result
Output stringFile - Used to save results.
- Key
Id string - Globally unique identifier for the white box key.
- Id string
- Result
Output stringFile - Used to save results.
- key
Id String - Globally unique identifier for the white box key.
- id String
- result
Output StringFile - Used to save results.
- key
Id string - Globally unique identifier for the white box key.
- id string
- result
Output stringFile - Used to save results.
- key_
id str - Globally unique identifier for the white box key.
- id str
- result_
output_ strfile - Used to save results.
- key
Id String - Globally unique identifier for the white box key.
- id String
- result
Output StringFile - Used to save results.
getKmsWhiteBoxDecryptKey Result
The following output properties are available:
- Decrypt
Key string - White box decryption key, base64 encoded.
- Id string
- Key
Id string - Result
Output stringFile
- Decrypt
Key string - White box decryption key, base64 encoded.
- Id string
- Key
Id string - Result
Output stringFile
- decrypt
Key String - White box decryption key, base64 encoded.
- id String
- key
Id String - result
Output StringFile
- decrypt
Key string - White box decryption key, base64 encoded.
- id string
- key
Id string - result
Output stringFile
- decrypt_
key str - White box decryption key, base64 encoded.
- id str
- key_
id str - result_
output_ strfile
- decrypt
Key String - White box decryption key, base64 encoded.
- id String
- key
Id String - result
Output StringFile
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
