This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
Turn on suggestions Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
- Google Cloud
- Cloud Forums
- Google Cloud's operations suite
- Google cloud storage authentication
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Google cloud storage authentication
Posted on12-17-2023 08:25 PM
New Member
Post Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reply posted on--/--/---- --:-- AM
Post Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can I include multiple regions’ credentials as separate region specific profiles in one credential file? And read region specific credential from this file when connecting to a specific region?
11636
1 REPLY 1
Posted on--/--/---- --:-- AM
Silver 4
Post Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reply posted on--/--/---- --:-- AM
Post Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day@islander!
Welcome to the Google Cloud Community!
Google Cloud Storage authentication doesn't support reading region specific credentials from a file. However, there are a number of ways to authenticate GCS through the official documentation:
- OAuth 2.0 -uses scopes to determine if an authenticated identity is authorized
- Command Line Interface Authentication - you authenticate through the command line using gcloud or gsutil commands. Run the command gcloud auth login and logging in to your user account
- Client Library Authentication -Client libraries can use Application Default Credentials to easily authenticate with Google APIs and send requests to those APIs
- API Authentication -To make requests using OAuth 2.0 to either the Cloud Storage XML API or JSON API, include your application's access token in the Authorization header in every request that requires authentication. You can generate an access token from the OAuth 2.0 Playground
- User account credentials -Use user account credentials for authentication when your application requires access to data on a user's behalf.
If the above options don't work, you can contact Google Cloud Support to further look into your case. Let me know if it helped, thanks!
Top Labels in this Space