From b6ff2a588f90191bdac8dc93a5e1ebc025a73c55 Mon Sep 17 00:00:00 2001 From: Vincenzo Scamporlino Date: Mon, 15 Dec 2025 21:27:38 +0100 Subject: [PATCH] techdocs: mark aws config as backend Signed-off-by: Vincenzo Scamporlino --- .changeset/cold-dogs-study.md | 5 +++++ plugins/techdocs-backend/config.d.ts | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .changeset/cold-dogs-study.md diff --git a/.changeset/cold-dogs-study.md b/.changeset/cold-dogs-study.md new file mode 100644 index 0000000000..a27309fc15 --- /dev/null +++ b/.changeset/cold-dogs-study.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-techdocs-backend': patch +--- + +Some AWS `publisher` config options such as `region`, `endpoint`, `accountId` are now marked as `@visibility backend` instead of `secret`. diff --git a/plugins/techdocs-backend/config.d.ts b/plugins/techdocs-backend/config.d.ts index 1520ad70ec..5d3baa940a 100644 --- a/plugins/techdocs-backend/config.d.ts +++ b/plugins/techdocs-backend/config.d.ts @@ -100,7 +100,6 @@ export interface Config { * If account ID is not set and no credentials are set, environment variables or aws config file will be used to authenticate. * @see https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/loading-node-credentials-environment.html * @see https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/loading-node-credentials-shared.html - * @visibility secret */ accountId?: string; /** @@ -141,14 +140,12 @@ export interface Config { * (Optional) AWS Region. * If not set, AWS_REGION environment variable or aws config file will be used. * @see https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-region.html - * @visibility secret */ region?: string; /** * (Optional) AWS Endpoint. * The endpoint URI to send requests to. The default endpoint is built from the configured region. * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#constructor-property - * @visibility secret */ endpoint?: string; /**