Update README.md

This commit is contained in:
Kai Kriegel 2022-04-18 19:43:14 +00:00
parent 04d5578e8e
commit 1407114e4a

View File

@ -5,13 +5,14 @@ Using the cards requires a configured instance of the [fabfire adapter](https://
# Usage # Usage
## Provisioning ## Provisioning
1. Run the following command while replaceing `--space`, `--instance` and `--contact` with your own values and setting `--token` to the users username:
```shell ```shell
cargo run -- --space "innovisionlab" --instance fabaccess.innovisionlab.de --contact https://innovisionlab.de/lostandfound --token "Testuser" cargo run -- --space "innovisionlab" --instance fabaccess.innovisionlab.de --contact https://innovisionlab.de/lostandfound --token "Testuser"
``` ```
1. Replace `--space`, `--instance` and `--contact` with your own values.
2. Set `--token` to the users username.
You can supply your own keys and Application ID with the appropriate cmdline arguments, view `--help` for more information. You can supply your own keys and Application ID with the appropriate cmdline arguments, view `--help` for more information.
3. Add the provided `cardkey` from the output to the users entry in users.toml
## Formating Card ## Formating Card
```shell ```shell
cargo run -- --format cargo run -- --format