From cfa3b6e9e0467e2813ec87845b7ec74ad32e568d Mon Sep 17 00:00:00 2001 From: Ilya Katlinski Date: Tue, 8 Aug 2023 12:49:41 +0200 Subject: [PATCH] doc: update api reports as public api changed Signed-off-by: Ilya Katlinski --- plugins/vault-backend/api-report.md | 10 ++++++++-- plugins/vault/api-report.md | 5 ++++- plugins/vault/src/constants.ts | 3 +++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/plugins/vault-backend/api-report.md b/plugins/vault-backend/api-report.md index 4890e585b4..47275693ec 100644 --- a/plugins/vault-backend/api-report.md +++ b/plugins/vault-backend/api-report.md @@ -25,7 +25,10 @@ export interface RouterOptions { // @public export interface VaultApi { getFrontendSecretsUrl(): string; - listSecrets(secretPath: string): Promise; + listSecrets( + secretPath: string, + secretMount?: string | undefined, + ): Promise; renewToken?(): Promise; } @@ -49,7 +52,10 @@ export class VaultClient implements VaultApi { // (undocumented) getFrontendSecretsUrl(): string; // (undocumented) - listSecrets(secretPath: string): Promise; + listSecrets( + secretPath: string, + secretEngine?: string | undefined, + ): Promise; // (undocumented) renewToken(): Promise; } diff --git a/plugins/vault/api-report.md b/plugins/vault/api-report.md index 8c4e5da829..ee85145202 100644 --- a/plugins/vault/api-report.md +++ b/plugins/vault/api-report.md @@ -20,7 +20,10 @@ export const VAULT_SECRET_PATH_ANNOTATION = 'vault.io/secrets-path'; // @public export interface VaultApi { - listSecrets(secretPath: string): Promise; + listSecrets( + secretPath: string, + secretMount?: string | undefined, + ): Promise; } // @public (undocumented) diff --git a/plugins/vault/src/constants.ts b/plugins/vault/src/constants.ts index 7398bc59ee..a71a1c104f 100644 --- a/plugins/vault/src/constants.ts +++ b/plugins/vault/src/constants.ts @@ -18,4 +18,7 @@ * @public */ export const VAULT_SECRET_ENGINE_ANNOTATION = 'vault.io/secrets-engine'; +/** + * @public + */ export const VAULT_SECRET_PATH_ANNOTATION = 'vault.io/secrets-path';