open-vault/helper/testhelpers
Hamid Ghaf 65a41d4f08
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
..
azurite Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
cassandra Use hashicorp mirror for container pulls (#17778) 2022-11-02 13:33:17 -04:00
certhelpers Allow mTLS for mysql secrets engine (#9181) 2020-06-17 11:46:01 -07:00
consul Use hashicorp mirror for container pulls (#17778) 2022-11-02 13:33:17 -04:00
docker Add pki nginx/wget/curl/Go integration tests (#17320) 2022-11-23 15:00:18 -05:00
etcd reformat using 'make fmt' (#13794) 2022-01-27 10:06:34 -08:00
fakegcsserver Use hashicorp mirror for container pulls (#17778) 2022-11-02 13:33:17 -04:00
ldap Use hashicorp mirror for container pulls (#17778) 2022-11-02 13:33:17 -04:00
logical Use %q for quoted strings where appropriate (#15216) 2022-08-03 12:32:45 -06:00
minio Use hashicorp mirror for container pulls (#17778) 2022-11-02 13:33:17 -04:00
mongodb Use hashicorp mirror for container pulls (#17778) 2022-11-02 13:33:17 -04:00
mssql Add ability to capture container logs, and have mssql test helper use it (#13272) 2021-11-24 12:01:38 -05:00
mysql Use hashicorp mirror for container pulls (#17778) 2022-11-02 13:33:17 -04:00
postgresql Use hashicorp mirror for container pulls (#17778) 2022-11-02 13:33:17 -04:00
seal OSS portion of wrapper-v2 (#16811) 2022-08-23 15:37:16 -04:00
teststorage Vault 6773/raft rejoin nonvoter (#16324) 2022-07-18 14:37:12 -04:00
testhelpers.go named Login MFA methods (#18610) 2023-01-23 15:51:22 -05:00
testhelpers_oss.go Wait for standby to have a working grpc connection before we try to use it (#16905) 2022-08-26 12:50:10 -04:00