From b45607a2ec899c7afba39f7d5987f1e064651b5a Mon Sep 17 00:00:00 2001 From: Andrew Thauer Date: Thu, 28 Oct 2021 17:56:59 -0400 Subject: [PATCH] fix: make techdocs s3 credentials optional in config schema Signed-off-by: Andrew Thauer --- .changeset/bright-taxis-stare.md | 5 +++++ plugins/techdocs-backend/config.d.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/bright-taxis-stare.md diff --git a/.changeset/bright-taxis-stare.md b/.changeset/bright-taxis-stare.md new file mode 100644 index 0000000000..e43c9b038b --- /dev/null +++ b/.changeset/bright-taxis-stare.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-techdocs-backend': patch +--- + +Make techdocs s3 publisher credentials config schema optional. diff --git a/plugins/techdocs-backend/config.d.ts b/plugins/techdocs-backend/config.d.ts index ac31474fa9..0023a4b757 100644 --- a/plugins/techdocs-backend/config.d.ts +++ b/plugins/techdocs-backend/config.d.ts @@ -83,12 +83,12 @@ export interface Config { * User access key id * @visibility secret */ - accessKeyId: string; + accessKeyId?: string; /** * User secret access key * @visibility secret */ - secretAccessKey: string; + secretAccessKey?: string; /** * ARN of role to be assumed * @visibility backend