Mariano Cano
5d87201abc
Ignore principals validations with OIDC
...
This commit will ignore principals validation when an OIDC provisioner
is used. When the principals in the server does not match the principals
given the validation was failing, even if the proper principals were set
by templates or webhooks. With this change OIDC will not validate the
principals and just set the default ones (name, name@example.org ) plus
the ones in the templates.
This commit also includes a change in the templates to allow to pass
a provisioner to the $(step path)/ssh/config template
Related to #807
2022-12-14 17:51:50 -08:00
max furman
8d229b9a60
update commented template names to match reality
2021-11-17 21:42:53 -08:00
max furman
507be61e8c
Use a more distint map key to indicate template version
...
- make the key a variable that can be reused on the CLI side.
2021-11-16 21:47:14 -08:00
max furman
c80a64d0e6
ssh/step_config.tpl context flag in wrong spot
2021-11-16 21:47:14 -08:00
max furman
fcc15174ea
Rename templates and create profileConfig dir ahead of time.
2021-11-16 21:47:14 -08:00
max furman
43cba993bb
PR fixes
...
- Line -> PrependLine
- dont' overwrite profileDefaults
- update ssh/config.tpl to always include includes file
2021-11-16 21:47:14 -08:00
max furman
9d4a7cf9fc
Update includes template to use STEPPATH as the replace var
2021-11-16 21:47:14 -08:00
max furman
74eea88343
Replace Fragment template with Line
2021-11-16 21:47:14 -08:00
max furman
da74fa2eb9
Rename FullSnippet to Fragment and remove unused replace in go.mod
2021-11-16 21:47:14 -08:00
max furman
b080b7582b
Template updates to support multiple SSH include snippets
2021-11-16 21:47:14 -08:00
Mariano Cano
aea2a7c9f3
Update sshd_config.tpl to a Match all block.
...
Fixes #479
2021-04-12 18:37:10 -07:00
Mariano Cano
a845b56283
Remove the template path if we load the defaults.
2020-06-16 17:56:22 -07:00
Mariano Cano
b583d8d658
Move default templates to the template package.
2020-06-16 17:24:47 -07:00
Ivan Bertona
9052da66a3
Fix linter, tidy go.mod file.
2020-02-07 14:42:56 -05:00
Mariano Cano
08850d5334
Add support for federated keys.
2020-01-28 13:28:16 -08:00
Mariano Cano
a35988ff08
Add initial support for ssh config.
...
Related to smallstep/cli#170
2020-01-28 13:28:16 -08:00