Setting Secrets Privately with read Instead of entering export GH_TOKEN=your_token, you can use read to set the variable without exposing it in your history: read -s GH_TOKEN && export GH_TOKEN