-
Notifications
You must be signed in to change notification settings - Fork 57
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
How to use inline credentials instead of .ftppass #111
Comments
The idea is to have a way to store them in a file that you can exclude from version control or provide them as parameters when you are executing the task. The file doesn't go through any tempting so ... no, you cannot use it as in the example. |
I understand it has to be in a separate file for exclusion purposes but in my case I have a global credentials file that includes other passwords like SMTP and I just don't want to .ftppass sitting there alone only for ftp configuration. So instead of .ftppass I was using a global file that has all of the passwords called .creds. but this is not working for ftp-deploy.
|
May be use a more global name for the .ftppass file like .credentials or .pass? That way I could put my other passwords as well and I don't have to have separate passwords for each plugin. |
@TanKucukhas have a look at the way it is implemented in jmBoilerplate. The .ftppass file will be generated by arguments from the console. |
@julmot's approach is one way to go. Also the task has the ability to accept parameters from cli as well. |
Documentation says
Usernames and passwords can be stored in an optional JSON file (.ftppass in the project folder or optionaly defined inauthPath).
But does not mention anything about to be able to use inline credentials, is there a way I could do that?
This does not seems to work still asks password on the console
The text was updated successfully, but these errors were encountered: