Class KeyState
Inheritance
System.Object
KeyState
Inherited Members
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()
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class KeyState : ResourceArgs
Constructors
View Source
KeyState()
Declaration
Properties
View Source
Arn
The Alicloud Resource Name (ARN) of the key.
creation_date -The date and time when the CMK was created. The time is displayed in UTC.
creator -The creator of the CMK.
delete_date -The scheduled date to delete CMK. The time is displayed in UTC. This value is returned only when the KeyState value is PendingDeletion.
Declaration
public Input<string> Arn { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
AutomaticRotation
Specifies whether to enable automatic key rotation. Default:"Disabled".
Declaration
public Input<string> AutomaticRotation { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
CreationDate
Declaration
public Input<string> CreationDate { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Creator
Declaration
public Input<string> Creator { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DeleteDate
Declaration
public Input<string> DeleteDate { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DeletionWindowInDays
Field 'deletion_window_in_days' has been deprecated from provider version 1.85.0. New field 'pending_window_in_days' instead.
Declaration
public Input<int> DeletionWindowInDays { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
Description
The description of the key as viewed in Alicloud console.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
IsEnabled
Field 'is_enabled' has been deprecated from provider version 1.85.0. New field 'key_state' instead.
Declaration
public Input<bool> IsEnabled { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
KeySpec
Declaration
public Input<string> KeySpec { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
KeyStatus
The status of CMK. Defaults to Enabled.
Declaration
public Input<string> KeyStatus { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
KeyUsage
Specifies the usage of CMK. Currently, default to 'ENCRYPT/DECRYPT', indicating that CMK is used for encryption and decryption.
Declaration
public Input<string> KeyUsage { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
LastRotationDate
The date and time the last rotation was performed. The time is displayed in UTC.
Declaration
public Input<string> LastRotationDate { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
MaterialExpireTime
The time and date the key material for the CMK expires. The time is displayed in UTC. If the value is empty, the key material for the CMK does not expire.
Declaration
public Input<string> MaterialExpireTime { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
NextRotationDate
The time the next rotation is scheduled for execution.
Declaration
public Input<string> NextRotationDate { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Origin
The source of the key material for the CMK. Defaults to "Aliyun_KMS".
Declaration
public Input<string> Origin { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
PendingWindowInDays
Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 30 days.
Declaration
public Input<int> PendingWindowInDays { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
PrimaryKeyVersion
The ID of the current primary key version of the symmetric CMK.
Declaration
public Input<string> PrimaryKeyVersion { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ProtectionLevel
The protection level of the CMK. Defaults to "SOFTWARE".
Declaration
public Input<string> ProtectionLevel { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
RotationInterval
The period of automatic key rotation. Unit: seconds.
Declaration
public Input<string> RotationInterval { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|