Himanshu Mishra
fda570687e
Update plugins/techdocs/config.d.ts
...
Co-authored-by: Emma Indal <emmai@spotify.com >
2021-01-12 14:43:52 +01:00
Himanshu Mishra
16b73697a3
TechDocs/AWS: Enable authentication using env variables and ~/.aws/config shared file
...
If authentication secrets are provided in app-config.yaml, it will be used. If not, environment variables AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_REGION will be used. If not present, ~/.aws/config will be used to read the configs.
https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/loading-node-credentials-environment.html
https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/loading-node-credentials-shared.html
https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-region.html
2021-01-12 11:41:00 +01:00
Himanshu Mishra
bcc27a495d
TechDocs: doc improvements
...
Co-authored-by: Emma Indal <emmai@spotify.com >
2021-01-11 14:04:17 +01:00
Himanshu Mishra
e7954559ab
TechDocs/GCS: Remove projectId since it is not needed
...
I initially thought the GCS Nodejs client would make use of it, since it asked for it in the contructor. However, we may not need them at all. Buckets are gloablly unique anyway.
2021-01-09 16:29:42 +01:00
Himanshu Mishra
1ef5d0f13c
TechDocs/GCS: Enable authentication using environemnt variables
...
GOOGLE_APPLICATION_CREDENTIALS is the environment variable used by the client. Compute Engine, Google Kubernetes Engine, App Engine, Cloud Run, and Cloud Functions automatically provide a default service account and set this env variable.
https://cloud.google.com/docs/authentication/production
2021-01-09 16:07:39 +01:00
Remi
3418938a64
feat(techdocs): update config schema
2020-12-30 10:25:58 +01:00
keshan
851dde45f7
updated the missed attr change
2020-12-21 16:31:01 +05:30
keshan
e53d4a2ca8
updated based on the feedbacks provided
2020-12-21 16:26:58 +05:30
keshan
359f9d2d8c
Introduced config schema for techdocs plugins
2020-12-21 16:26:57 +05:30