Skip to content

Commit

Permalink
Update route.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasBassoOcto authored May 30, 2024
1 parent 656f6cf commit a0c71c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/api/vault/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ class VaultModule {
private readonly kubernetesPath: string;

constructor(vaultRole: string, kubernetesPath: string) {
this.vaultRole = vaultRole;
this.kubernetesPath = kubernetesPath;
this.isKubelogged = false;
this.vaultClient = vault({
apiVersion: "v1",
endpoint: "https://vault-dev.factory.social.gouv.fr",
kubernetesPath: this.kubernetesPath,
});
this.vaultRole = vaultRole;
this.kubernetesPath = kubernetesPath;
this.isKubelogged = false;
}

async readSecret(path: string): Promise<any> {
Expand Down

0 comments on commit a0c71c9

Please sign in to comment.