-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(commands): add webauthn device commands (#3671)
- Loading branch information
1 parent
52102ee
commit 24e41ae
Showing
12 changed files
with
575 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
docs/content/en/reference/cli/authelia/authelia_storage_user_webauthn.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
title: "authelia storage user webauthn" | ||
description: "Reference for the authelia storage user webauthn command." | ||
lead: "" | ||
date: 2022-06-15T17:51:47+10:00 | ||
draft: false | ||
images: [] | ||
menu: | ||
reference: | ||
parent: "cli-authelia" | ||
weight: 330 | ||
toc: true | ||
--- | ||
|
||
## authelia storage user webauthn | ||
|
||
Manage Webauthn devices | ||
|
||
### Synopsis | ||
|
||
Manage Webauthn devices. | ||
|
||
This subcommand allows interacting with Webauthn devices. | ||
|
||
### Examples | ||
|
||
``` | ||
authelia storage user webauthn --help | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for webauthn | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-c, --config strings configuration files to load (default [configuration.yml]) | ||
--encryption-key string the storage encryption key to use | ||
--mysql.database string the MySQL database name (default "authelia") | ||
--mysql.host string the MySQL hostname | ||
--mysql.password string the MySQL password | ||
--mysql.port int the MySQL port (default 3306) | ||
--mysql.username string the MySQL username (default "authelia") | ||
--postgres.database string the PostgreSQL database name (default "authelia") | ||
--postgres.host string the PostgreSQL hostname | ||
--postgres.password string the PostgreSQL password | ||
--postgres.port int the PostgreSQL port (default 5432) | ||
--postgres.schema string the PostgreSQL schema name (default "public") | ||
--postgres.ssl.certificate string the PostgreSQL ssl certificate file location | ||
--postgres.ssl.key string the PostgreSQL ssl key file location | ||
--postgres.ssl.mode string the PostgreSQL ssl mode (default "disable") | ||
--postgres.ssl.root_certificate string the PostgreSQL ssl root certificate file location | ||
--postgres.username string the PostgreSQL username (default "authelia") | ||
--sqlite.path string the SQLite database path | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [authelia storage user](authelia_storage_user.md) - Manages user settings | ||
* [authelia storage user webauthn delete](authelia_storage_user_webauthn_delete.md) - Delete a WebAuthn device | ||
* [authelia storage user webauthn list](authelia_storage_user_webauthn_list.md) - List WebAuthn devices | ||
|
78 changes: 78 additions & 0 deletions
78
docs/content/en/reference/cli/authelia/authelia_storage_user_webauthn_delete.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
--- | ||
title: "authelia storage user webauthn delete" | ||
description: "Reference for the authelia storage user webauthn delete command." | ||
lead: "" | ||
date: 2022-06-15T17:51:47+10:00 | ||
draft: false | ||
images: [] | ||
menu: | ||
reference: | ||
parent: "cli-authelia" | ||
weight: 330 | ||
toc: true | ||
--- | ||
|
||
## authelia storage user webauthn delete | ||
|
||
Delete a WebAuthn device | ||
|
||
### Synopsis | ||
|
||
Delete a WebAuthn device. | ||
|
||
This subcommand allows deleting a WebAuthn device directly from the database. | ||
|
||
``` | ||
authelia storage user webauthn delete [username] [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
authelia storage user webauthn delete john --all | ||
authelia storage user webauthn delete john --all --config config.yml | ||
authelia storage user webauthn delete john --all --encryption-key b3453fde-ecc2-4a1f-9422-2707ddbed495 --postgres.host postgres --postgres.password autheliapw | ||
authelia storage user webauthn delete john --description Primary | ||
authelia storage user webauthn delete john --description Primary --config config.yml | ||
authelia storage user webauthn delete john --description Primary --encryption-key b3453fde-ecc2-4a1f-9422-2707ddbed495 --postgres.host postgres --postgres.password autheliapw | ||
authelia storage user webauthn delete --kid abc123 | ||
authelia storage user webauthn delete --kid abc123 --config config.yml | ||
authelia storage user webauthn delete --kid abc123 --encryption-key b3453fde-ecc2-4a1f-9422-2707ddbed495 --postgres.host postgres --postgres.password autheliapw | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--all delete all of the users webauthn devices | ||
--description string delete a users webauthn device by description | ||
-h, --help help for delete | ||
--kid string delete a users webauthn device by key id | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-c, --config strings configuration files to load (default [configuration.yml]) | ||
--encryption-key string the storage encryption key to use | ||
--mysql.database string the MySQL database name (default "authelia") | ||
--mysql.host string the MySQL hostname | ||
--mysql.password string the MySQL password | ||
--mysql.port int the MySQL port (default 3306) | ||
--mysql.username string the MySQL username (default "authelia") | ||
--postgres.database string the PostgreSQL database name (default "authelia") | ||
--postgres.host string the PostgreSQL hostname | ||
--postgres.password string the PostgreSQL password | ||
--postgres.port int the PostgreSQL port (default 5432) | ||
--postgres.schema string the PostgreSQL schema name (default "public") | ||
--postgres.ssl.certificate string the PostgreSQL ssl certificate file location | ||
--postgres.ssl.key string the PostgreSQL ssl key file location | ||
--postgres.ssl.mode string the PostgreSQL ssl mode (default "disable") | ||
--postgres.ssl.root_certificate string the PostgreSQL ssl root certificate file location | ||
--postgres.username string the PostgreSQL username (default "authelia") | ||
--sqlite.path string the SQLite database path | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [authelia storage user webauthn](authelia_storage_user_webauthn.md) - Manage Webauthn devices | ||
|
72 changes: 72 additions & 0 deletions
72
docs/content/en/reference/cli/authelia/authelia_storage_user_webauthn_list.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
--- | ||
title: "authelia storage user webauthn list" | ||
description: "Reference for the authelia storage user webauthn list command." | ||
lead: "" | ||
date: 2022-06-15T17:51:47+10:00 | ||
draft: false | ||
images: [] | ||
menu: | ||
reference: | ||
parent: "cli-authelia" | ||
weight: 330 | ||
toc: true | ||
--- | ||
|
||
## authelia storage user webauthn list | ||
|
||
List WebAuthn devices | ||
|
||
### Synopsis | ||
|
||
List WebAuthn devices. | ||
|
||
This subcommand allows listing WebAuthn devices. | ||
|
||
``` | ||
authelia storage user webauthn list [username] [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
authelia storage user webauthn list | ||
authelia storage user webauthn list john | ||
authelia storage user webauthn list --config config.yml | ||
authelia storage user webauthn list john --config config.yml | ||
authelia storage user webauthn list --encryption-key b3453fde-ecc2-4a1f-9422-2707ddbed495 --postgres.host postgres --postgres.password autheliapw | ||
authelia storage user webauthn list john --encryption-key b3453fde-ecc2-4a1f-9422-2707ddbed495 --postgres.host postgres --postgres.password autheliapw | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for list | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-c, --config strings configuration files to load (default [configuration.yml]) | ||
--encryption-key string the storage encryption key to use | ||
--mysql.database string the MySQL database name (default "authelia") | ||
--mysql.host string the MySQL hostname | ||
--mysql.password string the MySQL password | ||
--mysql.port int the MySQL port (default 3306) | ||
--mysql.username string the MySQL username (default "authelia") | ||
--postgres.database string the PostgreSQL database name (default "authelia") | ||
--postgres.host string the PostgreSQL hostname | ||
--postgres.password string the PostgreSQL password | ||
--postgres.port int the PostgreSQL port (default 5432) | ||
--postgres.schema string the PostgreSQL schema name (default "public") | ||
--postgres.ssl.certificate string the PostgreSQL ssl certificate file location | ||
--postgres.ssl.key string the PostgreSQL ssl key file location | ||
--postgres.ssl.mode string the PostgreSQL ssl mode (default "disable") | ||
--postgres.ssl.root_certificate string the PostgreSQL ssl root certificate file location | ||
--postgres.username string the PostgreSQL username (default "authelia") | ||
--sqlite.path string the SQLite database path | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [authelia storage user webauthn](authelia_storage_user_webauthn.md) - Manage Webauthn devices | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.