Skip to content

Use ansible-vault for sensitive data #435

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

Open
Tracked by #1631
php-coder opened this issue Aug 11, 2016 · 2 comments
Open
Tracked by #1631

Use ansible-vault for sensitive data #435

php-coder opened this issue Aug 11, 2016 · 2 comments

Comments

@php-coder
Copy link
Owner

We can use ansible-vault for a sensitive data like database and mailing passwords. Also for an uptimerobot api key during deployment.

@php-coder
Copy link
Owner Author

@php-coder php-coder self-assigned this Jul 20, 2023
@php-coder php-coder modified the milestones: next, 0.4.7 Jul 20, 2023
php-coder added a commit that referenced this issue Jul 21, 2023
php-coder added a commit that referenced this issue Jul 21, 2023
@php-coder
Copy link
Owner Author

php-coder commented Jul 21, 2023

For history, here is how I encrypted an SSH key:

$ cd src/main/scripts/ci/ansible
$ rm mystamps_rsa.enc
$ cp ~/.ssh/mystamps_mystamps_rsa .
$ ansible-vault encrypt mystamps_mystamps_rsa --output mystamps_rsa.enc
New Vault password:
Confirm New Vault password:
Encryption successful

@php-coder php-coder modified the milestones: 0.4.7, 0.4.8 Jul 27, 2023
@php-coder php-coder modified the milestones: 0.4.8, 0.4.9 Dec 29, 2023
@php-coder php-coder modified the milestones: 0.4.9, next Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant