diff --git a/README.md b/README.md index e12722b..0e3373a 100644 --- a/README.md +++ b/README.md @@ -35,4 +35,4 @@ Use `lib/minio_helper.py` to extend the functionality Run `test_minio` in `lib/main.py` to test out that it works (TODO: move this to own testing script, perhaps unit tests) -Note: You will need to have access_key and secret_key in your env before running for this to work, contact @linnealovespie or @ammaratef45 to obtain these keys) +Note: You will need to have minio_access_key and minio_secret_key in your env before running for this to work, contact @linnealovespie or @ammaratef45 to obtain these keys) diff --git a/lib/minio_helper.py b/lib/minio_helper.py index ba6392b..8d3c447 100644 --- a/lib/minio_helper.py +++ b/lib/minio_helper.py @@ -7,8 +7,8 @@ class MinioHelper: def __init__(self, bucket_name: str): self.client = Minio( "minio.radmin.live", - access_key=os.environ['access_key'], - secret_key=os.environ['secret_key'] + access_key=os.environ['minio_access_key'], + secret_key=os.environ['minio_secret_key'] ) self.bucket_name = bucket_name