# JWT Token Generator
> Helper to generate a private key (jwt.salt) and a jwt token
![publish to docker](https://github.com/fonoster/jwthelper/workflows/publish%20to%20docker%20hub/badge.svg)
This docker image helps to quickly create a private key and JWT token.
## Available Versions
You can see all images available to pull from Docker Hub via the [Tags](https://hub.docker.com/repository/registry-1.docker.io/fonoster/jwthelper/tags?page=1) page. Docker tag names that begin with a "change type" word such as task, bug, or feature are available for testing and may be removed at any time.
## Installation
You can clone this repository and manually build it.
```
cd jwthelper
docker build -t fonoster/jwthelper:%%VERSION%% .
```
Otherwise you can pull this image from docker index.
```
docker pull fonoster/jwthelper:latest:%%VERSION%%
```
## Usage Example
The following is a minimal example of using this image.
```bash
sudo docker run -it \
-v $(pwd):/home/fonos/access \
-e PRINT_ACCESS_INFO=true \
fonoster/jwthelper
```
## Environment Variables
Run environment variables are used in the entry point script to render configuration templates. You can specify the values of these variables during `docker run`, `docker-compose up`, or in Kubernetes manifests in the `env` array.
- `ACCESS_KEY_ID` - Access Key Id embeded in JWT token. Defaults to `fonos`
- `ISS` - Issuer of the JWT. Defaults to `fonos`
- `PRINT_ACCESS_INFO` - If `true` the service will print the access configuration to the console. Defaults to `false`
## Volumes
- `/home/fonos/access` - Location of the generated certificates
## Contributing
Please read [CONTRIBUTING.md](https://github.com/fonoster/fonos/blob/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
## Authors
- [Pedro Sanders](https://github.com/psanders)
See also the list of contributors who [participated](https://github.com/fonoster/certshelper/contributors) in this project.
## License
Copyright (C) 2020 by Fonoster Inc. MIT License (see [LICENSE](https://github.com/fonoster/fonos/blob/master/LICENSE) for details).
没有合适的资源?快使用搜索试试~ 我知道了~
jwthelper:JWT令牌生成器
共5个文件
json:1个
js:1个
yml:1个
5星 · 超过95%的资源 需积分: 43 4 下载量 39 浏览量
2021-02-24
19:41:05
上传
评论
收藏 4KB ZIP 举报
温馨提示
JWT令牌生成器 生成私钥(jwt.salt)和jwt令牌的助手 该泊坞窗映像有助于快速创建私钥和JWT令牌。 可用版本 您可以通过“ 页面查看所有可从Docker Hub提取的图像。 以“更改类型”字词开头的Docker标记名称(例如任务,错误或功能)可用于测试,并且可以随时删除。 安装 您可以克隆此存储库并手动构建它。 cd jwthelper docker build -t fonoster/jwthelper:%%VERSION%% . 否则,您可以从泊坞窗索引中拉出该映像。 docker pull fonoster/jwthelper:latest:%%VERSION%% 使用范例 以下是使用此图像的最小示例。 sudo docker run -it \ -v $( pwd ) :/home/fonos/access \ -e PRINT_ACCESS_INFO=
资源推荐
资源详情
资源评论
收起资源包目录
jwthelper-master.zip (5个子文件)
jwthelper-master
.github
workflows
gh-docker.yml 846B
jwthelper.js 867B
Dockerfile 129B
README.md 2KB
package.json 685B
共 5 条
- 1
DeepIndaba
- 粉丝: 26
- 资源: 4658
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页