-
Notifications
You must be signed in to change notification settings - Fork 197
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
Store password in a separate file outside of the ini file. #227
Conversation
Fixed some DocBlocks. |
@Schnoop this is a great feature indeed, thank you for taking the time to implement it. However, it's a but unintuitive and hard to remember. Can you please re-implement this to make use of an argument instead. For example:
I find this solution much more clean and easy. Let me know. |
I see your point. But in my/our case, we have a team of 5 developers that are working on a project. Not every developer has the permission to deploy to the servers. Nevertheless we would like to share the phploy.ini file to all developers via git, so that modification is possible even by those who will not execute the deployment. To fit our requirement, we have to remove the password from the ini file. The problem with an argument is, that i have to remember or copy the password from wherever. This is complicated and i don't want to do this all the time over and over again. Another problem is, that the password will be stored in the bash history, so it's not really save. If the deployment process is running, everybody could grab those infos via "ps -faux". |
I see your point and it makes total sense. And I'd love to accommodate your contribution, but I don't find it clean enough. What do you think of just a |
Yes, i thought about that,but how to handle multiple passwords, for different servers, in one file? Maybe choose ini as file format? That would be possible, but a bit overhead. —You are receiving this because you were mentioned.Reply to this email directly or view it on GitHub |
Yes, I was thinking of making the [staging]
password="pass-goes-here"
[production]
password="pass-goes-here" This might require a bit of more effort to implement, but it's worth it for the user experience. What do you think? |
Allright. Let's do this. I'm out of office for the rest of the day. I'll have a look in the evening or at latest tomorrow. |
Awesome! Take your time, np.
|
Pull from master when you restart, I made a small update. |
Ready, set, go! :) |
@Schnoop looks pretty good, thanks a lot. Two things: Does it work if we remove Why have you used an
It could just be this:
|
I've removed the file suffix. Worked. |
All seems perfect. Thank you for this contribution. 👍 |
Store the password outside of the phploy.ini file.
Great feature if you would like to share your phploy.ini file.
It is also usefull for security reasons.