A simple CLI to generate a token for the Authorization header from a username and password.
"bakenize" is short for "basic-auth-tokenizer".
docker run ghcr.io/umatare5/bakenize
or use the binary that can be downloaded from release page.
It simply sets the username and password.
$ bakenize --username postman --password "$secret"
cG9zdG1hbjpwYXNzd29yZA==
Use a generated token:
curl -H "Authorization: Basic cG9zdG1hbjpwYXNzd29yZA==" https://postman-echo.com/basic-auth
The application supports the following environment variables:
Name | Description |
---|---|
B_USERNAME |
The alias of --username |
B_PASSWORD |
The alias of --password |
Set and push a tag.
git tag vX.Y.Z && git push --tags
Run the release workflow.
- Fork (https://github.com/umatare5/bakenize/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Create a new Pull Request