catalyst / moodle-tool_objectfs

Object file storage system for Moodle
https://moodle.org/plugins/tool_objectfs
88 stars 72 forks source link

GCP settings configuration - key & secret #610

Closed victoriaSys closed 5 months ago

victoriaSys commented 6 months ago

Hello, I'm configuring my Google Cloud Platform (GCP) bucket and have created a key for the service account. However, I'm unsure about the values needed for the settings. Specifically, what should I use for the 'secret' and the 'key'?

From GCP, I only receive a key, but there doesn't appear to be a 'secret'. Could you clarify what values I need to enter? Moodle version: 3.9 tool_objectfs: MOODLE_33_STABLE Thank you.

image

phette23 commented 5 months ago

Did you create an HMAC key for your service account following Google's instructions? It sounds like you may have created one of Google's own SA keys but in order to use a GSB like AWS S3 you need to use an HMAC key instead. This should provide you with both an access key and a secret. There's more information on Google's pages about their AWS compatibility.

victoriaSys commented 5 months ago

Thank you very much. I have managed to create the key.