diff --git a/deploy/config/example_deploy.toml b/deploy/config/example_deploy.toml index 390077741..318a15e11 100644 --- a/deploy/config/example_deploy.toml +++ b/deploy/config/example_deploy.toml @@ -14,6 +14,17 @@ contact_url = "https://umccr.org/" documentation_url = "https://github.com/umccr/htsget-rs" environment = "dev" +[[resolvers]] +regex = '^(?P.*?)/(?Pc4gh/.*)$' +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.*?)/(?P.*)$' substitution_string = '$key'