GetPlaintext

Using GetPlaintext

function getPlaintext(args: GetPlaintextArgs, opts?: InvokeOptions): Promise<GetPlaintextResult>
function  get_plaintext(ciphertext_blob=None, encryption_context=None, opts=None)
func GetPlaintext(ctx *Context, args *GetPlaintextArgs, opts ...InvokeOption) (*GetPlaintextResult, error)
public static class GetPlaintext {
    public static Task<GetPlaintextResult> InvokeAsync(GetPlaintextArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

CiphertextBlob string

The ciphertext to be decrypted.

EncryptionContext Dictionary<string, string>

- (Optional) The Encryption context. If you specify this parameter in the Encrypt or GenerateDataKey API operation, it is also required when you call the Decrypt API operation. For more information, see Encryption Context.

CiphertextBlob string

The ciphertext to be decrypted.

EncryptionContext map[string]string

- (Optional) The Encryption context. If you specify this parameter in the Encrypt or GenerateDataKey API operation, it is also required when you call the Decrypt API operation. For more information, see Encryption Context.

ciphertextBlob string

The ciphertext to be decrypted.

encryptionContext {[key: string]: string}

- (Optional) The Encryption context. If you specify this parameter in the Encrypt or GenerateDataKey API operation, it is also required when you call the Decrypt API operation. For more information, see Encryption Context.

ciphertext_blob str

The ciphertext to be decrypted.

encryption_context Dict[str, str]

- (Optional) The Encryption context. If you specify this parameter in the Encrypt or GenerateDataKey API operation, it is also required when you call the Decrypt API operation. For more information, see Encryption Context.

GetPlaintext Result

The following output properties are available:

CiphertextBlob string
Id string

The provider-assigned unique ID for this managed resource.

KeyId string

The globally unique ID of the CMK. It is the ID of the CMK used to decrypt ciphertext.

Plaintext string

The decrypted plaintext.

EncryptionContext Dictionary<string, string>
CiphertextBlob string
Id string

The provider-assigned unique ID for this managed resource.

KeyId string

The globally unique ID of the CMK. It is the ID of the CMK used to decrypt ciphertext.

Plaintext string

The decrypted plaintext.

EncryptionContext map[string]string
ciphertextBlob string
id string

The provider-assigned unique ID for this managed resource.

keyId string

The globally unique ID of the CMK. It is the ID of the CMK used to decrypt ciphertext.

plaintext string

The decrypted plaintext.

encryptionContext {[key: string]: string}
ciphertext_blob str
id str

The provider-assigned unique ID for this managed resource.

key_id str

The globally unique ID of the CMK. It is the ID of the CMK used to decrypt ciphertext.

plaintext str

The decrypted plaintext.

encryption_context Dict[str, str]

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.