Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Deprecated: volcengine.kms.AsymmetricSignatures has been deprecated in favor of volcengine.kms.getAsymmetricSignatures
Use this data source to query detailed information of kms asymmetric signatures
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const sign1 = volcengine.kms.getAsymmetricSignatures({
algorithm: "RSA_PSS_SHA_256",
keyId: "516274b3-0cba-4fad-****-c8355e3e8213",
message: "VGhpcyBpcyBhIG1lc3NhZ2UgZXhhbXBsZS4=",
messageType: "RAW",
});
const sign2 = volcengine.kms.getAsymmetricSignatures({
algorithm: "RSA_PSS_SHA_256",
keyId: "516274b3-0cba-4fad-****-c8355e3e8213",
message: "KsFMwOobjOMHfYaPl2IgXX6tzziiT+SucmfmXTo2f6U=",
messageType: "DIGEST",
});
import pulumi
import pulumi_volcengine as volcengine
sign1 = volcengine.kms.get_asymmetric_signatures(algorithm="RSA_PSS_SHA_256",
key_id="516274b3-0cba-4fad-****-c8355e3e8213",
message="VGhpcyBpcyBhIG1lc3NhZ2UgZXhhbXBsZS4=",
message_type="RAW")
sign2 = volcengine.kms.get_asymmetric_signatures(algorithm="RSA_PSS_SHA_256",
key_id="516274b3-0cba-4fad-****-c8355e3e8213",
message="KsFMwOobjOMHfYaPl2IgXX6tzziiT+SucmfmXTo2f6U=",
message_type="DIGEST")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/kms"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := kms.GetAsymmetricSignatures(ctx, &kms.GetAsymmetricSignaturesArgs{
Algorithm: "RSA_PSS_SHA_256",
KeyId: pulumi.StringRef("516274b3-0cba-4fad-****-c8355e3e8213"),
Message: "VGhpcyBpcyBhIG1lc3NhZ2UgZXhhbXBsZS4=",
MessageType: pulumi.StringRef("RAW"),
}, nil)
if err != nil {
return err
}
_, err = kms.GetAsymmetricSignatures(ctx, &kms.GetAsymmetricSignaturesArgs{
Algorithm: "RSA_PSS_SHA_256",
KeyId: pulumi.StringRef("516274b3-0cba-4fad-****-c8355e3e8213"),
Message: "KsFMwOobjOMHfYaPl2IgXX6tzziiT+SucmfmXTo2f6U=",
MessageType: pulumi.StringRef("DIGEST"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var sign1 = Volcengine.Kms.GetAsymmetricSignatures.Invoke(new()
{
Algorithm = "RSA_PSS_SHA_256",
KeyId = "516274b3-0cba-4fad-****-c8355e3e8213",
Message = "VGhpcyBpcyBhIG1lc3NhZ2UgZXhhbXBsZS4=",
MessageType = "RAW",
});
var sign2 = Volcengine.Kms.GetAsymmetricSignatures.Invoke(new()
{
Algorithm = "RSA_PSS_SHA_256",
KeyId = "516274b3-0cba-4fad-****-c8355e3e8213",
Message = "KsFMwOobjOMHfYaPl2IgXX6tzziiT+SucmfmXTo2f6U=",
MessageType = "DIGEST",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.kms.KmsFunctions;
import com.pulumi.volcengine.kms.inputs.GetAsymmetricSignaturesArgs;
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 sign1 = KmsFunctions.getAsymmetricSignatures(GetAsymmetricSignaturesArgs.builder()
.algorithm("RSA_PSS_SHA_256")
.keyId("516274b3-0cba-4fad-****-c8355e3e8213")
.message("VGhpcyBpcyBhIG1lc3NhZ2UgZXhhbXBsZS4=")
.messageType("RAW")
.build());
final var sign2 = KmsFunctions.getAsymmetricSignatures(GetAsymmetricSignaturesArgs.builder()
.algorithm("RSA_PSS_SHA_256")
.keyId("516274b3-0cba-4fad-****-c8355e3e8213")
.message("KsFMwOobjOMHfYaPl2IgXX6tzziiT+SucmfmXTo2f6U=")
.messageType("DIGEST")
.build());
}
}
variables:
sign1:
fn::invoke:
Function: volcengine:kms:getAsymmetricSignatures
Arguments:
algorithm: RSA_PSS_SHA_256
keyId: 516274b3-0cba-4fad-****-c8355e3e8213
message: VGhpcyBpcyBhIG1lc3NhZ2UgZXhhbXBsZS4=
messageType: RAW
sign2:
fn::invoke:
Function: volcengine:kms:getAsymmetricSignatures
Arguments:
algorithm: RSA_PSS_SHA_256
keyId: 516274b3-0cba-4fad-****-c8355e3e8213
message: KsFMwOobjOMHfYaPl2IgXX6tzziiT+SucmfmXTo2f6U=
messageType: DIGEST
Using AsymmetricSignatures
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 asymmetricSignatures(args: AsymmetricSignaturesArgs, opts?: InvokeOptions): Promise<AsymmetricSignaturesResult>
function asymmetricSignaturesOutput(args: AsymmetricSignaturesOutputArgs, opts?: InvokeOptions): Output<AsymmetricSignaturesResult>def asymmetric_signatures(algorithm: Optional[str] = None,
key_id: Optional[str] = None,
key_name: Optional[str] = None,
keyring_name: Optional[str] = None,
message: Optional[str] = None,
message_type: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> AsymmetricSignaturesResult
def asymmetric_signatures_output(algorithm: Optional[pulumi.Input[str]] = None,
key_id: Optional[pulumi.Input[str]] = None,
key_name: Optional[pulumi.Input[str]] = None,
keyring_name: Optional[pulumi.Input[str]] = None,
message: Optional[pulumi.Input[str]] = None,
message_type: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[AsymmetricSignaturesResult]func AsymmetricSignatures(ctx *Context, args *AsymmetricSignaturesArgs, opts ...InvokeOption) (*AsymmetricSignaturesResult, error)
func AsymmetricSignaturesOutput(ctx *Context, args *AsymmetricSignaturesOutputArgs, opts ...InvokeOption) AsymmetricSignaturesResultOutputpublic static class AsymmetricSignatures
{
public static Task<AsymmetricSignaturesResult> InvokeAsync(AsymmetricSignaturesArgs args, InvokeOptions? opts = null)
public static Output<AsymmetricSignaturesResult> Invoke(AsymmetricSignaturesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<AsymmetricSignaturesResult> asymmetricSignatures(AsymmetricSignaturesArgs args, InvokeOptions options)
public static Output<AsymmetricSignaturesResult> asymmetricSignatures(AsymmetricSignaturesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:kms:AsymmetricSignatures
arguments:
# arguments dictionaryThe following arguments are supported:
- Algorithm string
- The signing algorithm. valid values:
RSA_PSS_SHA_256,RSA_PKCS1_SHA_256,RSA_PSS_SHA_384,RSA_PKCS1_SHA_384,RSA_PSS_SHA_512,RSA_PKCS1_SHA_512. - Message string
- The message to be signed, Base64 encoded.
- Key
Id string - The id of the key. When key_id is not specified, both keyring_name and key_name must be specified.
- Key
Name string - The name of the key.
- Keyring
Name string - The name of the keyring.
- Message
Type string - The type of message. Valid values: RAW or DIGEST. When message_type is DIGEST, KMS does not process the message digest of the original data source, it will sign directly with the private key.
- Output
File string - File name where to save data source results.
- Algorithm string
- The signing algorithm. valid values:
RSA_PSS_SHA_256,RSA_PKCS1_SHA_256,RSA_PSS_SHA_384,RSA_PKCS1_SHA_384,RSA_PSS_SHA_512,RSA_PKCS1_SHA_512. - Message string
- The message to be signed, Base64 encoded.
- Key
Id string - The id of the key. When key_id is not specified, both keyring_name and key_name must be specified.
- Key
Name string - The name of the key.
- Keyring
Name string - The name of the keyring.
- Message
Type string - The type of message. Valid values: RAW or DIGEST. When message_type is DIGEST, KMS does not process the message digest of the original data source, it will sign directly with the private key.
- Output
File string - File name where to save data source results.
- algorithm String
- The signing algorithm. valid values:
RSA_PSS_SHA_256,RSA_PKCS1_SHA_256,RSA_PSS_SHA_384,RSA_PKCS1_SHA_384,RSA_PSS_SHA_512,RSA_PKCS1_SHA_512. - message String
- The message to be signed, Base64 encoded.
- key
Id String - The id of the key. When key_id is not specified, both keyring_name and key_name must be specified.
- key
Name String - The name of the key.
- keyring
Name String - The name of the keyring.
- message
Type String - The type of message. Valid values: RAW or DIGEST. When message_type is DIGEST, KMS does not process the message digest of the original data source, it will sign directly with the private key.
- output
File String - File name where to save data source results.
- algorithm string
- The signing algorithm. valid values:
RSA_PSS_SHA_256,RSA_PKCS1_SHA_256,RSA_PSS_SHA_384,RSA_PKCS1_SHA_384,RSA_PSS_SHA_512,RSA_PKCS1_SHA_512. - message string
- The message to be signed, Base64 encoded.
- key
Id string - The id of the key. When key_id is not specified, both keyring_name and key_name must be specified.
- key
Name string - The name of the key.
- keyring
Name string - The name of the keyring.
- message
Type string - The type of message. Valid values: RAW or DIGEST. When message_type is DIGEST, KMS does not process the message digest of the original data source, it will sign directly with the private key.
- output
File string - File name where to save data source results.
- algorithm str
- The signing algorithm. valid values:
RSA_PSS_SHA_256,RSA_PKCS1_SHA_256,RSA_PSS_SHA_384,RSA_PKCS1_SHA_384,RSA_PSS_SHA_512,RSA_PKCS1_SHA_512. - message str
- The message to be signed, Base64 encoded.
- key_
id str - The id of the key. When key_id is not specified, both keyring_name and key_name must be specified.
- key_
name str - The name of the key.
- keyring_
name str - The name of the keyring.
- message_
type str - The type of message. Valid values: RAW or DIGEST. When message_type is DIGEST, KMS does not process the message digest of the original data source, it will sign directly with the private key.
- output_
file str - File name where to save data source results.
- algorithm String
- The signing algorithm. valid values:
RSA_PSS_SHA_256,RSA_PKCS1_SHA_256,RSA_PSS_SHA_384,RSA_PKCS1_SHA_384,RSA_PSS_SHA_512,RSA_PKCS1_SHA_512. - message String
- The message to be signed, Base64 encoded.
- key
Id String - The id of the key. When key_id is not specified, both keyring_name and key_name must be specified.
- key
Name String - The name of the key.
- keyring
Name String - The name of the keyring.
- message
Type String - The type of message. Valid values: RAW or DIGEST. When message_type is DIGEST, KMS does not process the message digest of the original data source, it will sign directly with the private key.
- output
File String - File name where to save data source results.
AsymmetricSignatures Result
The following output properties are available:
- Algorithm string
- Id string
- The provider-assigned unique ID for this managed resource.
- Message string
- Signature
Infos List<AsymmetricSignatures Signature Info> - The information about the signature.
- Total
Count int - The total count of query.
- Key
Id string - Key
Name string - Keyring
Name string - Message
Type string - Output
File string
- Algorithm string
- Id string
- The provider-assigned unique ID for this managed resource.
- Message string
- Signature
Infos []AsymmetricSignatures Signature Info - The information about the signature.
- Total
Count int - The total count of query.
- Key
Id string - Key
Name string - Keyring
Name string - Message
Type string - Output
File string
- algorithm String
- id String
- The provider-assigned unique ID for this managed resource.
- message String
- signature
Infos List<AsymmetricSignatures Signature Info> - The information about the signature.
- total
Count Integer - The total count of query.
- key
Id String - key
Name String - keyring
Name String - message
Type String - output
File String
- algorithm string
- id string
- The provider-assigned unique ID for this managed resource.
- message string
- signature
Infos AsymmetricSignatures Signature Info[] - The information about the signature.
- total
Count number - The total count of query.
- key
Id string - key
Name string - keyring
Name string - message
Type string - output
File string
- algorithm str
- id str
- The provider-assigned unique ID for this managed resource.
- message str
- signature_
infos Sequence[AsymmetricSignatures Signature Info] - The information about the signature.
- total_
count int - The total count of query.
- key_
id str - key_
name str - keyring_
name str - message_
type str - output_
file str
- algorithm String
- id String
- The provider-assigned unique ID for this managed resource.
- message String
- signature
Infos List<Property Map> - The information about the signature.
- total
Count Number - The total count of query.
- key
Id String - key
Name String - keyring
Name String - message
Type String - output
File String
Supporting Types
AsymmetricSignaturesSignatureInfo
- Signature string
- The signature, Base64 encoded. The signature gets re-signed on each apply, resulting in a changed signature. If a stable signature is needed use the
volcengine.kms.AsymmetricSignatureresource.
- Signature string
- The signature, Base64 encoded. The signature gets re-signed on each apply, resulting in a changed signature. If a stable signature is needed use the
volcengine.kms.AsymmetricSignatureresource.
- signature String
- The signature, Base64 encoded. The signature gets re-signed on each apply, resulting in a changed signature. If a stable signature is needed use the
volcengine.kms.AsymmetricSignatureresource.
- signature string
- The signature, Base64 encoded. The signature gets re-signed on each apply, resulting in a changed signature. If a stable signature is needed use the
volcengine.kms.AsymmetricSignatureresource.
- signature str
- The signature, Base64 encoded. The signature gets re-signed on each apply, resulting in a changed signature. If a stable signature is needed use the
volcengine.kms.AsymmetricSignatureresource.
- signature String
- The signature, Base64 encoded. The signature gets re-signed on each apply, resulting in a changed signature. If a stable signature is needed use the
volcengine.kms.AsymmetricSignatureresource.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
