Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions backend/infrahub/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ class S3StorageSettings(BaseSettings):
alias="AWS_S3_USE_SSL",
validation_alias=AliasChoices("INFRAHUB_STORAGE_USE_SSL", "AWS_S3_USE_SSL"),
)
signature_version: str = Field(
default="s3v4",
alias="AWS_SIGNATURE_VERSION",
validation_alias=AliasChoices("INFRAHUB_STORAGE_S3_SIGNATURE_VERSION", "AWS_SIGNATURE_VERSION"),
)
default_acl: str = Field(
default="",
alias="AWS_DEFAULT_ACL",
Expand Down
1 change: 1 addition & 0 deletions docs/docs/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ Here are a few common methods of setting environmental variables:
| INFRAHUB_PRODUCTION | "Enable or disable the production mode, in production mode the logs are generated in JSON format" | FALSE | | |
| INFRAHUB_SECURITY_ACCESS_TOKEN_LIFETIME | Lifetime of access token in seconds | | | |
| INFRAHUB_SECURITY_REFRESH_TOKEN_LIFETIME | Lifetime of refresh token in seconds | | | |
| INFRAHUB_STORAGE_S3_SIGNATURE_VERSION | | "s3" | AWS_SIGNATURE_VERSION | |
| INFRAHUB_STORAGE_BUCKET_NAME | | infrahub-data | AWS_S3_BUCKET_NAME | |
| INFRAHUB_STORAGE_CUSTOM_DOMAIN | | | AWS_S3_CUSTOM_DOMAIN | |
| INFRAHUB_STORAGE_DEFAULT_ACL | | | AWS_DEFAULT_ACL | |
Expand Down