Manage Google service account credentials in Aiven for AlloyDB Omni
Store and manage Google service account credentials in Aiven for AlloyDB Omni to use them for AI integration purposes.
Add, update, or delete your Google service account credentials in Aiven for AlloyDB Omni using either the Aiven Console or the Aiven CLI client.
Prerequisites
- Aiven for AlloyDB Omni service running
- Service account created with Google Cloud
- Google service account key created and downloaded
- Access to one of the following tools:
Manage Google credentials in Aiven
Add a key
- Console
- CLI
- API
- Go to the Aiven Console and your Aiven for AlloyDB Omni service.
- Go to Generative AI > Goolge service account key.
- Click Upload file > Choose file, select the JSON file including your Google service account key, and click Upload.
Run:
avn service alloydbomni google-cloud-private-key set --service SERVICE_NAME --private-key-file PRIVATE_KEY_FILE
where:
SERVICE_NAME
is the name of your servicePRIVATE_KEY_FILE
is the path to your key file
Make a request to the AlloyDbOmniGoogleCloudPrivateKeySet endpoint.
Update a key
- Console
- CLI
- API
- Go to the Aiven Console and your Aiven for AlloyDB Omni service.
- Go to Generative AI > Goolge service account key.
- Click Actions > Replace file > Choose file, select the JSON file including your new Google service account key, and click Upload.
Run:
avn service alloydbomni google-cloud-private-key set --service SERVICE_NAME --private-key-file PRIVATE_KEY_FILE
where:
SERVICE_NAME
is the name of your servicePRIVATE_KEY_FILE
is the path to your new key file
Make a request to the AlloyDbOmniGoogleCloudPrivateKeySet endpoint.
Delete a key
- Console
- CLI
- API
- Go to the Aiven Console and your Aiven for AlloyDB Omni service.
- Go to Generative AI > Goolge service account key.
- Click Actions > Delete file > Delete.
Run:
avn service alloydbomni google-cloud-private-key delete --service SERVICE_NAME
Make a request to the AlloyDbOmniGoogleCloudPrivateKeyRemove endpoint.
Get key details
Display the key ID and the client email associated with your key.
- Console
- CLI
- API
- Go to the Aiven Console and your Aiven for AlloyDB Omni service.
- Go to Generative AI > Google service account key.
Run:
avn service alloydbomni google-cloud-private-key show --service SERVICE_NAME
Make a request to the AlloyDbOmniGoogleCloudPrivateKeyIdentify endpoint.