Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I keep usernames and passwords secret in Curl command lines?

0
Posted

How do I keep usernames and passwords secret in Curl command lines?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123