yandex-cloud/serverless-plugin

Read credentials from env

vitalets opened this issue · 0 comments

Currently plugin reads credentials only from ~/.config/yandex-cloud/config.yaml.
And throws error if file does not exist.
It's not convenient when using plugin inside docker or without installed yc cli.
It would be great if plugin also read credentials from env vars, e.g. YC_OAUTH_TOKEN, etc.