From cd80dbb6c59b0b2ecb18740e3f7574bfe41eed11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Miguel?= <36349314+vrmiguel@users.noreply.github.com> Date: Tue, 15 Oct 2024 16:22:43 -0300 Subject: [PATCH] db_sync: use AES256 in `aws s3 sync` (#781) --- registry/src/db_sync.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/registry/src/db_sync.rs b/registry/src/db_sync.rs index 44402039..8038b4b5 100644 --- a/registry/src/db_sync.rs +++ b/registry/src/db_sync.rs @@ -17,6 +17,8 @@ async fn copy_s3_files(buckets: &S3Buckets) -> anyhow::Result<()> { .arg("sync") .arg(source_bucket) .arg(dest_bucket) + .arg("--sse") + .arg("AES256") .output() .with_context(|| "Failed to execute aws s3 sync command") });