How do I keep usernames and passwords secret in Curl command lines?
248 249 I see this problem as two parts: 250 251 The first part is to avoid having clear-text passwords in the command line 252 so that they don’t appear in ‘ps’ outputs and similar. That is easily 253 graydon 1.1 avoided by using the “-K” option tho tell curl to read parameters from a 254 file or stdin to which you can pass the secret info. 255 256 To keep the passwords in your account secret from the rest of the world is 257 not a task that curl addresses. You could of course encrypt them somehow to 258 at least hide them from being read by human eyes, but that is not what 259 anyone would call security. 260 261 262 4.