fix: update env varibales

adjust env variables
This commit is contained in:
Mike 2023-07-30 00:19:46 +00:00
parent 0c9e47b9ad
commit ffa09d6ae0

View file

@ -18,8 +18,8 @@ def get_s3_bucket(bucketname: str, host: str):
return b: s3 bucket object return b: s3 bucket object
""" """
access_key = os.environ.get("access_key") access_key = os.environ.get("ACCESS_KEY")
secret_key = os.environ.get("secret_key") secret_key = os.environ.get("SECRET_KEY")
conn = boto.connect_s3( conn = boto.connect_s3(
aws_access_key_id=access_key, aws_access_key_id=access_key,
aws_secret_access_key=secret_key, aws_secret_access_key=secret_key,