nails / driver-cdn-google-cloud-storage
这是Nails CDN模块的“Google Cloud Storage”驱动程序。
0.1.0
2017-03-02 14:45 UTC
Requires
- google/cloud: ~0.21.1
- nailsapp/module-cdn: dev-develop
Requires (Dev)
- phpunit/phpunit: 4.*
This package is auto-updated.
Last update: 2024-09-03 11:56:39 UTC
README
这是Nails CDN模块的Google Cloud Storage驱动程序,它允许CDN使用Google存储桶作为存储机制。
安装
composer require nails/driver-cdn-google
## 配置
可以通过管理界面启用并配置此驱动程序。
凭证
为了使SDK能够正确地与Google进行身份验证,需要为应用程序创建一个“服务账户”。您可以在云控制台中完成此操作
https://console.cloud.google.com/apis/credentials
下载并保存密钥到安全的地方,然后通过以下方式使驱动程序可用:将文件内容粘贴到设置中的适当位置,或将文件放置在您的服务器上,并在驱动程序设置中设置文件路径。