Manage Google service account credentials in Aiven for AlloyDB Omni Early availability
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
noteAiven for AlloyDB Omni is in the early availability stage.
-
Access to the Aiven Console
-
Aiven CLI client installed
Manage Google credentials in Aiven
Add a key
- Aiven Console
- Aiven CLI client
- 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
Update a key
- Aiven Console
- Aiven CLI client
- 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
Delete a key
- Aiven Console
- Aiven CLI client
- 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
Get key details
Display the key ID and the client email associated with your key.
- Aiven Console
- Aiven CLI client
- 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