Show / Hide Table of Contents

Class SecretState

Inheritance
System.Object
InputArgs
ResourceArgs
SecretState
Inherited Members
ResourceArgs.Empty
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 sealed class SecretState : ResourceArgs

Constructors

View Source

SecretState()

Declaration
public SecretState()

Properties

View Source

Arn

The Alicloud Resource Name (ARN) of the secret.

Declaration
public Input<string> Arn { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Description

The description of the secret.

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

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

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

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

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

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

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

SecretName

The name of the secret.

Declaration
public Input<string> SecretName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Tags

A mapping of tags to assign to the resource.

Declaration
public InputMap<object> Tags { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

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

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