ODBC Driver for Google Cloud Storage

Build 20.0.7746

OAuth 認証の使用

Use the OAuth authentication standard to connect to Google Cloud Storage. You can authenticate with a user account or a service account. The 本製品 facilitates this as described below.

Using a User Account to Authenticate to Google Cloud Storage

The user account flow requires the authenticating user to interact with Google Cloud Storage via the browser.

Embedded Credentials

Desktop Applications

See 埋め込みクレデンシャル to connect with the 本製品's embedded credentials and skip creating a custom OAuth app.

Headless Machines

See ヘッドレスマシン to skip creating a custom OAuth app and authenticate an application running on a headless server or another machine where the 本製品 is not authorized to open a browser.

Custom Credentials

Instead of connecting with the 本製品's embedded credentials, you can register an app to obtain the OAuthClientId and OAuthClientSecret.

When to Create a Custom OAuth App

Desktop Applications

Creating a custom OAuth app is optional as the 本製品 is already registered with Google Cloud Storage and you can connect with its embedded credentials. You might want to create a custom OAuth app to change the information displayed when users log into the Google Cloud Storage OAuth endpoint to grant permissions to the 本製品.

Headless Machines

Creating a custom OAuth app is optional to authenticate a headless machine; the 本製品 is already registered with Google Cloud Storage and you can connect with its embedded credentials. In the headless OAuth flow, users need to authenticate via a browser on another machine. You might want to create a custom OAuth app to change the information displayed when users log into the Google Cloud Storage OAuth endpoint to grant permissions to the 本製品.

Using a Service Account to Connect to Google Cloud Storage

Service accounts have silent authentication, without user authentication in the browser. You can also use a service account to delegate enterprise-wide access scopes to the 本製品.

You need to create an OAuth application in this flow. You can then connect to Google Cloud Storage data that the service account has permission to access. See カスタムクレデンシャル for an authentication guide.

Creating a Custom OAuth App

See カスタムOAuth アプリの作成 for a procedure.

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 20.0.7746