1. Packages
  2. Volcengine
  3. API Docs
  4. kms
  5. getAsymmetricSignatures
Volcengine v0.0.46 published on Friday, Feb 27, 2026 by Volcengine
volcengine logo
Volcengine v0.0.46 published on Friday, Feb 27, 2026 by Volcengine

    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 getAsymmetricSignatures

    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 getAsymmetricSignatures(args: GetAsymmetricSignaturesArgs, opts?: InvokeOptions): Promise<GetAsymmetricSignaturesResult>
    function getAsymmetricSignaturesOutput(args: GetAsymmetricSignaturesOutputArgs, opts?: InvokeOptions): Output<GetAsymmetricSignaturesResult>
    def get_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) -> GetAsymmetricSignaturesResult
    def get_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[GetAsymmetricSignaturesResult]
    func GetAsymmetricSignatures(ctx *Context, args *GetAsymmetricSignaturesArgs, opts ...InvokeOption) (*GetAsymmetricSignaturesResult, error)
    func GetAsymmetricSignaturesOutput(ctx *Context, args *GetAsymmetricSignaturesOutputArgs, opts ...InvokeOption) GetAsymmetricSignaturesResultOutput

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

    public static class GetAsymmetricSignatures 
    {
        public static Task<GetAsymmetricSignaturesResult> InvokeAsync(GetAsymmetricSignaturesArgs args, InvokeOptions? opts = null)
        public static Output<GetAsymmetricSignaturesResult> Invoke(GetAsymmetricSignaturesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAsymmetricSignaturesResult> getAsymmetricSignatures(GetAsymmetricSignaturesArgs args, InvokeOptions options)
    public static Output<GetAsymmetricSignaturesResult> getAsymmetricSignatures(GetAsymmetricSignaturesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:kms/getAsymmetricSignatures:getAsymmetricSignatures
      arguments:
        # arguments dictionary

    The 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.
    KeyId string
    The id of the key. When key_id is not specified, both keyring_name and key_name must be specified.
    KeyName string
    The name of the key.
    KeyringName string
    The name of the keyring.
    MessageType 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.
    OutputFile 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.
    KeyId string
    The id of the key. When key_id is not specified, both keyring_name and key_name must be specified.
    KeyName string
    The name of the key.
    KeyringName string
    The name of the keyring.
    MessageType 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.
    OutputFile 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.
    keyId String
    The id of the key. When key_id is not specified, both keyring_name and key_name must be specified.
    keyName String
    The name of the key.
    keyringName String
    The name of the keyring.
    messageType 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.
    outputFile 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.
    keyId string
    The id of the key. When key_id is not specified, both keyring_name and key_name must be specified.
    keyName string
    The name of the key.
    keyringName string
    The name of the keyring.
    messageType 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.
    outputFile 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.
    keyId String
    The id of the key. When key_id is not specified, both keyring_name and key_name must be specified.
    keyName String
    The name of the key.
    keyringName String
    The name of the keyring.
    messageType 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.
    outputFile String
    File name where to save data source results.

    getAsymmetricSignatures Result

    The following output properties are available:

    Algorithm string
    Id string
    The provider-assigned unique ID for this managed resource.
    Message string
    SignatureInfos List<GetAsymmetricSignaturesSignatureInfo>
    The information about the signature.
    TotalCount int
    The total count of query.
    KeyId string
    KeyName string
    KeyringName string
    MessageType string
    OutputFile string
    Algorithm string
    Id string
    The provider-assigned unique ID for this managed resource.
    Message string
    SignatureInfos []GetAsymmetricSignaturesSignatureInfo
    The information about the signature.
    TotalCount int
    The total count of query.
    KeyId string
    KeyName string
    KeyringName string
    MessageType string
    OutputFile string
    algorithm String
    id String
    The provider-assigned unique ID for this managed resource.
    message String
    signatureInfos List<GetAsymmetricSignaturesSignatureInfo>
    The information about the signature.
    totalCount Integer
    The total count of query.
    keyId String
    keyName String
    keyringName String
    messageType String
    outputFile String
    algorithm string
    id string
    The provider-assigned unique ID for this managed resource.
    message string
    signatureInfos GetAsymmetricSignaturesSignatureInfo[]
    The information about the signature.
    totalCount number
    The total count of query.
    keyId string
    keyName string
    keyringName string
    messageType string
    outputFile string
    algorithm str
    id str
    The provider-assigned unique ID for this managed resource.
    message str
    signature_infos Sequence[GetAsymmetricSignaturesSignatureInfo]
    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
    signatureInfos List<Property Map>
    The information about the signature.
    totalCount Number
    The total count of query.
    keyId String
    keyName String
    keyringName String
    messageType String
    outputFile String

    Supporting Types

    GetAsymmetricSignaturesSignatureInfo

    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.AsymmetricSignature resource.
    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.AsymmetricSignature resource.
    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.AsymmetricSignature resource.
    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.AsymmetricSignature resource.
    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.AsymmetricSignature resource.
    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.AsymmetricSignature resource.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.46 published on Friday, Feb 27, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate