0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

OAuthのアクセストークンを用いてGoogle Cloud Storageのバケット一覧をターミナルから取得してみる

Posted at

概要

下記の記事の内容を実施して取得したOAuthのアクセストークンを用いてGoogle CloudのCloud Storageのバケット一覧を取得する方法を簡単にまとめる。

方法

下記をターミナルで実行

curl -X GET -H "Authorization: Bearer アクセストークン" "https://www.googleapis.com/storage/v1/b?project=プロジェクトID"

プロジェクトIDはGoogle Cloudのコンソール画面から確認できる。

CleanShot 2025-06-04 at 15.58.14@2x.jpg
CleanShot 2025-06-04 at 15.58.43@2x.jpg

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?