Skip to main content

DynamicSecretSqlDatabase

Resource DynamicSecretSqlDatabase in pulumi-infisical.
7 min read

Resource DynamicSecretSqlDatabase in pulumi-infisical.

Pulumi type: infisical:index/dynamicSecretSqlDatabase:DynamicSecretSqlDatabase.

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
configurationDynamicSecretSqlDatabaseConfiguration (input)yesThe configuration of the dynamic secret
defaultTtlstringyesThe default TTL that will be applied for all the leases.
environmentSlugstringyesThe slug of the environment to create the dynamic secret in.
maxTtlstringnoThe maximum limit a TTL can be leased or renewed for.
metadatasDynamicSecretSqlDatabaseMetadata (input)[]noThe metadata associated with this dynamic secret
namestringnoThe name of the dynamic secret.
pathstringyesThe path to create the dynamic secret in.
projectSlugstringyesThe slug of the project to create dynamic secret in.
usernameTemplatestringnoThe username template of the dynamic secret

Outputs#

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

PropertyTypeComputedDescription
configurationDynamicSecretSqlDatabaseConfiguration (output)noThe configuration of the dynamic secret
defaultTtlstringnoThe default TTL that will be applied for all the leases.
environmentSlugstringnoThe slug of the environment to create the dynamic secret in.
maxTtlstringnoThe maximum limit a TTL can be leased or renewed for.
metadatasDynamicSecretSqlDatabaseMetadata (output)[]noThe metadata associated with this dynamic secret
namestringnoThe name of the dynamic secret.
pathstringnoThe path to create the dynamic secret in.
projectSlugstringnoThe slug of the project to create dynamic secret in.
usernameTemplatestringnoThe username template of the dynamic secret

DynamicSecretSqlDatabaseConfiguration (input)#

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

PropertyTypeRequiredDescription
castringnoThe CA certificate to use to connect to the database.
clientstringyesThe database client to use. Currently supported values are postgres, mysql2, oracledb, mssql, sap-ase, and vertica.
creationStatementstringyesThe creation statement to use to create the dynamic secret lease.
databasestringyesThe name of the database to use.
gatewayIdstringnoThe Gateway ID to use to connect to the database.
hoststringyesThe host of the database server.
passwordstringnoThe password to use to connect to the database. This value is stored in the Terraform state; use passwordWo to keep it out of state. Exactly one of password or passwordWo must be set.
passwordRequirementsDynamicSecretSqlDatabaseConfigurationPasswordRequirements (input)noThe password requirements to use to create the dynamic secret lease.
passwordWostringnoNOTE: This field is write-only and its value will not be updated in state as part of read operations. The password to use to connect to the database (write-only). This value is never stored in the Terraform state and can accept ephemeral values. Because it is not stored, changes to it are not detected; increment passwordWoVersion to push a new value. Requires Terraform 1.11+.
passwordWoVersionnumbernoThe version of the passwordWo value. Increment this to trigger an update of the password.
portnumberyesThe port of the database server.
renewStatementstringnoThe renew statement to use to renew the dynamic secret lease.
revocationStatementstringyesThe revocation statement to use to revoke the dynamic secret lease.
usernamestringyesThe username to use to connect to the database.

DynamicSecretSqlDatabaseConfigurationPasswordRequirements (input)#

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

PropertyTypeRequiredDescription
allowedSymbolsstringnoThe symbols allowed in the password.
lengthnumberyesThe length of the password to use to create the dynamic secret lease.
requiredDynamicSecretSqlDatabaseConfigurationPasswordRequirementsRequired (input)yesThe required characters to use to create the dynamic secret lease.

DynamicSecretSqlDatabaseConfigurationPasswordRequirementsRequired (input)#

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

PropertyTypeRequiredDescription
digitsnumberyesThe number of digits required in the password.
lowercasenumberyesThe number of lowercase characters required in the password.
symbolsnumberyesThe number of symbols required in the password.
uppercasenumberyesThe number of uppercase characters required in the password.

DynamicSecretSqlDatabaseMetadata (input)#

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

PropertyTypeRequiredDescription
keystringyesThe key of the metadata object
valuestringyesThe value of the metadata object

DynamicSecretSqlDatabaseConfiguration (output)#

Output object DynamicSecretSqlDatabaseConfiguration. Fields below belong to this object.

PropertyTypeAlways presentDescription
castringnoThe CA certificate to use to connect to the database.
clientstringyesThe database client to use. Currently supported values are postgres, mysql2, oracledb, mssql, sap-ase, and vertica.
creationStatementstringyesThe creation statement to use to create the dynamic secret lease.
databasestringyesThe name of the database to use.
gatewayIdstringnoThe Gateway ID to use to connect to the database.
hoststringyesThe host of the database server.
passwordstringnoThe password to use to connect to the database. This value is stored in the Terraform state; use passwordWo to keep it out of state. Exactly one of password or passwordWo must be set.
passwordRequirementsDynamicSecretSqlDatabaseConfigurationPasswordRequirements (output)noThe password requirements to use to create the dynamic secret lease.
passwordWostringnoNOTE: This field is write-only and its value will not be updated in state as part of read operations. The password to use to connect to the database (write-only). This value is never stored in the Terraform state and can accept ephemeral values. Because it is not stored, changes to it are not detected; increment passwordWoVersion to push a new value. Requires Terraform 1.11+.
passwordWoVersionnumbernoThe version of the passwordWo value. Increment this to trigger an update of the password.
portnumberyesThe port of the database server.
renewStatementstringnoThe renew statement to use to renew the dynamic secret lease.
revocationStatementstringyesThe revocation statement to use to revoke the dynamic secret lease.
usernamestringyesThe username to use to connect to the database.

DynamicSecretSqlDatabaseConfigurationPasswordRequirements (output)#

Output object DynamicSecretSqlDatabaseConfigurationPasswordRequirements. Fields below belong to this object.

PropertyTypeAlways presentDescription
allowedSymbolsstringnoThe symbols allowed in the password.
lengthnumberyesThe length of the password to use to create the dynamic secret lease.
requiredDynamicSecretSqlDatabaseConfigurationPasswordRequirementsRequired (output)yesThe required characters to use to create the dynamic secret lease.

DynamicSecretSqlDatabaseConfigurationPasswordRequirementsRequired (output)#

Output object DynamicSecretSqlDatabaseConfigurationPasswordRequirementsRequired. Fields below belong to this object.

PropertyTypeAlways presentDescription
digitsnumberyesThe number of digits required in the password.
lowercasenumberyesThe number of lowercase characters required in the password.
symbolsnumberyesThe number of symbols required in the password.
uppercasenumberyesThe number of uppercase characters required in the password.

DynamicSecretSqlDatabaseMetadata (output)#

Output object DynamicSecretSqlDatabaseMetadata. Fields below belong to this object.

PropertyTypeAlways presentDescription
keystringyesThe key of the metadata object
valuestringyesThe value of the metadata object