From 9e64a7ac1e0823fdef7304ce06d9e18960f8dfa7 Mon Sep 17 00:00:00 2001 From: therynamo Date: Mon, 15 Nov 2021 10:51:36 -0600 Subject: [PATCH] pr suggestions Signed-off-by: therynamo --- ...-cougars-relax.md => techdocs-orange-cougars-relax.md} | 1 + docs/features/techdocs/configuration.md | 1 + plugins/techdocs-backend/config.d.ts | 8 ++++++++ 3 files changed, 10 insertions(+) rename .changeset/{orange-cougars-relax.md => techdocs-orange-cougars-relax.md} (82%) diff --git a/.changeset/orange-cougars-relax.md b/.changeset/techdocs-orange-cougars-relax.md similarity index 82% rename from .changeset/orange-cougars-relax.md rename to .changeset/techdocs-orange-cougars-relax.md index 0a13987551..3776c9ea15 100644 --- a/.changeset/orange-cougars-relax.md +++ b/.changeset/techdocs-orange-cougars-relax.md @@ -1,5 +1,6 @@ --- '@backstage/techdocs-common': patch +'@backstage/techdocs-backend': patch --- Allow amazon web services s3 buckets to pass an server side encryption configuration so they can publish to encrypted buckets diff --git a/docs/features/techdocs/configuration.md b/docs/features/techdocs/configuration.md index cfc522adf6..61d95f55c0 100644 --- a/docs/features/techdocs/configuration.md +++ b/docs/features/techdocs/configuration.md @@ -107,6 +107,7 @@ techdocs: s3ForcePathStyle: false # (Optional) AWS Server Side Encryption + # Defaults to undefined. # If not set, encrypted buckets will fail to publish. # https://docs.aws.amazon.com/AmazonS3/latest/userguide/specifying-s3-encryption.html sse: 'aws:kms' # or AES256 diff --git a/plugins/techdocs-backend/config.d.ts b/plugins/techdocs-backend/config.d.ts index 0023a4b757..d8049daec9 100644 --- a/plugins/techdocs-backend/config.d.ts +++ b/plugins/techdocs-backend/config.d.ts @@ -121,6 +121,14 @@ export interface Config { * @visibility backend */ s3ForcePathStyle?: boolean; + + /** + * (Optional) AWS Server Side Encryption + * Defaults to undefined. + * If not set, encrypted buckets will fail to publish. + * https://docs.aws.amazon.com/AmazonS3/latest/userguide/specifying-s3-encryption.html + */ + sse: 'aws:kms' | 'AES256'; }; } | {