From ffa09d6ae0aaca9f047a2421d2e4a4a3d7aaa084 Mon Sep 17 00:00:00 2001 From: Mike Date: Sun, 30 Jul 2023 00:19:46 +0000 Subject: [PATCH] fix: update env varibales adjust env variables --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index d21f188..d98f79b 100644 --- a/main.py +++ b/main.py @@ -18,8 +18,8 @@ def get_s3_bucket(bucketname: str, host: str): return b: s3 bucket object """ - access_key = os.environ.get("access_key") - secret_key = os.environ.get("secret_key") + access_key = os.environ.get("ACCESS_KEY") + secret_key = os.environ.get("SECRET_KEY") conn = boto.connect_s3( aws_access_key_id=access_key, aws_secret_access_key=secret_key,