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

template_file stores sensitive information in cleartext #3348

Closed
arohner opened this issue Sep 28, 2015 · 4 comments
Closed

template_file stores sensitive information in cleartext #3348

arohner opened this issue Sep 28, 2015 · 4 comments

Comments

@arohner
Copy link

arohner commented Sep 28, 2015

When using a template_file, the contents of the variables are stored in .tfstate. This is a problem when the template contains sensitive information, such as passwords and API keys, because terraform encourages checking in the .tfstate to source control, and source control is not a good place to store credentials.

@stack72
Copy link
Contributor

stack72 commented Sep 28, 2015

Related #516

@little-arhat
Copy link

related #1421

@phinze
Copy link
Contributor

phinze commented Oct 12, 2015

Thanks for the report, @arohner - closing this to keep things consolidated in #516 since this is a problem for any sensitive state values.

@phinze phinze closed this as completed Oct 12, 2015
@ghost
Copy link

ghost commented Apr 30, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants