mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
modified: src/lib/config/env.ts
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import { Logger } from "pino";
|
||||
import { z } from "zod";
|
||||
|
||||
import { RootKeyEncryptionStrategy } from "@app/services/kms/kms-types";
|
||||
|
||||
import { removeTrailingSlash } from "../fn";
|
||||
import { zpStr } from "../zod";
|
||||
|
||||
@@ -167,9 +165,6 @@ const envSchema = z
|
||||
WORKFLOW_SLACK_CLIENT_SECRET: zpStr(z.string().optional()),
|
||||
ENABLE_MSSQL_SECRET_ROTATION_ENCRYPT: zodStrBool.default("true"),
|
||||
|
||||
// KMS ENCRYPTION
|
||||
ROOT_KEY_ENCRYPTION_STRATEGY: z.nativeEnum(RootKeyEncryptionStrategy).default(RootKeyEncryptionStrategy.Basic),
|
||||
|
||||
// HSM
|
||||
HSM_LIB_PATH: zpStr(
|
||||
z
|
||||
@@ -209,8 +204,6 @@ const envSchema = z
|
||||
.transform((data) => ({
|
||||
...data,
|
||||
|
||||
// ROOT_KEY_ENCRYPTION_STRATEGY: "HSM",
|
||||
|
||||
DB_READ_REPLICAS: data.DB_READ_REPLICAS
|
||||
? databaseReadReplicaSchema.parse(JSON.parse(data.DB_READ_REPLICAS))
|
||||
: undefined,
|
||||
|
||||
Reference in New Issue
Block a user