Skip to content

Commit

Permalink
Add changes from #273
Browse files Browse the repository at this point in the history
  • Loading branch information
brainstorm committed Oct 21, 2024
1 parent 49f94bd commit aba97f8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions deploy/config/example_deploy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ contact_url = "https://umccr.org/"
documentation_url = "https://github.com/umccr/htsget-rs"
environment = "dev"

[[resolvers]]
regex = '^(?P<bucket>.*?)/(?P<key>c4gh/.*)$'
substitution_string = '$key'
storage.backend = 'S3'

[resolvers.storage.keys]
location = "SecretsManager"
private_key = "htsget-rs/c4gh-private-key" # pragma: allowlist secret
recipient_public_key = "htsget-rs/c4gh-recipient-public-key"

# Everything else is a regular file.
[[resolvers]]
regex = '^(?P<bucket>.*?)/(?P<key>.*)$'
substitution_string = '$key'
Expand Down

0 comments on commit aba97f8

Please sign in to comment.