tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getKmsGetParametersForImport
Start a Neo task
Explain and create a tencentcloud.getKmsGetParametersForImport resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of kms get_parameters_for_import
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getKmsGetParametersForImport({
keyId: "786aea8c-4aec-11ee-b601-525400281a45",
wrappingAlgorithm: "RSAES_OAEP_SHA_1",
wrappingKeySpec: "RSA_2048",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_kms_get_parameters_for_import(key_id="786aea8c-4aec-11ee-b601-525400281a45",
wrapping_algorithm="RSAES_OAEP_SHA_1",
wrapping_key_spec="RSA_2048")
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.GetKmsGetParametersForImport(ctx, &tencentcloud.GetKmsGetParametersForImportArgs{
KeyId: "786aea8c-4aec-11ee-b601-525400281a45",
WrappingAlgorithm: "RSAES_OAEP_SHA_1",
WrappingKeySpec: "RSA_2048",
}, 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.GetKmsGetParametersForImport.Invoke(new()
{
KeyId = "786aea8c-4aec-11ee-b601-525400281a45",
WrappingAlgorithm = "RSAES_OAEP_SHA_1",
WrappingKeySpec = "RSA_2048",
});
});
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.GetKmsGetParametersForImportArgs;
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.getKmsGetParametersForImport(GetKmsGetParametersForImportArgs.builder()
.keyId("786aea8c-4aec-11ee-b601-525400281a45")
.wrappingAlgorithm("RSAES_OAEP_SHA_1")
.wrappingKeySpec("RSA_2048")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getKmsGetParametersForImport
arguments:
keyId: 786aea8c-4aec-11ee-b601-525400281a45
wrappingAlgorithm: RSAES_OAEP_SHA_1
wrappingKeySpec: RSA_2048
Using getKmsGetParametersForImport
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 getKmsGetParametersForImport(args: GetKmsGetParametersForImportArgs, opts?: InvokeOptions): Promise<GetKmsGetParametersForImportResult>
function getKmsGetParametersForImportOutput(args: GetKmsGetParametersForImportOutputArgs, opts?: InvokeOptions): Output<GetKmsGetParametersForImportResult>def get_kms_get_parameters_for_import(id: Optional[str] = None,
key_id: Optional[str] = None,
result_output_file: Optional[str] = None,
wrapping_algorithm: Optional[str] = None,
wrapping_key_spec: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKmsGetParametersForImportResult
def get_kms_get_parameters_for_import_output(id: Optional[pulumi.Input[str]] = None,
key_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
wrapping_algorithm: Optional[pulumi.Input[str]] = None,
wrapping_key_spec: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKmsGetParametersForImportResult]func GetKmsGetParametersForImport(ctx *Context, args *GetKmsGetParametersForImportArgs, opts ...InvokeOption) (*GetKmsGetParametersForImportResult, error)
func GetKmsGetParametersForImportOutput(ctx *Context, args *GetKmsGetParametersForImportOutputArgs, opts ...InvokeOption) GetKmsGetParametersForImportResultOutput> Note: This function is named GetKmsGetParametersForImport in the Go SDK.
public static class GetKmsGetParametersForImport
{
public static Task<GetKmsGetParametersForImportResult> InvokeAsync(GetKmsGetParametersForImportArgs args, InvokeOptions? opts = null)
public static Output<GetKmsGetParametersForImportResult> Invoke(GetKmsGetParametersForImportInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKmsGetParametersForImportResult> getKmsGetParametersForImport(GetKmsGetParametersForImportArgs args, InvokeOptions options)
public static Output<GetKmsGetParametersForImportResult> getKmsGetParametersForImport(GetKmsGetParametersForImportArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getKmsGetParametersForImport:getKmsGetParametersForImport
arguments:
# arguments dictionaryThe following arguments are supported:
- Key
Id string - CMK unique identifier.
- Wrapping
Algorithm string - Specifies the algorithm for encrypting key material, currently supports RSAES_PKCS1_V1_5, RSAES_OAEP_SHA_1, RSAES_OAEP_SHA_256.
- Wrapping
Key stringSpec - Specifies the type of encryption key material, currently only supports RSA_2048.
- Id string
- Result
Output stringFile - Used to save results.
- Key
Id string - CMK unique identifier.
- Wrapping
Algorithm string - Specifies the algorithm for encrypting key material, currently supports RSAES_PKCS1_V1_5, RSAES_OAEP_SHA_1, RSAES_OAEP_SHA_256.
- Wrapping
Key stringSpec - Specifies the type of encryption key material, currently only supports RSA_2048.
- Id string
- Result
Output stringFile - Used to save results.
- key
Id String - CMK unique identifier.
- wrapping
Algorithm String - Specifies the algorithm for encrypting key material, currently supports RSAES_PKCS1_V1_5, RSAES_OAEP_SHA_1, RSAES_OAEP_SHA_256.
- wrapping
Key StringSpec - Specifies the type of encryption key material, currently only supports RSA_2048.
- id String
- result
Output StringFile - Used to save results.
- key
Id string - CMK unique identifier.
- wrapping
Algorithm string - Specifies the algorithm for encrypting key material, currently supports RSAES_PKCS1_V1_5, RSAES_OAEP_SHA_1, RSAES_OAEP_SHA_256.
- wrapping
Key stringSpec - Specifies the type of encryption key material, currently only supports RSA_2048.
- id string
- result
Output stringFile - Used to save results.
- key_
id str - CMK unique identifier.
- wrapping_
algorithm str - Specifies the algorithm for encrypting key material, currently supports RSAES_PKCS1_V1_5, RSAES_OAEP_SHA_1, RSAES_OAEP_SHA_256.
- wrapping_
key_ strspec - Specifies the type of encryption key material, currently only supports RSA_2048.
- id str
- result_
output_ strfile - Used to save results.
- key
Id String - CMK unique identifier.
- wrapping
Algorithm String - Specifies the algorithm for encrypting key material, currently supports RSAES_PKCS1_V1_5, RSAES_OAEP_SHA_1, RSAES_OAEP_SHA_256.
- wrapping
Key StringSpec - Specifies the type of encryption key material, currently only supports RSA_2048.
- id String
- result
Output StringFile - Used to save results.
getKmsGetParametersForImport Result
The following output properties are available:
- Id string
- Import
Token string - The token required for importing key material is used as the parameter of ImportKeyMaterial.
- Key
Id string - Parameters
Valid doubleTo - 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.
- Public
Key string - Base64-encoded public key content.
- Wrapping
Algorithm string - Wrapping
Key stringSpec - Result
Output stringFile
- Id string
- Import
Token string - The token required for importing key material is used as the parameter of ImportKeyMaterial.
- Key
Id string - Parameters
Valid float64To - 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.
- Public
Key string - Base64-encoded public key content.
- Wrapping
Algorithm string - Wrapping
Key stringSpec - Result
Output stringFile
- id String
- import
Token String - The token required for importing key material is used as the parameter of ImportKeyMaterial.
- key
Id String - parameters
Valid DoubleTo - 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.
- public
Key String - Base64-encoded public key content.
- wrapping
Algorithm String - wrapping
Key StringSpec - result
Output StringFile
- id string
- import
Token string - The token required for importing key material is used as the parameter of ImportKeyMaterial.
- key
Id string - parameters
Valid numberTo - 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.
- public
Key string - Base64-encoded public key content.
- wrapping
Algorithm string - wrapping
Key stringSpec - result
Output stringFile
- id str
- import_
token str - The token required for importing key material is used as the parameter of ImportKeyMaterial.
- key_
id str - parameters_
valid_ floatto - 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.
- public_
key str - Base64-encoded public key content.
- wrapping_
algorithm str - wrapping_
key_ strspec - result_
output_ strfile
- id String
- import
Token String - The token required for importing key material is used as the parameter of ImportKeyMaterial.
- key
Id String - parameters
Valid NumberTo - 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.
- public
Key String - Base64-encoded public key content.
- wrapping
Algorithm String - wrapping
Key StringSpec - 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.35 published on Friday, Nov 7, 2025 by tencentcloudstack
