Class SecretState
Inherited Members
Namespace: Pulumi.AliCloud.Kms
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class SecretState : ResourceArgs
Constructors
View SourceSecretState()
Declaration
public SecretState()
Properties
View SourceArn
The Alicloud Resource Name (ARN) of the secret.
Declaration
public Input<string> Arn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
The description of the secret.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EncryptionKeyId
The ID of the KMS CMK that is used to encrypt the secret value. If you do not specify this parameter, Secrets Manager automatically creates an encryption key to encrypt the secret.
Declaration
public Input<string> EncryptionKeyId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ForceDeleteWithoutRecovery
Specifies whether to forcibly delete the secret. If this parameter is set to true, the secret cannot be recovered. Valid values: true, false. Default to: false.
Declaration
public Input<bool> ForceDeleteWithoutRecovery { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
PlannedDeleteTime
The time when the secret is scheduled to be deleted.
Declaration
public Input<string> PlannedDeleteTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RecoveryWindowInDays
Specifies the recovery period of the secret if you do not forcibly delete it. Default value: 30. It will be ignored when force_delete_without_recovery is true.
Declaration
public Input<int> RecoveryWindowInDays { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SecretData
The value of the secret that you want to create. Secrets Manager encrypts the secret value and stores it in the initial version.
Declaration
public Input<string> SecretData { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SecretDataType
The type of the secret value. Valid values: text, binary. Default to "text".
Declaration
public Input<string> SecretDataType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SecretName
The name of the secret.
Declaration
public Input<string> SecretName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
VersionId
The version number of the initial version. Version numbers are unique in each secret object.
Declaration
public Input<string> VersionId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
VersionStages
) The stage labels that mark the new secret version. If you do not specify this parameter, Secrets Manager marks it with "ACSCurrent".
Declaration
public InputList<string> VersionStages { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |