| Crates.io | crustpass |
| lib.rs | crustpass |
| version | 0.0.1 |
| created_at | 2025-02-19 23:04:30.531182+00 |
| updated_at | 2025-02-19 23:04:30.531182+00 |
| description | Manage seed data for my home lab. |
| homepage | https://github.com/arpanrec/crustpass/blob/main/README.md |
| repository | https://github.com/arpanrec/crustpass.git |
| max_upload_size | |
| id | 1561984 |
| size | 352,446 |
Manage seed data for my home lab.
CRUSTPASS_CONFIGURATION_FILE - Path to the settings file. Default: /etc/crustpass/configuration.json
CRUSTPASS_CONFIGURATION_JSON - JSON string of settings. Default: null
Priorities: CRUSTPASS_CONFIGURATION_FILE > CRUSTPASS_CONFIGURATION_JSON
{
"server" : "See Server",
"physical": "See Physical",
"authentication": "See Authentication"
}
RUST_LOG=crustpass=debug - Enable debug logging.
Server Settings. tls is optional.
{
"socket_addr": "Listen address for the server, Example: `127.0.0.1:8080`",
"tls": {
"cert": "PEM encoded certificate",
"key": "PEM encoded private key"
}
}
Persistence layer for the seed data.
{
"physical_type": "Type of physical storage",
"physical_details": "Details for the physical storage"
}
libsql
{
"db_url": "Database connection string",
"auth_token": "Authentication token for the database",
"table_name": "Table name for the seed data"
}
Authentication layer for the API.
{
"authentication_type": "Type of authentication",
"authentication_details": "Details for the authentication"
}
admin_api_key
{
"api_key": "Admin API key"
}