dotenvx get KEY --mask

Return a masked environment variable value.

By default, up to the first six characters are visible.

$ echo "SECRET=abcdefghijkl" > .env

$ dotenvx get SECRET --mask
abcdef******

Pass a number to control how many characters are visible.

$ dotenvx get SECRET --mask 0
************