Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow use of content of the service account key file in the environment variable YC_SERVICE_ACCOUNT_KEY_FILE #39

Closed
2fa opened this issue Apr 5, 2022 · 0 comments · Fixed by #82

Comments

@2fa
Copy link

2fa commented Apr 5, 2022

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description

Allow use of content of the service account key file in the environment variable YC_SERVICE_ACCOUNT_KEY_FILE in addition to the path to file, similar to what Terraform provider do.

Use Case(s)

Within pipeline stage you can export variable with a content of the key and not create unnecessary file which is a security concern.

Potential References

Similar configuration option in Terraform provider: https://registry.terraform.io/providers/yandex-cloud/yandex/latest/docs#service_account_key_file

@2fa 2fa added the enhancement label Apr 5, 2022
nywilken added a commit that referenced this issue Oct 27, 2023
…t variable `YC_SERVICE_ACCOUNT_KEY_FILE` (#82)

* Set up-to-date Ubuntu version

* Support SA Key file content JSON format in `YC_SERVICE_ACCOUNT_KEY_FILE`

Closes #39

* Update generated docs

---------

Co-authored-by: Wilken Rivera <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant