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

Allow the API s3 endpoint to be used with multiple storage providers #262

Closed
cnouguier opened this issue Sep 22, 2021 · 1 comment
Closed
Assignees

Comments

@cnouguier
Copy link
Contributor

No description provided.

@cnouguier
Copy link
Contributor Author

Added a specific plugin for this purpose : storage.js

It must be delcared in the ``system.config.yml`

  storage:
    providers: 
      aws:
        accessKeyId: ${AWS_S3_ACCESS_KEY}
        secretAccessKey: ${AWS_S3_SECRET_ACCESS_KEY}
      scw:
        endpoint: ${SCW_S3_ENDPOINT}
        accessKeyId: ${SCW_S3_ACCESS_KEY}
        secretAccessKey: ${SCW_S3_SECRET_ACCESS_KEY}
    package: ./plugins/storage    

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

No branches or pull requests

1 participant