If I use basic-auth the curl binary hides the credentials passed on the command line from being seen using ps -1
Whats the best way of protecting bearer tokens in the same way?
AFAIK the only way of setting a bearer token is to use the generic -H flag

The only way I can see is to set the token via an options file (it would have to be a physical file as I'm streaming data via stdin)

                        Stephen

--
======================================================================
|epcc| Dr Stephen P Booth             Principal Architect       |epcc|
|epcc| [email protected]          Phone 0131 650 5746       |epcc|
======================================================================
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
--
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to