mirror of
https://gitea.smigz.com/smiggiddy/s3_cleanup.git
synced 2024-12-25 12:40:44 -05:00
fix: update env varibales
adjust env variables
This commit is contained in:
parent
0c9e47b9ad
commit
ffa09d6ae0
1 changed files with 2 additions and 2 deletions
4
main.py
4
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,
|
||||
|
|
Loading…
Reference in a new issue