Merge pull request #3981 from backstage/orkohunter/improve-gcs-credentials-handling

This commit is contained in:
Himanshu Mishra
2021-01-11 21:12:55 +01:00
committed by GitHub
9 changed files with 103 additions and 93 deletions
+9 -13
View File
@@ -123,23 +123,19 @@ export interface Config {
*/
googleGcs?: {
/**
* API key used to write to a storage bucket.
* attr: 'credentials' - accepts a string value
* @visibility secret
*/
credentials: string;
/**
* GCP Project ID where the Cloud Storage Bucket is hosted.
* attr: 'projectId' - accepts a string value
* @visibility secret
*/
projectId: string;
/**
* Cloud Storage Bucket Name
* (Required) Cloud Storage Bucket Name
* attr: 'bucketName' - accepts a string value
* @visibility secret
*/
bucketName: string;
/**
* (Optional) API key used to write to a storage bucket.
* If not set, environment variables will be used to authenticate.
* Read more: https://cloud.google.com/docs/authentication/production
* attr: 'credentials' - accepts a string value
* @visibility secret
*/
credentials?: string;
};
};
};