From c82df4b0fb88109db5213c8fab5278f5faa8c299 Mon Sep 17 00:00:00 2001 From: Linnea Date: Thu, 25 Sep 2025 14:26:45 -0700 Subject: [PATCH] Confirm minio access --- README.md | 2 +- lib/minio_helper.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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