1. Registry
  2. Packages
  3. Vkcs Provider
  4. API Docs
  5. getKmsKeyDecrypt
Viewing docs for vkcs 0.19.0
published on Tuesday, Oct 27, 2026 by vk-cs
vkcs
Viewing docs for vkcs 0.19.0
published on Tuesday, Oct 27, 2026 by vk-cs

    Example Usage

    Using getKmsKeyDecrypt

    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 getKmsKeyDecrypt(args: GetKmsKeyDecryptArgs, opts?: InvokeOptions): Promise<GetKmsKeyDecryptResult>
    function getKmsKeyDecryptOutput(args: GetKmsKeyDecryptOutputArgs, opts?: InvokeOutputOptions): Output<GetKmsKeyDecryptResult>
    def get_kms_key_decrypt(ciphertext: Optional[str] = None,
                            key: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetKmsKeyDecryptResult
    def get_kms_key_decrypt_output(ciphertext: pulumi.Input[Optional[str]] = None,
                            key: pulumi.Input[Optional[str]] = None,
                            opts: Optional[InvokeOutputOptions] = None) -> Output[GetKmsKeyDecryptResult]
    func GetKmsKeyDecrypt(ctx *Context, args *GetKmsKeyDecryptArgs, opts ...InvokeOption) (*GetKmsKeyDecryptResult, error)
    func GetKmsKeyDecryptOutput(ctx *Context, args *GetKmsKeyDecryptOutputArgs, opts ...InvokeOption) GetKmsKeyDecryptResultOutput

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

    public static class GetKmsKeyDecrypt 
    {
        public static Task<GetKmsKeyDecryptResult> InvokeAsync(GetKmsKeyDecryptArgs args, InvokeOptions? opts = null)
        public static Output<GetKmsKeyDecryptResult> Invoke(GetKmsKeyDecryptInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetKmsKeyDecryptResult> Invoke(GetKmsKeyDecryptInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetKmsKeyDecryptResult> getKmsKeyDecrypt(GetKmsKeyDecryptArgs args, InvokeOptions options)
    public static Output<GetKmsKeyDecryptResult> getKmsKeyDecrypt(GetKmsKeyDecryptArgs args, InvokeOptions options)
    public static Output<GetKmsKeyDecryptResult> getKmsKeyDecrypt(GetKmsKeyDecryptArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: vkcs:index/getKmsKeyDecrypt:getKmsKeyDecrypt
      arguments:
        # arguments dictionary
    data "vkcs_get_kms_key_decrypt" "name" {
        # arguments
    }

    The following arguments are supported:

    Ciphertext string
    required string → Encrypted data returned by KMS encryption.
    Key string
    required string → Name of the KMS key used to decrypt the ciphertext.
    Ciphertext string
    required string → Encrypted data returned by KMS encryption.
    Key string
    required string → Name of the KMS key used to decrypt the ciphertext.
    ciphertext string
    required string → Encrypted data returned by KMS encryption.
    key string
    required string → Name of the KMS key used to decrypt the ciphertext.
    ciphertext String
    required string → Encrypted data returned by KMS encryption.
    key String
    required string → Name of the KMS key used to decrypt the ciphertext.
    ciphertext string
    required string → Encrypted data returned by KMS encryption.
    key string
    required string → Name of the KMS key used to decrypt the ciphertext.
    ciphertext str
    required string → Encrypted data returned by KMS encryption.
    key str
    required string → Name of the KMS key used to decrypt the ciphertext.
    ciphertext String
    required string → Encrypted data returned by KMS encryption.
    key String
    required string → Name of the KMS key used to decrypt the ciphertext.

    getKmsKeyDecrypt Result

    The following output properties are available:

    Ciphertext string
    Id string
    string → Hexadecimal SHA-256 hash of the returned plaintext value.
    Key string
    Plaintext string
    sensitive string → Resulting decrypted data encoded in Base64. This attribute is computed. Use base64decode to recover the original text, as shown in the example.
    Ciphertext string
    Id string
    string → Hexadecimal SHA-256 hash of the returned plaintext value.
    Key string
    Plaintext string
    sensitive string → Resulting decrypted data encoded in Base64. This attribute is computed. Use base64decode to recover the original text, as shown in the example.
    ciphertext string
    id string
    string → Hexadecimal SHA-256 hash of the returned plaintext value.
    key string
    plaintext string
    sensitive string → Resulting decrypted data encoded in Base64. This attribute is computed. Use base64decode to recover the original text, as shown in the example.
    ciphertext String
    id String
    string → Hexadecimal SHA-256 hash of the returned plaintext value.
    key String
    plaintext String
    sensitive string → Resulting decrypted data encoded in Base64. This attribute is computed. Use base64decode to recover the original text, as shown in the example.
    ciphertext string
    id string
    string → Hexadecimal SHA-256 hash of the returned plaintext value.
    key string
    plaintext string
    sensitive string → Resulting decrypted data encoded in Base64. This attribute is computed. Use base64decode to recover the original text, as shown in the example.
    ciphertext str
    id str
    string → Hexadecimal SHA-256 hash of the returned plaintext value.
    key str
    plaintext str
    sensitive string → Resulting decrypted data encoded in Base64. This attribute is computed. Use base64decode to recover the original text, as shown in the example.
    ciphertext String
    id String
    string → Hexadecimal SHA-256 hash of the returned plaintext value.
    key String
    plaintext String
    sensitive string → Resulting decrypted data encoded in Base64. This attribute is computed. Use base64decode to recover the original text, as shown in the example.

    Package Details

    Repository
    vkcs vk-cs/terraform-provider-vkcs
    License
    Notes
    This Pulumi package is based on the vkcs Terraform Provider.
    vkcs
    Viewing docs for vkcs 0.19.0
    published on Tuesday, Oct 27, 2026 by vk-cs

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial