Skip to main content

AppConnectionPostgres

Resource AppConnectionPostgres in pulumi-infisical.
3 min read

Resource AppConnectionPostgres in pulumi-infisical.

Pulumi type: infisical:index/appConnectionPostgres:AppConnectionPostgres.

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
credentialsAppConnectionPostgresCredentials (input)yesThe credentials for the PostgreSQL App Connection
descriptionstringnoAn optional description for the PostgreSQL App Connection.
methodstringyesThe method used to authenticate with PostgreSQL. Possible values are: username-and-password
namestringnoThe name of the PostgreSQL App Connection to create. Must be slug-friendly
projectIdstringnoThe ID of the project to scope the app connection to. If not provided, the app connection will be scoped to the organization.

Outputs#

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

PropertyTypeComputedDescription
credentialsAppConnectionPostgresCredentials (output)noThe credentials for the PostgreSQL App Connection
credentialsHashstringyesThe hash of the PostgreSQL App Connection credentials
descriptionstringnoAn optional description for the PostgreSQL App Connection.
methodstringnoThe method used to authenticate with PostgreSQL. Possible values are: username-and-password
namestringnoThe name of the PostgreSQL App Connection to create. Must be slug-friendly
projectIdstringnoThe ID of the project to scope the app connection to. If not provided, the app connection will be scoped to the organization.

AppConnectionPostgresCredentials (input)#

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

PropertyTypeRequiredDescription
databasestringyesThe name of the database to connect to.
hoststringyesThe hostname of the database server.
passwordstringyesThe password to connect to the database with.
portnumbernoThe port number of the database.
sslCertificatestringnoThe SSL certificate to use for connection.
sslEnabledbooleannoWhether or not to use SSL when connecting to the database.
sslRejectUnauthorizedbooleannoWhether or not to reject unauthorized SSL certificates.
usernamestringyesThe username to connect to the database with.

AppConnectionPostgresCredentials (output)#

Output object AppConnectionPostgresCredentials. Fields below belong to this object.

PropertyTypeAlways presentDescription
databasestringyesThe name of the database to connect to.
hoststringyesThe hostname of the database server.
passwordstringyesThe password to connect to the database with.
portnumberyesThe port number of the database.
sslCertificatestringnoThe SSL certificate to use for connection.
sslEnabledbooleanyesWhether or not to use SSL when connecting to the database.
sslRejectUnauthorizedbooleanyesWhether or not to reject unauthorized SSL certificates.
usernamestringyesThe username to connect to the database with.