simonw/datasette-auth-passwords

Design the plugin configuration

Closed this issue · 1 comments

The first release will just handle hard-coded accounts - its configuration can look like this:

{
    "plugins": {
        "datasette-auth-passwords": {
            "accounts": {
                "my_username": {
                    "password_hash": {
                        "$env": "ROOT_PASSWORD_HASH"
                    },
                    "actor": {
                        "id": "root"
                    }
                }
            }
        }
    }
}