docs/en/integrations/alloydb-admin/source.md
The alloydb-admin source provides a client to interact with the Google
AlloyDB API. This allows
tools to perform administrative tasks on AlloyDB resources, such as managing
clusters, instances, and users.
Authentication can be handled in two ways:
useClientOAuth is set to true, the source will
expect an OAuth 2.0 access token to be provided by the client (e.g., a web
browser) for each request.{{< list-tools >}}
kind: source
name: my-alloydb-admin
type: alloydb-admin
---
kind: source
name: my-oauth-alloydb-admin
type: alloydb-admin
useClientOAuth: true
| field | type | required | description |
|---|---|---|---|
| type | string | true | Must be "alloydb-admin". |
| defaultProject | string | false | The Google Cloud project ID to use for AlloyDB infrastructure tools. |
| useClientOAuth | boolean | false | If true, the source will use client-side OAuth for authorization. Otherwise, it will use Application Default Credentials. Defaults to false. |