Skip to content

Commit

Permalink
no need for s3 secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
horta committed Oct 19, 2023
1 parent 2d5d80f commit b2ffda3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions control/deciphonctl/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ class Settings(BaseSettings):

sched_url: HttpUrl = HttpUrl("http://localhost")

s3_key: str = "minioadmin"
s3_secret: str = "minioadmin"
s3_url: HttpUrl = HttpUrl("http://localhost:9000")
s3_bucket: str = "deciphon"

Expand Down
6 changes: 2 additions & 4 deletions control/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,13 @@ def stop(self):
def compose(mqtt, s3, settings: Settings):
settings.mqtt_host = mqtt["host"]
settings.mqtt_port = mqtt["port"]
settings.s3_key = s3["access_key"]
settings.s3_secret = s3["secret_key"]
settings.s3_url = HttpUrl(s3["url"])

sched_settings = SchedSettings(
mqtt_host=settings.mqtt_host,
mqtt_port=settings.mqtt_port,
s3_key=settings.s3_key,
s3_secret=settings.s3_secret,
s3_key=s3["access_key"],
s3_secret=s3["secret_key"],
s3_url=settings.s3_url,
)

Expand Down

0 comments on commit b2ffda3

Please sign in to comment.