Resource SecretRotationMysqlCredentials in pulumi-infisical.
Pulumi type: infisical:index/secretRotationMysqlCredentials:SecretRotationMysqlCredentials.
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 |
|---|---|---|---|
autoRotationEnabled | boolean | no | Whether secrets should be automatically rotated. |
connectionId | string | yes | The ID of the connection to use for the secret rotation. |
description | string | no | The description of the secret rotation. |
environment | string | yes | The slug of the project environment to rotate secrets from. |
name | string | no | The name of the secret rotation. |
parameters | SecretRotationMysqlCredentialsParameters (input) | yes | Parameters to modify how secrets are rotated. |
projectId | string | yes | The ID of the Infisical project to create the secret rotation in. |
rotateAtUtc | SecretRotationMysqlCredentialsRotateAtUtc (input) | no | At which UTC time the rotation should occur. |
rotationInterval | number | no | How many days to wait between each rotation. |
secretPath | string | yes | The folder path to rotate secrets from. |
secretsMapping | SecretRotationMysqlCredentialsSecretsMapping (input) | yes | Secret mappings to modify how secrets are rotated. |
temporaryParameters | SecretRotationMysqlCredentialsTemporaryParameters (input) | no | Temporary parameters to modify how secrets are rotated. |
Outputs#
Computed outputs are produced by the provider. They are not constructor arguments.
| Property | Type | Computed | Description |
|---|---|---|---|
autoRotationEnabled | boolean | no | Whether secrets should be automatically rotated. |
connectionId | string | no | The ID of the connection to use for the secret rotation. |
description | string | no | The description of the secret rotation. |
environment | string | no | The slug of the project environment to rotate secrets from. |
name | string | no | The name of the secret rotation. |
parameters | SecretRotationMysqlCredentialsParameters (output) | no | Parameters to modify how secrets are rotated. |
projectId | string | no | The ID of the Infisical project to create the secret rotation in. |
rotateAtUtc | SecretRotationMysqlCredentialsRotateAtUtc (output) | no | At which UTC time the rotation should occur. |
rotationInterval | number | no | How many days to wait between each rotation. |
secretPath | string | no | The folder path to rotate secrets from. |
secretsMapping | SecretRotationMysqlCredentialsSecretsMapping (output) | no | Secret mappings to modify how secrets are rotated. |
temporaryParameters | SecretRotationMysqlCredentialsTemporaryParameters (output) | no | Temporary parameters to modify how secrets are rotated. |
SecretRotationMysqlCredentialsParameters (input)#
Input object SecretRotationMysqlCredentialsParameters. Fields below belong to this object, not to the parent.
| Property | Type | Required | Description |
|---|---|---|---|
username1 | string | yes | The username of the first login to rotate passwords for. This user must already exists in your database. |
username2 | string | yes | The username of the second login to rotate passwords for. This user must already exists in your database. |
SecretRotationMysqlCredentialsRotateAtUtc (input)#
Input object SecretRotationMysqlCredentialsRotateAtUtc. Fields below belong to this object, not to the parent.
| Property | Type | Required | Description |
|---|---|---|---|
hours | number | no | The hour at which the rotation should occur (UTC). |
minutes | number | no | The minute at which the rotation should occur (UTC). |
SecretRotationMysqlCredentialsSecretsMapping (input)#
Input object SecretRotationMysqlCredentialsSecretsMapping. Fields below belong to this object, not to the parent.
| Property | Type | Required | Description |
|---|---|---|---|
password | string | yes | The name of the secret that the generated password will be mapped to. |
username | string | yes | The name of the secret that the active username will be mapped to. |
SecretRotationMysqlCredentialsTemporaryParameters (input)#
Input object SecretRotationMysqlCredentialsTemporaryParameters. Fields below belong to this object, not to the parent.
This object has no fields.
SecretRotationMysqlCredentialsParameters (output)#
Output object SecretRotationMysqlCredentialsParameters. Fields below belong to this object.
| Property | Type | Always present | Description |
|---|---|---|---|
username1 | string | yes | The username of the first login to rotate passwords for. This user must already exists in your database. |
username2 | string | yes | The username of the second login to rotate passwords for. This user must already exists in your database. |
SecretRotationMysqlCredentialsRotateAtUtc (output)#
Output object SecretRotationMysqlCredentialsRotateAtUtc. Fields below belong to this object.
| Property | Type | Always present | Description |
|---|---|---|---|
hours | number | yes | The hour at which the rotation should occur (UTC). |
minutes | number | yes | The minute at which the rotation should occur (UTC). |
SecretRotationMysqlCredentialsSecretsMapping (output)#
Output object SecretRotationMysqlCredentialsSecretsMapping. Fields below belong to this object.
| Property | Type | Always present | Description |
|---|---|---|---|
password | string | yes | The name of the secret that the generated password will be mapped to. |
username | string | yes | The name of the secret that the active username will be mapped to. |
SecretRotationMysqlCredentialsTemporaryParameters (output)#
Output object SecretRotationMysqlCredentialsTemporaryParameters. Fields below belong to this object.
This object has no fields.