Scripte

1. Rolle

1.1. anlegen

./src/scripts/roles.php create --name=<role-name>

1.2. löschen

./src/scripts/roles.php delete --name=<role-name>

2. User

2.1. anlegen

./src/scripts/users.php create --name=<name> --password=<secret-password> --email=<email> --role=<role-name>

2.2. löschen

./src/scripts/users.php delete --name=<name>

3. ApiKey

3.1. erstellen

./src/scripts/api_keys.php create --username=<username> --name=<name> --expiration-date=2030-12-31 --allowed-referers=<allowed-referer-1> --allowed-referers=<allowed-referer-2>

3.2. löschen

./src/scripts/api_keys.php delete --api-key=<api-key>

4. Zugriffstyp

4.1. anlegen

./src/scripts/access_types.php create --name=<name>