You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. User credentials set up by using the Google Cloud CLI
54
+
3. The attached service account, returned by the metadata server
55
+
56
+
When your code is running in a local development environment, such as a development workstation, the best option is to use the credentials associated with your user
57
+
account.
58
+
59
+
### Configure ADC with your Google Account
60
+
To configure ADC with a Google Account, you use the Google Cloud CLI:
61
+
62
+
1. Install and initialize the gcloud CLI.
63
+
64
+
When you initialize the gcloud CLI, be sure to specify a Google Cloud project in which you have permission to access the resources your application needs.
65
+
66
+
2. Configure ADC:
67
+
```
68
+
gcloud auth application-default login
69
+
```
70
+
A sign-in screen appears. After you sign in, your credentials are stored in the local credential file used by ADC.
71
+
47
72
## GCP Object Storage Config Provider
48
73
The Oracle DataSource uses a new prefix `jdbc:oracle:thin:@config-gcp-object:` to be able to identify that the configuration parameters should be loaded using GCP Object Storage. Users only need to indicate the project, bucket and object containing the JSON payload, with the following syntax:
2. User credentials set up by using the Google Cloud CLI
205
-
3. The attached service account, returned by the metadata server
206
-
207
-
When your code is running in a local development environment, such as a development workstation, the best option is to use the credentials associated with your user
208
-
account.
209
-
210
-
### Configure ADC with your Google Account
211
-
To configure ADC with a Google Account, you use the Google Cloud CLI:
212
-
213
-
1. Install and initialize the gcloud CLI.
214
-
215
-
When you initialize the gcloud CLI, be sure to specify a Google Cloud project in which you have permission to access the resources your application needs.
216
-
217
-
2. Configure ADC:
218
-
```
219
-
gcloud auth application-default login
220
-
```
221
-
A sign-in screen appears. After you sign in, your credentials are stored in the local credential file used by ADC.
0 commit comments