Skip to main content

Secret

Resource Secret in pulumi-infisical.
4 min read

Resource Secret in pulumi-infisical.

Pulumi type: infisical:index/secret:Secret.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
envSlugstringyesThe environment slug of the secret to modify/create
folderPathstringyesThe path to the folder where the given secret resides
metadata{ [key: string]: string }noMetadata associated with the secret as key-value pairs.
namestringnoThe name of the secret
secretReminderSecretSecretReminder (input)no
tagIdsstring[]noTag ids to be attached for the secrets.
valuestringnoThe value of the secret in plain text. This is required if valueWo is not set.
valueWostringnoNOTE: This field is write-only and its value will not be updated in state as part of read operations. The value of the secret in plain text as a write-only secret. If set, the secret value will not be stored in state. This is required if value is not set. Requires Terraform version 1.11.0 or higher.
valueWoVersionnumbernoUsed together with valueWo to trigger an update. Increment this value when an update to the valueWo is required.
workspaceIdstringnoThe Infisical project ID (Required for Machine Identity auth, and service tokens with multiple scopes)

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
envSlugstringnoThe environment slug of the secret to modify/create
folderPathstringnoThe path to the folder where the given secret resides
lastUpdatedstringyesThe last time the secret was updated.
metadata{ [key: string]: string }noMetadata associated with the secret as key-value pairs.
namestringnoThe name of the secret
secretReminderSecretSecretReminder (output)no
tagIdsstring[]noTag ids to be attached for the secrets.
valuestringnoThe value of the secret in plain text. This is required if valueWo is not set.
valueWostringnoNOTE: This field is write-only and its value will not be updated in state as part of read operations. The value of the secret in plain text as a write-only secret. If set, the secret value will not be stored in state. This is required if value is not set. Requires Terraform version 1.11.0 or higher.
valueWoVersionnumbernoUsed together with valueWo to trigger an update. Increment this value when an update to the valueWo is required.
workspaceIdstringnoThe Infisical project ID (Required for Machine Identity auth, and service tokens with multiple scopes)

SecretSecretReminder (input)#

Input object SecretSecretReminder. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
notestringnoNote for the secret rotation reminder
repeatDaysnumberyesFrequency of secret rotation reminder in days

SecretSecretReminder (output)#

Output object SecretSecretReminder. Fields below belong to this object.

PropertyTypeAlways presentDescription
notestringnoNote for the secret rotation reminder
repeatDaysnumberyesFrequency of secret rotation reminder in days