ContainerImage.Pinniped/cmd/pinniped/cmd
Ryan Richard c82f568b2c certauthority.go: Refactor issuing client versus server certs
We were previously issuing both client certs and server certs with
both extended key usages included. Split the Issue*() methods into
separate methods for issuing server certs versus client certs so
they can have different extended key usages tailored for each use
case.

Also took the opportunity to clean up the parameters of the Issue*()
methods and New() methods to more closely match how we prefer to call
them. We were always only passing the common name part of the
pkix.Name to New(), so now the New() method just takes the common name
as a string. When making a server cert, we don't need to set the
deprecated common name field, so remove that param. When making a client
cert, we're always making it in the format expected by the Kube API
server, so just accept the username and group as parameters directly.
2021-03-12 16:09:37 -08:00
..
testdata CLI get-kubeconfig command reads kubeconfig and CredentialIssuerConfig 2020-09-14 19:07:18 -07:00
alpha.go Add initial "pinniped alpha login oidc" partial implementation. 2020-10-06 12:42:29 -05:00
cobra_util_test.go Add initial "pinniped alpha login oidc" partial implementation. 2020-10-06 12:42:29 -05:00
cobra_util.go Declare war on namespaces 2021-02-10 21:52:07 -05:00
flag_types_test.go certauthority.go: Refactor issuing client versus server certs 2021-03-12 16:09:37 -08:00
flag_types.go Rename this flag types for consistency. 2021-03-08 14:33:38 -06:00
get.go Update test assertions related to spf13/cobra. 2020-12-17 16:31:08 -06:00
kubeconfig_test.go certauthority.go: Refactor issuing client versus server certs 2021-03-12 16:09:37 -08:00
kubeconfig.go Stop outputting "--concierge-mode" from "pinniped get kubeconfig". 2021-03-11 16:13:29 -06:00
login_oidc_test.go certauthority.go: Refactor issuing client versus server certs 2021-03-12 16:09:37 -08:00
login_oidc.go Capitalize "Concierge" in these error messages as well, for consistency. 2021-03-11 16:24:20 -06:00
login_static_test.go certauthority.go: Refactor issuing client versus server certs 2021-03-12 16:09:37 -08:00
login_static.go Capitalize "Concierge" in these error messages as well, for consistency. 2021-03-11 16:24:20 -06:00
login.go Overhaul pinniped CLI subcommands. 2020-12-15 12:28:03 -06:00
root.go cmd/pinniped: delete get-kubeconfig + exchange-token 2021-02-09 17:01:57 -05:00
version_test.go Update test assertions related to spf13/cobra. 2020-12-17 16:31:08 -06:00
version.go cmd/pinniped: add version command 2020-09-28 10:44:33 -04:00