刘凡 9ff4d1d109 add S3,archive,truncate | 2 rokov pred | |
---|---|---|
.. | ||
.gitignore | 2 rokov pred | |
LICENSE | 2 rokov pred | |
README.md | 2 rokov pred | |
__init__.py | 2 rokov pred | |
requirements.txt | 2 rokov pred | |
s3.py | 2 rokov pred |
Plugin that converts CTFd file uploads and deletions to Amazon S3 calls.
AWS S3 support has been integrated into CTFd as of version 2.0.
ACCESS_KEY_ID
is your AWS Access Key. If you do not provide this, the plugin will try to use an IAM role or credentials file.
SECRET_ACCESS_KEY
is your AWS Secret Key. If you do not provide this, the plugin will try to use an IAM role or credentials file.
BUCKET
is the name of your Amazon S3 bucket.
This plugin will not yet backfill any files you've uploaded. If you install the plugin after you've uploaded files, you will need to upload your current challenge files to S3.