Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(director): s3 update, make it compatible with other providers #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
23 changes: 9 additions & 14 deletions configuration/director-configuration/aws-s3-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,42 +12,37 @@ AWS Access Key

`AWS_SECRET_ACCESS_KEY=null`

AWS Secret\
AWS Secret


`S3_BUCKET="sorry-cypress"`

AWS S3 Bucket name

`S3_URL="https://s3.amazonaws.com/"`

AWS S3 URL

`S3_REGION="us-east-1"`

AWS S3 Region


`S3_BUCKET="sorry-cypress"`

`S3_ACL="public-read"`

[AWS S3 ACL](https://docs.aws.amazon.com/AmazonS3/latest/API/API\_PutObjectAcl.html) for `putObject` operation
AWS S3 Bucket name



`S3_READ_URL_PREFIX=null`
`S3_REGION="us-east-1"`

Custom prefix for generating "read" URL for generated artifacts. By default, the read `${S3_BUCKET}.s3.amazonaws.com/${objectKey}`, if `S3_READ_URL_PREFIX`is set, then it becomes `${S3_READ_URL_PREFIX}/${objectKey}`
AWS S3 Region



`S3_IMAGE_KEY_PREFIX=null`

Custom prefix for stored images, if set the prefix will be applied e.g.: `${S3_BUCKET}.s3.amazonaws.com/${S3_IMAGE_KEY_PREFIX}${objectKey}`
Custom prefix for stored images, if set the prefix will be applied e.g.: `${S3_URL}/${S3_BUCKET}/${S3_IMAGE_KEY_PREFIX}${objectKey}`



`S3_VIDEO_KEY_PREFIX=null`

Custom prefix for stored videos, if set the prefix will be applied e.g.: `${S3_BUCKET}.s3.amazonaws.com/${S3_VIDEO_KEY_PREFIX}${objectKey}`
Custom prefix for stored videos, if set the prefix will be applied e.g.: `${S3_URL}/${S3_BUCKET}/${S3_VIDEO_KEY_PREFIX}${objectKey}`



Expand Down