https://github.com/selfint/access-tokens
https://github.com/selfint/access-tokens
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/selfint/access-tokens
- Owner: selfint
- Created: 2022-10-14T10:25:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-14T12:06:24.000Z (over 3 years ago)
- Last Synced: 2025-02-14T08:49:13.684Z (over 1 year ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Access tokens
A very simple wrapper around [openssl](https://github.com/openssl/openssl) to manage access tokens on your local machine.
## Goal
Never save the unencrypted token value to disk.
## Install
1. Clone [this repo](https://github.com/selfint/access-tokens.git).
2. Make the access-tokens.sh file executable and add it to your PATH.
## Example
### Add token
```sh
$ ./access-tokens.sh add path/to/my/token/file
Created empty directory: path/to/my/token
Enter access token value: # type 'value'
enter aes-256-cbc encryption password: # type 'password'
Verifying - enter aes-256-cbc encryption password: # type 'password' again
```
### View token
```sh
$ ./access-tokens.sh view path/to/my/token/file
enter aes-256-cbc decryption password: # type 'password'
value
```