Class Ciphertext
Inherited Members
Namespace: Pulumi.AliCloud.Kms
Assembly: Pulumi.AliCloud.dll
Syntax
public class Ciphertext : CustomResource
Constructors
View SourceCiphertext(String, CiphertextArgs, CustomResourceOptions)
Create a Ciphertext resource with the given unique name, arguments, and options.
Declaration
public Ciphertext(string name, CiphertextArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| CiphertextArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceCiphertextBlob
The ciphertext of the data key encrypted with the primary CMK version.
Declaration
public Output<string> CiphertextBlob { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
EncryptionContext
(Optional, ForceNew) The Encryption context. If you specify this parameter here, it is also required when you call the Decrypt API operation. For more information, see Encryption Context.
Declaration
public Output<ImmutableDictionary<string, string>> EncryptionContext { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
KeyId
The globally unique ID of the CMK.
Declaration
public Output<string> KeyId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Plaintext
The plaintext to be encrypted which must be encoded in Base64.
Declaration
public Output<string> Plaintext { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, CiphertextState, CustomResourceOptions)
Get an existing Ciphertext resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Ciphertext Get(string name, Input<string> id, CiphertextState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| CiphertextState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Ciphertext |