Skip to content

Instantly share code, notes, and snippets.

@deekoder
Last active June 24, 2017 00:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deekoder/cb1cce0797e58d627eb3967deed5b630 to your computer and use it in GitHub Desktop.
Save deekoder/cb1cce0797e58d627eb3967deed5b630 to your computer and use it in GitHub Desktop.
 gcloud init
  • If you are reauthenticating use this command instead
gcloud beta auth application-default login
  • Perform the authentication using your minio.io email address (the CLI will launch a broswer window or show you a link)

  • Go to cloud.google.com (login using the minio.io address)

  • Select Organization : Minio (located on the top bar)

  • You should see the following screenshots :

  • Click on settings to see projectid (projectid is how you access the buckets/objects programatically). There is no accesskey secret key as we see in s3 compatible object stores.

  • GCS seems to have an interoperability mode. We have not turned this on for now. We do have to test this also later perhaps. Aparently there is some s3 compatibililty with gcs when this mode is turned on but not sure yet to what extent its available.

  • An eg of how to start minio in gateway mode

MINIO_ACCESS_KEY=minio MINIO_SECRET_KEY=minio123 minio gateway gcs  peak-essence-171622
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment