Skip to content

How to deal with sensitive data #8

@rogeriochaves

Description

@rogeriochaves

Does kickstart have a recommendation or helpers for dealing with sensitive data? If not, should it?

I suggest to use gpg, like this:

gpg --symmetric --cipher-algo aes256 id_rsa

And then decrypt it like this:

gpg --decrypt --passphrase "$KICKSTART_DECRYPT_KEY" files/.ssh/id_rsa.gpg

Where KICKSTART_DECRYPT_KEY could be in the environment or read from the user at runtime

cough much easier than chef knife data bag shenanigans cough

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions