On this page
fxvault Media answers the S3 API at https://s3.fxvault.link, so tools that speak S3 work without changes.
- Bucket: your team's name in links, for example
nova-rp.nova-rp.fxvnames the same bucket, for tools that would otherwise put the bucket in the host name. - Addresses: path style,
https://s3.fxvault.link/<bucket>/<key>. Any region name is accepted;autois fine. - Keys: an S3 key, made on the API keys tab under S3 keys. Its secret is shown once. It can read, add and delete every file of the team.
- What it holds: every file of the team. A file put through S3 keeps its key; any other file answers under
<folder>/<id>.<ext>. - What it accepts: images, video and audio, like every other upload. Deleting an object moves the file to the bin.
- Size: the S3 address accepts request bodies up to 100 MB, so larger files go up as multipart uploads (the configs below set that up).
Creating an S3 key shows its values once:
lb-presigned (S3)
If you already run LB Scripts' lb-presigned, point it at your bucket with an S3 key from API keys. The Custom method above needs no S3 key and is the simpler choice. Uploads from the phone lose their photo metadata, like any player upload.
1. server.cfg
The bucket is your team's address with ".fxv" on the end: a dotted name makes the AWS SDK inside lb-presigned use https://s3.fxvault.link/<bucket>. LB_S3_DOMAIN is where the phone shows files from.
set LB_S3_BUCKET "your-team.fxv"
set LB_S3_REGION "auto"
set LB_S3_ACCESS_KEY_ID "YOUR_S3_ACCESS_KEY_ID"
set LB_S3_SECRET_ACCESS_KEY "YOUR_S3_SECRET"
set LB_S3_DOMAIN "https://files.fxvault.link/your-team"2. FXServer's environment
lb-presigned has no endpoint setting. The AWS SDK inside it reads this variable from the environment FXServer starts with: add it to your start script, or wherever your host or txAdmin sets environment variables, then restart FXServer.
AWS_ENDPOINT_URL_S3=https://s3.fxvault.link3. lb-phone/config/config.lua
Needs LB Phone 2.5.5 or newer. Allow fxvault.link in Config.UploadWhitelistedDomains and Config.ExternalWhitelistedDomains as in the lb-phone card above.
Config.UploadMethod.Video = "LBPresigned"
Config.UploadMethod.Image = "LBPresigned"
Config.UploadMethod.Audio = "LBPresigned"Checked against: github.com/lbphone/lb-presigned, docs.lbscripts.com/phone/installation/.
rclone (S3)
Copy folders in or out of your files with an S3 key from API keys. Your bucket is your-team: the whole team, phone uploads included. Use rclone copy, never rclone sync: sync would send everything not in your local folder to the bin.
1. rclone.conf
The S3 address accepts request bodies up to 100 MB, so single uploads stop at 50 MB and larger files go in 32 MB parts.
[fxvault]
type = s3
provider = Other
access_key_id = YOUR_S3_ACCESS_KEY_ID
secret_access_key = YOUR_S3_SECRET
endpoint = https://s3.fxvault.link
region = auto
force_path_style = true
upload_cutoff = 50M
chunk_size = 32M2. Terminal
Folders become folders in the panel. Only images, video and audio are accepted.
rclone copy ./screenshots fxvault:your-team/screenshots --progress
rclone ls fxvault:your-team/screenshots
rclone copy fxvault:your-team ./fxvault-backup --progressChecked against: rclone.org/s3/#other, developers.cloudflare.com/workers/platform/limits/#request-limits.
AWS CLI (S3)
The AWS CLI works with an S3 key from API keys. Your bucket is your-team.
1. Terminal
Once, to save the key under its own profile. Path-style addresses: there is no per-bucket host.
aws configure set aws_access_key_id YOUR_S3_ACCESS_KEY_ID --profile fxvault
aws configure set aws_secret_access_key YOUR_S3_SECRET --profile fxvault
aws configure set region auto --profile fxvault
aws configure set s3.addressing_style path --profile fxvault2. Terminal
aws s3 ls s3://your-team/ --profile fxvault --endpoint-url https://s3.fxvault.link
aws s3 cp ./clip.mp4 s3://your-team/clips/clip.mp4 --profile fxvault --endpoint-url https://s3.fxvault.linkChecked against: docs.aws.amazon.com/cli/latest/topic/s3-config.html, docs.aws.amazon.com/cli/latest/userguide/cli-configure-endpoints.html.