echo -n beep:boop | base64
YmVlcDpib29wNote: it's important to use
-notherwiseechowill add a line break and that can be a time consuming error to debug when you find your username/password isn't working ;-) if you do find you need to debug, then usecurlwith the-vflag and inspect the request headers being sent and make sure your base64 encoded username/password matches what curl generates for theAuthorizationheader when using the--userflag (see below curl examples)