tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getKmsWhiteBoxKeyDetails
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of kms white_box_key_details
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getKmsWhiteBoxKeyDetails({
keyStatus: 0,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_kms_white_box_key_details(key_status=0)
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.GetKmsWhiteBoxKeyDetails(ctx, &tencentcloud.GetKmsWhiteBoxKeyDetailsArgs{
KeyStatus: pulumi.Float64Ref(0),
}, 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.GetKmsWhiteBoxKeyDetails.Invoke(new()
{
KeyStatus = 0,
});
});
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.GetKmsWhiteBoxKeyDetailsArgs;
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.getKmsWhiteBoxKeyDetails(GetKmsWhiteBoxKeyDetailsArgs.builder()
.keyStatus(0)
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getKmsWhiteBoxKeyDetails
arguments:
keyStatus: 0
Using getKmsWhiteBoxKeyDetails
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 getKmsWhiteBoxKeyDetails(args: GetKmsWhiteBoxKeyDetailsArgs, opts?: InvokeOptions): Promise<GetKmsWhiteBoxKeyDetailsResult>
function getKmsWhiteBoxKeyDetailsOutput(args: GetKmsWhiteBoxKeyDetailsOutputArgs, opts?: InvokeOptions): Output<GetKmsWhiteBoxKeyDetailsResult>
def get_kms_white_box_key_details(id: Optional[str] = None,
key_status: Optional[float] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKmsWhiteBoxKeyDetailsResult
def get_kms_white_box_key_details_output(id: Optional[pulumi.Input[str]] = None,
key_status: Optional[pulumi.Input[float]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKmsWhiteBoxKeyDetailsResult]
func GetKmsWhiteBoxKeyDetails(ctx *Context, args *GetKmsWhiteBoxKeyDetailsArgs, opts ...InvokeOption) (*GetKmsWhiteBoxKeyDetailsResult, error)
func GetKmsWhiteBoxKeyDetailsOutput(ctx *Context, args *GetKmsWhiteBoxKeyDetailsOutputArgs, opts ...InvokeOption) GetKmsWhiteBoxKeyDetailsResultOutput
> Note: This function is named GetKmsWhiteBoxKeyDetails
in the Go SDK.
public static class GetKmsWhiteBoxKeyDetails
{
public static Task<GetKmsWhiteBoxKeyDetailsResult> InvokeAsync(GetKmsWhiteBoxKeyDetailsArgs args, InvokeOptions? opts = null)
public static Output<GetKmsWhiteBoxKeyDetailsResult> Invoke(GetKmsWhiteBoxKeyDetailsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetKmsWhiteBoxKeyDetailsResult> getKmsWhiteBoxKeyDetails(GetKmsWhiteBoxKeyDetailsArgs args, InvokeOptions options)
public static Output<GetKmsWhiteBoxKeyDetailsResult> getKmsWhiteBoxKeyDetails(GetKmsWhiteBoxKeyDetailsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getKmsWhiteBoxKeyDetails:getKmsWhiteBoxKeyDetails
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Key
Status double - Filter condition: status of the key, 0: disabled, 1: enabled.
- Result
Output stringFile - Used to save results.
- Id string
- Key
Status float64 - Filter condition: status of the key, 0: disabled, 1: enabled.
- Result
Output stringFile - Used to save results.
- id String
- key
Status Double - Filter condition: status of the key, 0: disabled, 1: enabled.
- result
Output StringFile - Used to save results.
- id string
- key
Status number - Filter condition: status of the key, 0: disabled, 1: enabled.
- result
Output stringFile - Used to save results.
- id str
- key_
status float - Filter condition: status of the key, 0: disabled, 1: enabled.
- result_
output_ strfile - Used to save results.
- id String
- key
Status Number - Filter condition: status of the key, 0: disabled, 1: enabled.
- result
Output StringFile - Used to save results.
getKmsWhiteBoxKeyDetails Result
The following output properties are available:
- Id string
- Key
Infos List<GetKms White Box Key Details Key Info> - List of white box key information.
- Key
Status double - Result
Output stringFile
- Id string
- Key
Infos []GetKms White Box Key Details Key Info - List of white box key information.
- Key
Status float64 - Result
Output stringFile
- id String
- key
Infos List<GetKms White Box Key Details Key Info> - List of white box key information.
- key
Status Double - result
Output StringFile
- id string
- key
Infos GetKms White Box Key Details Key Info[] - List of white box key information.
- key
Status number - result
Output stringFile
- id str
- key_
infos Sequence[GetKms White Box Key Details Key Info] - List of white box key information.
- key_
status float - result_
output_ strfile
- id String
- key
Infos List<Property Map> - List of white box key information.
- key
Status Number - result
Output StringFile
Supporting Types
GetKmsWhiteBoxKeyDetailsKeyInfo
- Algorithm string
- The type of algorithm used by the key.
- Alias string
- 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.
- Create
Time double - Key creation time, Unix timestamp.
- Creator
Uin double - Creator.
- Decrypt
Key string - White box decryption key, base64 encoded.
- Description string
- Description of the key.
- Device
Fingerprint boolBind - Is there a device fingerprint bound to the current key?.
- Encrypt
Key string - White box encryption key, base64 encoded.
- Key
Id string - Globally unique identifier for the white box key.
- Owner
Uin double - Creator.
- Resource
Id string - Resource ID, format: creatorUin/$creatorUin/$keyId.
- Status string
- The status of the white box key, the value is: Enabled | Disabled.
- Algorithm string
- The type of algorithm used by the key.
- Alias string
- 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.
- Create
Time float64 - Key creation time, Unix timestamp.
- Creator
Uin float64 - Creator.
- Decrypt
Key string - White box decryption key, base64 encoded.
- Description string
- Description of the key.
- Device
Fingerprint boolBind - Is there a device fingerprint bound to the current key?.
- Encrypt
Key string - White box encryption key, base64 encoded.
- Key
Id string - Globally unique identifier for the white box key.
- Owner
Uin float64 - Creator.
- Resource
Id string - Resource ID, format: creatorUin/$creatorUin/$keyId.
- Status string
- The status of the white box key, the value is: Enabled | Disabled.
- algorithm String
- The type of algorithm used by the key.
- alias String
- 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.
- create
Time Double - Key creation time, Unix timestamp.
- creator
Uin Double - Creator.
- decrypt
Key String - White box decryption key, base64 encoded.
- description String
- Description of the key.
- device
Fingerprint BooleanBind - Is there a device fingerprint bound to the current key?.
- encrypt
Key String - White box encryption key, base64 encoded.
- key
Id String - Globally unique identifier for the white box key.
- owner
Uin Double - Creator.
- resource
Id String - Resource ID, format: creatorUin/$creatorUin/$keyId.
- status String
- The status of the white box key, the value is: Enabled | Disabled.
- algorithm string
- The type of algorithm used by the key.
- alias string
- 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.
- create
Time number - Key creation time, Unix timestamp.
- creator
Uin number - Creator.
- decrypt
Key string - White box decryption key, base64 encoded.
- description string
- Description of the key.
- device
Fingerprint booleanBind - Is there a device fingerprint bound to the current key?.
- encrypt
Key string - White box encryption key, base64 encoded.
- key
Id string - Globally unique identifier for the white box key.
- owner
Uin number - Creator.
- resource
Id string - Resource ID, format: creatorUin/$creatorUin/$keyId.
- status string
- The status of the white box key, the value is: Enabled | Disabled.
- algorithm str
- The type of algorithm used by the key.
- alias str
- 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.
- create_
time float - Key creation time, Unix timestamp.
- creator_
uin float - Creator.
- decrypt_
key str - White box decryption key, base64 encoded.
- description str
- Description of the key.
- device_
fingerprint_ boolbind - Is there a device fingerprint bound to the current key?.
- encrypt_
key str - White box encryption key, base64 encoded.
- key_
id str - Globally unique identifier for the white box key.
- owner_
uin float - Creator.
- resource_
id str - Resource ID, format: creatorUin/$creatorUin/$keyId.
- status str
- The status of the white box key, the value is: Enabled | Disabled.
- algorithm String
- The type of algorithm used by the key.
- alias String
- 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.
- create
Time Number - Key creation time, Unix timestamp.
- creator
Uin Number - Creator.
- decrypt
Key String - White box decryption key, base64 encoded.
- description String
- Description of the key.
- device
Fingerprint BooleanBind - Is there a device fingerprint bound to the current key?.
- encrypt
Key String - White box encryption key, base64 encoded.
- key
Id String - Globally unique identifier for the white box key.
- owner
Uin Number - Creator.
- resource
Id String - Resource ID, format: creatorUin/$creatorUin/$keyId.
- status String
- The status of the white box key, the value is: Enabled | Disabled.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack