Create a data source
Registers a data source connection. The password is write-only: it is encrypted at rest and never returned by any operation.
Autorizações
JWT bearer token issued by the identity provider.
Corpo
JSON request payload.
Stable business key referenced by templates; unique among live data sources.
"midaz_onboarding"
Database name.
"onboarding"
Database host.
"db.internal"
Write-only credential: encrypted at rest, never returned by any operation.
"-"
Database port.
5432
Data source engine type: postgresql or mongodb.
"postgresql"
Database username.
"reporter_ro"
Free-form metadata.
MongoDB URI options string (e.g. authSource=admin). Not applicable to postgresql.
"authSource=admin"
PostgreSQL schemas to expose; defaults to [public]. Not applicable to mongodb.
MongoDB or PostgreSQL: standard Base64 of a PEM CA bundle. Mutually exclusive with an existing CA file; requires verified TLS (postgresql requires sslMode verify-ca or verify-full).
""
TLS mode: disable, require, verify-ca, or verify-full. Defaults to verify-full for PostgreSQL with sslCaBase64; otherwise defaults to require when omitted.
"require"
Resposta
Created
True for a data source the platform provides from the tenant's Lerian module databases; read-only, never registered
false
Stable business key referenced by templates
"midaz_onboarding"
Creation timestamp in UTC
"2026-01-01T00:00:00Z"
Database name
"onboarding"
Database host
"db.internal"
Unique data source identifier
"00000000-0000-0000-0000-000000000000"
Outcome of the most recent connectivity probe; absent means never probed, which is not the same as failed
Free-form metadata
MongoDB URI options string (e.g. authSource=admin); mongodb only
"authSource=admin"
Database port
5432
PostgreSQL schemas to expose
Base64-encoded PEM CA bundle for MongoDB or PostgreSQL; never a private key. PostgreSQL requires sslMode verify-ca or verify-full.
""
TLS mode: disable, require, verify-ca, or verify-full
"require"
Data source engine type
"postgresql"
Most recent update timestamp in UTC
"2026-01-01T00:00:00Z"
Database username
"reporter_ro"

