Confirm minio access

This commit is contained in:
2025-09-25 14:26:45 -07:00
parent f7d5555fd2
commit c82df4b0fb
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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