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

Support of external credential file for Outscale builder #7

Open
ghost opened this issue Apr 20, 2021 · 1 comment
Open

Support of external credential file for Outscale builder #7

ghost opened this issue Apr 20, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 20, 2021

This issue was originally opened by @skelkey as hashicorp/packer#10053. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.


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

It will be a nice feature to add the support of external file for credentials. Actually the builder support :

  • Static credentials
  • Environment variables

The documentation (https://www.packer.io/docs/builders/outscale#authentication) mention the support of Shared credential file, but I haven't found documentation or support of this feature. It will improve the security in usage of credentials. (cc @hakujou )

Use Case(s)

  • Reducing the risks to commit credentials in the JSON
  • Reducing the risks to type secret in a terminal by settings environment variable

Potential configuration

Something like :

"credentials_file" = "<path>"
"credentials_profile = "<profile>"

content of the file :

[<profile>]
access_key=...
secret_key=..

Potential References

https://www.packer.io/docs/builders/amazon/ebssurrogate#shared_credentials_file

@outscale-mdr
Copy link
Contributor

Will be closed with #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant