-
Notifications
You must be signed in to change notification settings - Fork 0
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
delete ssh-private-key from yaml after processing #58
Comments
alternative the key reading can be changed such that the key is not stored in the yaml file but as a file on the external location where the yaml file itself resides. The yaml file would then only contain a reference to that location. |
So this is basically a question for @jeffaco
I would prefer 1. |
If I'm already creating a LUN with the YAML (or a DVD with the YAML), then it seems easy enough do provide the key as an extra file. It shouldn't be any harder for me, and it eliminates the cleanup issue for you (copy the YAML, don't otherwise worry about it). So my vote would be for 1 as well. |
👍 great I'll change the code to reflect this. Thanks |
Instead of specifying a base64 encoded private ssh key string as part of the key element in the config file, we now just read a file path reference which is expected to exist on the storage location from where the config file was read. The referenced file is copied as the ssh private key of the configured user. This sets the config file free from any secret data and Fixes #58
Once processed the ssh-private-key should be deleted from the yaml file. This imho can be done as part of the cleanup service
The text was updated successfully, but these errors were encountered: