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

overwrite credentials file before removing #11

Merged
merged 1 commit into from
Aug 18, 2015
Merged

Conversation

extra808
Copy link
Contributor

from 'rm' man page: -P Overwrite regular files before deleting them. Files are overwritten three times, first with the byte pattern 0xff, then 0x00, and then 0xff again, before they are deleted.

@pda
Copy link
Owner

pda commented Aug 18, 2015

Sure, why not :)
It's BSD-specific; -P isn't in GNU rm, but Keychain / security is Mac OS anyway.

I actually only use aws-keychain exec <profile> <cmd …> now, so my credentials are never written to disk.

Beyond that, I'm gradually switching over to the work-in-progress https://github.com/99designs/aws-vault which never stores credentials to plaintext disk, and also uses short-lived AWS session tokens to avoid passing the master credentials into the environment of commands.

Edit: docs for exec: 67bfc8f

pda added a commit that referenced this pull request Aug 18, 2015
overwrite credentials file before removing
@pda pda merged commit 96e86b4 into pda:master Aug 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants