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#
| Property | Type | Required | Description |
|---|---|---|---|
envSlug | string | yes | The environment slug of the secret to modify/create |
folderPath | string | yes | The path to the folder where the given secret resides |
metadata | { [key: string]: string } | no | Metadata associated with the secret as key-value pairs. |
name | string | no | The name of the secret |
secretReminder | SecretSecretReminder (input) | no | |
tagIds | string[] | no | Tag ids to be attached for the secrets. |
value | string | no | The value of the secret in plain text. This is required if valueWo is not set. |
valueWo | string | no | NOTE: 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. |
valueWoVersion | number | no | Used together with valueWo to trigger an update. Increment this value when an update to the valueWo is required. |
workspaceId | string | no | The 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.
| Property | Type | Computed | Description |
|---|---|---|---|
envSlug | string | no | The environment slug of the secret to modify/create |
folderPath | string | no | The path to the folder where the given secret resides |
lastUpdated | string | yes | The last time the secret was updated. |
metadata | { [key: string]: string } | no | Metadata associated with the secret as key-value pairs. |
name | string | no | The name of the secret |
secretReminder | SecretSecretReminder (output) | no | |
tagIds | string[] | no | Tag ids to be attached for the secrets. |
value | string | no | The value of the secret in plain text. This is required if valueWo is not set. |
valueWo | string | no | NOTE: 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. |
valueWoVersion | number | no | Used together with valueWo to trigger an update. Increment this value when an update to the valueWo is required. |
workspaceId | string | no | The 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.
| Property | Type | Required | Description |
|---|---|---|---|
note | string | no | Note for the secret rotation reminder |
repeatDays | number | yes | Frequency of secret rotation reminder in days |
SecretSecretReminder (output)#
Output object SecretSecretReminder. Fields below belong to this object.
| Property | Type | Always present | Description |
|---|---|---|---|
note | string | no | Note for the secret rotation reminder |
repeatDays | number | yes | Frequency of secret rotation reminder in days |