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:
- Ciphertext
Blob string The ciphertext to be decrypted.
- Encryption
Context 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.
- Ciphertext
Blob string The ciphertext to be decrypted.
- Encryption
Context 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.
- ciphertext
Blob string The ciphertext to be decrypted.
- encryption
Context {[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:
- Ciphertext
Blob string - Id string
The provider-assigned unique ID for this managed resource.
- Key
Id string The globally unique ID of the CMK. It is the ID of the CMK used to decrypt ciphertext.
- Plaintext string
The decrypted plaintext.
- Encryption
Context Dictionary<string, string>
- Ciphertext
Blob string - Id string
The provider-assigned unique ID for this managed resource.
- Key
Id string The globally unique ID of the CMK. It is the ID of the CMK used to decrypt ciphertext.
- Plaintext string
The decrypted plaintext.
- Encryption
Context map[string]string
- ciphertext
Blob string - id string
The provider-assigned unique ID for this managed resource.
- key
Id string The globally unique ID of the CMK. It is the ID of the CMK used to decrypt ciphertext.
- plaintext string
The decrypted plaintext.
- encryption
Context {[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
alicloudTerraform Provider.