Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

docs: updated replica information to the docs

=90eed8d39bd1
diff --git a/docs/self-hosting/configuration/envars.mdx b/docs/self-hosting/configuration/envars.mdx
index 754409dfeb..fcb98d40ed 100644
--- a/docs/self-hosting/configuration/envars.mdx
+++ b/docs/self-hosting/configuration/envars.mdx
@@ -47,6 +47,25 @@ The platform utilizes Postgres to persist all of its data and Redis for caching
Redis connection string.
</ParamField>
+<ParamField query="DB_READ_REPLICAS" type="string" default="" optional>
+ Postgres database read replica connection strings. It accepts a JSON string.
+```
+DB_READ_REPLICAS=[{"DB_CONNECTION_URI":""}]
+```
+ <Expandable title="Format">
+ <ParamField query="DB_CONNECTION_URI" type="string" default="" required>
+ Postgres read replica connection string.
+ </ParamField>
+ <ParamField query="DB_ROOT_CERT" type="string" default="" optional>
+ Configure the SSL certificate for securing a Postgres replica connection by first encoding it in base64.
+ Use the command below to encode your certificate:
+ `echo "<certificate>" | base64`
+
+ If not provided it will use master SSL certificate.
+ </ParamField>
+ </Expandable>
+</ParamField>
+
## Email service
Without email configuration, Infisical's core functions like sign-up/login and secret operations work, but this disables multi-factor authentication, email invites for projects, alerts for suspicious logins, and all other email-dependent features.