Skip to content

Commit

Permalink
renamed setting PELICAN_KEY to PELICAN_KEY_PATH for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
seanshahkarami committed Jul 19, 2024
1 parent 2c6f944 commit 7e37333
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
S3_ROOT_FOLDER = env("S3_ROOT_FOLDER", str, "")
S3_REGION = env("S3_REGION", str, "")

PELICAN_KEY: str = env("PELICAN_KEY", str, "")
PELICAN_KEY_PATH: str = env("PELICAN_KEY_PATH", str, "")
PELICAN_ALGORITHM: str = env("PELICAN_ALGORITHM", str, "ES256")
PELICAN_KEY_ID: str = env("PELICAN_KEY_ID", str, "")
PELICAN_ISSUER: str = env("PELICAN_ISSUER", str, "")
Expand Down
2 changes: 1 addition & 1 deletion downloads/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def get_pelican_path(item: Item):
def get_pelican_authz_url(item: Item):
path = get_pelican_path(item)

key = Path(settings.PELICAN_KEY).read_bytes()
key = Path(settings.PELICAN_KEY_PATH).read_bytes()

token = SciToken(
key=key,
Expand Down

0 comments on commit 7e37333

Please sign in to comment.