Get Db Credentials
getDbCredentialsFetch database credentials from a running container's environment, using the live pod configuration as the authoritative source.
Instructions
Read from the running pod's resolved environment at call time, so the container is the source of truth rather than the template. component is a compose service running a database.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| region | No | ||
| appSlug | Yes | ||
| component | Yes | ||
| workspaceSlug | Yes |