cloud-foundation-fabric/blueprints/gke/binauthz/image
Simone Ruffilli 6d89b88149
versions.tf maintenance + copyright notice bump (#1782)
* Bump copyright notice to 2023

* Delete versions.tf on blueprints

* Pin provider to major version 5

* Remove comment

* Fix lint

* fix bq-ml blueprint readme

---------

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
Co-authored-by: Julio Castillo <jccb@google.com>
2023-10-20 18:17:47 +02:00
..
.dockerignore Move binautz to gke folder 2022-09-12 10:21:56 +02:00
.gitignore Move binautz to gke folder 2022-09-12 10:21:56 +02:00
Dockerfile Move binautz to gke folder 2022-09-12 10:21:56 +02:00
README.md Move binautz to gke folder 2022-09-12 10:21:56 +02:00
cloudbuild.yaml versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
index.js Move binautz to gke folder 2022-09-12 10:21:56 +02:00
package-lock.json Bump semver and @google-cloud/storage in /blueprints/gke/binauthz/image (#1469) 2023-06-26 15:03:47 +02:00
package.json Bump semver and @google-cloud/storage in /blueprints/gke/binauthz/image (#1469) 2023-06-26 15:03:47 +02:00

README.md

Storage API

This application it is a RESTful API that let's you manage the Google Cloud Storage buckets available is a project. In order to do so the application needs to authenticate with a service account that has been granted the Storage Admin (roles/storage.admin) role.

Find below the operations that can be performed using it:

  • Get buckets in project

      curl -v http://localhost:3000/buckets
    
  • Get files in bucket

      curl -v http://localhost:3000/buckets/BUCKET_NAME
    
  • Create a bucket

      curl -v http://localhost:3000/buckets \
      -H'Content-Type: application/json' \
      -d  @- <<EOF
      {
          "name": "BUCKET_NAME"
      }
      EOF
    
  • Delete bucket

      curl -v -X DELETE http://localhost:3000/buckets/BUCKET_NAME