Show / Hide Table of Contents

Class Ciphertext

Inheritance
System.Object
Resource
CustomResource
Ciphertext
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Kms
Assembly: Pulumi.AliCloud.dll
Syntax
public class Ciphertext : CustomResource

Constructors

View Source

Ciphertext(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 Source

CiphertextBlob

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>
View Source

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>>
View Source

KeyId

The globally unique ID of the CMK.

Declaration
public Output<string> KeyId { get; }
Property Value
Type Description
Output<System.String>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.