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

[LORIS-MRI tetsing] S3 bucket mount #1189

Open
laemtl opened this issue Sep 20, 2024 · 1 comment
Open

[LORIS-MRI tetsing] S3 bucket mount #1189

laemtl opened this issue Sep 20, 2024 · 1 comment

Comments

@laemtl
Copy link
Contributor

laemtl commented Sep 20, 2024

  • install s3fs on the docker image
  • create a password file: /path/to/.passwd-s3fs:
echo user:password > /path/to/.passwd-s3fs
chmod 600 /path/to/.passwd-s3fs
  • to mount the bucket on the filesystem in /mnt/s3fs-test/, run:
    sudo s3fs loris-rb-data /mnt/s3fs-test/ -o passwd_file=/path/to/.passwd-s3fs -o allow_other -o url=https://ace-minio-1.loris.ca:9000/
@laemtl
Copy link
Contributor Author

laemtl commented Sep 23, 2024

Potential security hole:

  • See how we can prevent an external user to modify the test execution and capture the env passwords.
  • read only credentials for the buckets can be an ok solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant