Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

umatare5/bakenize

Repository files navigation

bakenize

MIT License

A simple CLI to generate a token for the Authorization header from a username and password.

"bakenize" is short for "basic-auth-tokenizer".

Installation

docker run ghcr.io/umatare5/bakenize

or use the binary that can be downloaded from release page.

Usage

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

Supported Environment Variables

The application supports the following environment variables:

Name Description
B_USERNAME The alias of --username
B_PASSWORD The alias of --password

Release

Set and push a tag.

git tag vX.Y.Z && git push --tags

Run the release workflow.

Contribution

  1. Fork (https://github.com/umatare5/bakenize/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Create a new Pull Request

Author

umatare5

About

CLI to generate a token for the Authorization Header from a username and password

Topics

Resources

License

Stars

Watchers

Forks

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /