An open API service indexing awesome lists of open source software.

https://github.com/selfint/access-tokens


https://github.com/selfint/access-tokens

Last synced: 9 months ago
JSON representation

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
```