mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 19:16:22 +00:00
feat: dynamic secret mongodb ui
This commit is contained in:
@@ -22,7 +22,8 @@ export enum DynamicSecretProviders {
|
||||
Redis = "redis",
|
||||
AwsElastiCache = "aws-elasticache",
|
||||
MongoAtlas = "mongo-db-atlas",
|
||||
ElasticSearch = "elastic-search"
|
||||
ElasticSearch = "elastic-search",
|
||||
MongoDB = "mongo-db"
|
||||
}
|
||||
|
||||
export enum SqlProviders {
|
||||
@@ -117,6 +118,24 @@ export type TDynamicSecretProvider =
|
||||
}[];
|
||||
};
|
||||
}
|
||||
| {
|
||||
type: DynamicSecretProviders.MongoDB;
|
||||
inputs: {
|
||||
host: string;
|
||||
port?: number;
|
||||
database: string;
|
||||
username: string;
|
||||
password: string;
|
||||
ca?: string | undefined;
|
||||
roles: (
|
||||
| {
|
||||
databaseName: string;
|
||||
roleName: string;
|
||||
}
|
||||
| string
|
||||
)[];
|
||||
};
|
||||
}
|
||||
| {
|
||||
type: DynamicSecretProviders.ElasticSearch;
|
||||
inputs: {
|
||||
@@ -124,7 +143,6 @@ export type TDynamicSecretProvider =
|
||||
port: number;
|
||||
ca?: string | undefined;
|
||||
roles: string[];
|
||||
|
||||
auth:
|
||||
| {
|
||||
type: "user";
|
||||
|
||||
Reference in New Issue
Block a user