Add a googleServiceAccountCredentials json config. Uses the credentials if present else fallback to default application credentials

Signed-off-by: Raghunandan Balachandran <raghunandan@spotify.com>
This commit is contained in:
Raghunandan Balachandran
2025-08-07 10:29:32 +02:00
parent 4ba9f986d2
commit 1bd09be1e4
3 changed files with 61 additions and 3 deletions
+7
View File
@@ -98,6 +98,13 @@ export interface Config {
plural: string;
}>;
/**
* (Optional) Google Service Account credentials for authentication
* JSON string containing the service account key
* @visibility secret
*/
googleServiceAccountCredentials?: string;
/**
* (Optional) API Version Overrides
* If set, the specified api version will be used to make requests for the corresponding object.