2022-03-09 03:41:06 +01:00
FabFire Provisioning Tool
===
2022-03-13 19:19:41 +01:00
Tool for provisioning new cards for use with the FabAccess card system.
Using the cards requires a configured instance of the [fabfire adapter ](https://gitlab.com/fabinfra/fabaccess/fabfire_adapter ).
2022-03-09 03:41:06 +01:00
# Usage
## Provisioning
2022-04-18 19:43:14 +00:00
1. Run the following command while replaceing `--space` , `--instance` and `--contact` with your own values and setting `--token` to the users username:
```shell
cargo run -- --space "innovisionlab" --instance fabaccess.innovisionlab.de --contact https://innovisionlab.de/lostandfound --token "Testuser"
```
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
2022-03-09 03:41:06 +01:00
## Formating Card
```shell
cargo run -- --format
```
2022-04-18 19:43:14 +00:00
Formats the card, deleting all files and keys.