Skip to content

FaaSTools/GoStorage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoStorage

Info

This project serves as a unified abstraction layer for cloud storage services and can be used within any Go programs to access the storage services from the following providers:

  • Google Cloud Storage

  • Amazon S3

Requirements

aws-credentials.yaml:

labRole: "<FUNCTION_USER_GROUP>"
aws_access_key_id: "<ACCESS_KEY_ID>"
aws_secret_access_key: "<SECRET_ACCESS_KEY>"
aws_session_token: "<SESSION_TOKEN>"

Info: When using this library in combination with the AWSAcademy course labRole will most likely be RoleUser.

gcp-credentials.yaml:

{
  "type": "service_account",
  "project_id": "<PROJECT_ID>",
  "private_key_id": "<PRIVATE_KEY_ID>",
  "private_key": "-----BEGIN PRIVATE KEY-----<PRIVATE_KEY>-----END PRIVATE KEY-----\n"
}

For more information how to retrieve the information needed for this file, see: Google Cloud

Project Structure

The structure for a project using GoStorage should look something like this.

.
├── aws-credentials.yaml
├── gcp-credentials.yaml
├── code
│   ├── ...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages