Files
vault/command
Hamid Ghaf e18fd32946 named Login MFA methods (#18610)
* named MFA method configurations

* fix a test

* CL

* fix an issue with same config name different ID and add a test

* feedback

* feedback on test

* consistent use of passcode for all MFA methods (#18611)

* make use of passcode factor consistent for all MFA types

* improved type for MFA factors

* add method name to login CLI

* minor refactoring

* only accept MFA method name with its namespace path in the login request MFA header

* fix a bug

* fixing an ErrorOrNil return value

* more informative error message

* Apply suggestions from code review

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>

* feedback

* test refactor a bit

* adding godoc for a test

* feedback

* remove sanitize method name

* guard a possbile nil ref

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2023-01-23 15:51:22 -05:00
..
2017-10-24 09:28:06 -04:00
2022-02-18 08:50:05 -08:00
2019-02-14 11:54:47 -08:00
2022-12-07 13:29:51 -05:00
2023-01-23 15:51:22 -05:00
2022-02-15 10:43:49 -08:00
2017-10-24 09:30:47 -04:00
2023-01-23 15:51:22 -05:00
2020-03-17 09:46:44 -04:00
2017-10-24 09:30:48 -04:00
2017-10-24 09:39:34 -04:00
2022-09-22 09:12:41 -04:00
2022-12-21 10:01:57 -05:00
2018-11-06 17:21:24 -08:00
2017-10-24 09:30:48 -04:00
2022-02-18 08:50:05 -08:00
2017-10-24 09:39:34 -04:00
2018-02-12 18:12:16 -05:00
2017-10-24 09:30:47 -04:00
2022-04-19 14:28:08 -04:00
2022-12-07 13:29:51 -05:00