init
This commit is contained in:
12
README.md
12
README.md
@@ -26,6 +26,18 @@ openssl rand -base64 32 | tr -dc 'a-zA-Z0-9' | head -c 32 && echo
|
||||
docker run --rm -it ghcr.io/steveiliop56/tinyauth:v3 user create --username admin --password pa4803w0rd | sed 's/\$/\$\$/g'
|
||||
```
|
||||
|
||||
+ TOTP
|
||||
|
||||
```bash
|
||||
docker run --rm -it ghcr.io/steveiliop56/tinyauth:v3 totp generate -i
|
||||
```
|
||||
|
||||
or non-interactive
|
||||
|
||||
```bash
|
||||
docker run --rm -it ghcr.io/steveiliop56/tinyauth:v3 totp generate --user 'user=admin:$2a$10$arlbhE48xDt58L3a5aZc6.j4tGWrandXjwCPBUh8RzJI6ZeuA6Psy' | sed 's/\$/\$\$/g'
|
||||
```
|
||||
|
||||
### Автор
|
||||
|
||||
[Yegorov Vassiliy](https://realmanual.ru)
|
||||
|
Reference in New Issue
Block a user