19 lines
748 B
Markdown
Raw Normal View History

2022-03-09 03:41:06 +01:00
FabFire Provisioning Tool
===
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
```shell
cargo run -- --space "innovisionlab" --instance fabaccess.innovisionlab.de --contact https://innovisionlab.de/lostandfound --token "Testuser"
2022-03-09 03:41:06 +01:00
```
1. Replace `--space`, `--instance` and `--contact` with your own values.
2. Set `--token` to the users username.
2022-03-09 03:41:06 +01:00
You can supply your own keys and Application ID with the appropriate cmdline arguments, view `--help` for more information.
## Formating Card
```shell
cargo run -- --format
```
Formats the card, deleting all files and keys.