mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 03:27:38 +00:00
27 lines
1.3 KiB
TypeScript
27 lines
1.3 KiB
TypeScript
import { AwsElastiCacheDatabaseProvider } from "./aws-elasticache";
|
|
import { AwsIamProvider } from "./aws-iam";
|
|
import { AzureEntraIDProvider } from "./azure-entra-id";
|
|
import { CassandraProvider } from "./cassandra";
|
|
import { ElasticSearchProvider } from "./elastic-search";
|
|
import { LdapProvider } from "./ldap";
|
|
import { DynamicSecretProviders } from "./models";
|
|
import { MongoAtlasProvider } from "./mongo-atlas";
|
|
import { MongoDBProvider } from "./mongo-db";
|
|
import { RabbitMqProvider } from "./rabbit-mq";
|
|
import { RedisDatabaseProvider } from "./redis";
|
|
import { SqlDatabaseProvider } from "./sql-database";
|
|
|
|
export const buildDynamicSecretProviders = () => ({
|
|
[DynamicSecretProviders.SqlDatabase]: SqlDatabaseProvider(),
|
|
[DynamicSecretProviders.Cassandra]: CassandraProvider(),
|
|
[DynamicSecretProviders.AwsIam]: AwsIamProvider(),
|
|
[DynamicSecretProviders.Redis]: RedisDatabaseProvider(),
|
|
[DynamicSecretProviders.AwsElastiCache]: AwsElastiCacheDatabaseProvider(),
|
|
[DynamicSecretProviders.MongoAtlas]: MongoAtlasProvider(),
|
|
[DynamicSecretProviders.MongoDB]: MongoDBProvider(),
|
|
[DynamicSecretProviders.ElasticSearch]: ElasticSearchProvider(),
|
|
[DynamicSecretProviders.RabbitMq]: RabbitMqProvider(),
|
|
[DynamicSecretProviders.AzureEntraID]: AzureEntraIDProvider(),
|
|
[DynamicSecretProviders.Ldap]: LdapProvider()
|
|
});
|