Class KeyArgs
Inherited Members
Namespace: Pulumi.AliCloud.Kms
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class KeyArgs : ResourceArgs
Constructors
View SourceKeyArgs()
Declaration
public KeyArgs()
Properties
View SourceAutomaticRotation
Specifies whether to enable automatic key rotation. Default:"Disabled".
Declaration
public Input<string> AutomaticRotation { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
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> |
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> |
KeySpec
The type of the CMK.
Declaration
public Input<string> KeySpec { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
KeyStatus
The status of CMK. Defaults to Enabled.
Declaration
public Input<string> KeyStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
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> |
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> |
ProtectionLevel
The protection level of the CMK. Defaults to "SOFTWARE".
Declaration
public Input<string> ProtectionLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RotationInterval
The period of automatic key rotation. Unit: seconds.
Declaration
public Input<string> RotationInterval { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |