Skip to content

umatare5/bakenize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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