calips-labs/scaleway-object-storage
最新稳定版本:1.0.1
Composer 安装命令:
composer require calips-labs/scaleway-object-storage
包简介
Scaleway Object Storage integration for Craft CMS
README 文档
README
Scaleway Object Storage filesystem for Craft CMS
Requirements
This plugin requires Craft CMS ^4.0.0-beta.1 and PHP ^8.0.2
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell composer to load the plugin:
composer require calips-labs/scaleway-object-storage -
Navigate to Settings -> Plugins and click the "Install" button for Scaleway Object Storage.
API keys
You can create an API key in the Scaleway console. An API key consists of an Access Key ID and a Secret Access Key.
When you configure an API key, make sure that it has access to the bucket you want to use.
At least the following permissions are
needed: ObjectStorageBucketsRead, ObjectStorageObjectsRead, ObjectStorageObjectsWrite, ObjectStorageObjectsDelete.
Configuring a new filesystem
- Navigate to Settings -> Filesystems and click the "New Filesystem" button.
- Select "Scaleway Object Storage" from the "Filesystem Type" dropdown.
- Select the region for your bucket.
- Enter your Access Key ID, and Secret Access Key (it's recommended to store these in your
.envfile and reference the environment variables here). - Hit Refresh to load the bucket list, or choose the Manual option and enter the bucket name. (The bucket name can also
be stored in your
.envfile and be referenced here.) - Save the filesystem.
Misc
Open an Issue if you encounter any problems or have suggestions.
Acknowledgements
Based on the excellent Cloudflare R2 plugin by Jarrod D Nix
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-04-01