basic authentication bash code example Example: basic authentication bash $ echo -n user:password | base64