Files
vault/command
Seth Vargo 72f66559eb Initial pass at SSH CLI CA type authentication
1. The current implementation of the SSH command is heavily tied to the
assumptions of OTP/dynamic key types. The SSH CA backend is
fundamentally a different approach to login and authentication. As a
result, there was some restructuring of existing methods to share more
code and state.

2. Each authentication method (ca, otp, dynamic) are now fully-contained
in their own handle* function.

3. -mode and -role are going to be required for SSH CA, and I don't
think the magical UX (and overhead) of guessing them is a good UX. It's
confusing as to which role and how Vault guesses. We can reduce 66% of
the API calls and add more declaration to the CLI by making -mode and
-role required. This commit adds warnings for that deprecation, but
these values are both required for CA type authentication.

4. The principal and extensions are currently fixed, and I personally
believe that's good enough for the first pass at this. Until we
understand what configuration options users will want, I think we should
ship with all the local extensions enabled. Users who don't want that
can generate the key themselves directly (current behavior) or submit
PRs to make the map of extensions customizable.

5. Host key checking for the CA backend is not currently implemented.
It's not strictly required at setup, so I need to think about whether it
belongs here.

This is not ready for merge, but it's ready for early review.
2017-08-18 12:59:08 -04:00
..
2017-07-12 15:04:34 -04:00
2016-04-01 13:16:05 -04:00
2017-05-25 09:00:49 -04:00
2016-04-01 13:16:05 -04:00
2016-04-01 13:16:05 -04:00
2016-04-01 13:16:05 -04:00
2017-07-20 13:28:40 -04:00
2016-04-01 13:16:05 -04:00
2017-07-20 13:28:40 -04:00
2016-04-01 13:16:05 -04:00
2017-04-04 12:22:14 -04:00
2016-04-01 13:16:05 -04:00
2016-04-01 13:16:05 -04:00
2016-04-01 13:16:05 -04:00
2017-01-17 15:43:10 -05:00
2016-04-01 13:16:05 -04:00
2017-01-17 15:43:10 -05:00
2016-12-21 19:44:07 +01:00
2015-03-03 23:14:54 -08:00
2017-05-25 09:00:49 -04:00