doc: update api reports as public api changed

Signed-off-by: Ilya Katlinski <ilya.katlinsky@gmail.com>
This commit is contained in:
Ilya Katlinski
2023-08-08 12:49:41 +02:00
parent 1dd90e437c
commit cfa3b6e9e0
3 changed files with 15 additions and 3 deletions
+8 -2
View File
@@ -25,7 +25,10 @@ export interface RouterOptions {
// @public
export interface VaultApi {
getFrontendSecretsUrl(): string;
listSecrets(secretPath: string): Promise<VaultSecret[]>;
listSecrets(
secretPath: string,
secretMount?: string | undefined,
): Promise<VaultSecret[]>;
renewToken?(): Promise<void>;
}
@@ -49,7 +52,10 @@ export class VaultClient implements VaultApi {
// (undocumented)
getFrontendSecretsUrl(): string;
// (undocumented)
listSecrets(secretPath: string): Promise<VaultSecret[]>;
listSecrets(
secretPath: string,
secretEngine?: string | undefined,
): Promise<VaultSecret[]>;
// (undocumented)
renewToken(): Promise<void>;
}