/**
 * Vault Module
 *
 * Global module providing OpenBao Transit encryption services.
 */

import { Module, Global } from "@nestjs/common";
import { ConfigModule } from "@nestjs/config";
import { VaultService } from "./vault.service";
import { VaultHealthIndicator } from "./vault.health";
import { CryptoService } from "../federation/crypto.service";

@Global()
@Module({
  imports: [ConfigModule],
  providers: [VaultService, VaultHealthIndicator, CryptoService],
  exports: [VaultService, VaultHealthIndicator],
})
export class VaultModule {}
