Skip to content

Commit

Permalink
Update GCP auth readme (#470)
Browse files Browse the repository at this point in the history
## Changes
<!-- Summary of your changes that are easy to understand -->
- The azure doc link was misplaced. Moving it up under the azure auth
section

## Tests
<!-- 
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->

- [ ] `make test` run locally
- [ ] `make fmt` applied
- [ ] relevant integration tests applied
  • Loading branch information
edwardfeng-db authored Dec 6, 2023
1 parent 6a87baf commit 5955333
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ w = WorkspaceClient(host=input('Databricks Workspace URL: '),
azure_client_secret=input('AAD Client Secret: '))
```

Please see more examples in [this document](./docs/azure-ad.md).

### Google Cloud Platform native authentication

By default, the Databricks SDK for Python first tries GCP credentials authentication (`auth_type='google-credentials'`, argument). If the SDK is unsuccessful, it then tries Google Cloud Platform (GCP) ID authentication (`auth_type='google-id'`, argument).
Expand All @@ -199,8 +201,6 @@ w = WorkspaceClient(host=input('Databricks Workspace URL: '),

```

Please see more examples in [this document](./docs/azure-ad.md).

### Overriding `.databrickscfg`

For [Databricks native authentication](#databricks-native-authentication), you can override the default behavior for using `.databrickscfg` as follows:
Expand Down

0 comments on commit 5955333

Please sign in to comment.