mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-05 17:18:12 +08:00
Provide a hook into the AWS Secret Manager for the flask secret key (#1398)
Also, the secret manager required a region name, so there was some refactoring around how regions are handled. Fixes #1239
This commit is contained in:
@@ -10,7 +10,7 @@ def _is_accessible(path, config):
|
||||
return True
|
||||
|
||||
try:
|
||||
dl = DataLocator(path, config)
|
||||
dl = DataLocator(path, region_name=config.data_locator__s3__region_name)
|
||||
return dl.exists()
|
||||
except RuntimeError:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user