Herman Slatman
de85fd0cef
Use github.com/smallstep/cli-utils
and reorder imports
2024-09-30 13:25:46 +02:00
Carl Tashian
f59669bd90
Make --ca-url incompatible with --team
2023-09-26 10:19:03 -07:00
Carl Tashian
7bd4efe9da
step ca bootstrap: Make --team incompatible with --fingerprint
2023-09-25 13:22:28 -07:00
Attila Gulyas
3991e172b2
Make term "trust store" consistent across the docs [..]
...
See PR https://github.com/smallstep/docs/pull/260 for context.
2023-08-08 17:32:51 -04:00
Carl Tashian
9cde32b2f5
Change example.org to example.com for link checker
2023-04-11 15:09:31 -07:00
max furman
100980b133
Fixing linter errors
2021-11-17 12:56:07 -08:00
max furman
2eccb2be3d
Fixing a load of errors from the PR review
2021-11-10 23:18:33 -08:00
max furman
ff56e5c58e
A few fixes for PR review comments
...
- use PromptYN
- use BoolTFlag
2021-10-28 21:49:07 -07:00
max furman
e933aed82d
Move hidden helper commands into functions.
2021-10-27 15:55:18 -07:00
max furman
da2d28901f
Addressing some PR commentary
2021-10-27 15:55:18 -07:00
max furman
c7b005bd21
Fixing up when contexts are used for ca bootstrap and init
2021-10-27 15:55:18 -07:00
max furman
608b27bff0
(wip) added context remove and general cleanup
2021-10-27 15:55:18 -07:00
max furman
27ebe5ccd1
(wip) managing step contexts
2021-10-27 15:55:18 -07:00
max furman
f77ad08978
step ssh config working with --team
2021-10-27 15:55:18 -07:00
max furman
706084b8b8
allow config of context name and profile
2021-10-27 15:55:18 -07:00
max furman
e87c424035
Add ability to bootstrap with team and authority subdomain
2021-10-27 15:55:18 -07:00
max furman
f816f1a621
move errs package to cli-utils
2021-10-27 15:55:18 -07:00
max furman
860c213b97
Initial step path contexts commit
...
- move config and command packages to cli-utils
2021-10-27 15:55:16 -07:00
max furman
6407b1b75f
fixing gocritic linter feedback
2021-10-07 17:59:57 -04:00
max furman
359982df1b
strip whitespace from fingerprint input flag
2021-08-25 16:06:29 -07:00
Mariano Cano
7061940e7e
Unify the way the flags are printed in markdown files.
2020-10-01 17:01:33 -07:00
max furman
bf52dc8464
Fix ca bootstrap --team (don't require caURL)
2020-08-31 10:53:37 -07:00
max furman
6bab49a31a
change cmd to flags.ParseCaURL and flags.ParseCaURLIfExists
2020-08-02 11:46:38 -07:00
max furman
c3f499e3ef
Implicitly require https scheme for ca-url cmd line arg
...
Fixes #336
2020-08-02 11:46:38 -07:00
Carl Tashian
af0dd543cb
Change team name to team ID
2020-07-22 12:06:33 -07:00
Mariano Cano
2585d5ab8d
Improve the step ca bootstrap
to fully support the --team
flag.
2020-04-23 18:07:15 -07:00
David Cowden
26dc7e79f3
oauth: Add terminal redirect URL option
...
Add a `--redirect-url` string option to the boostrap command that allows
the terminal redirect in the OAuth flow to be configured. This is useful
if you want to display a more interesting page than the locally hosted
basebones "Success" page.
If the user configures step-cli using the `ssh config` command and
passes the `--team` option, set the redirect url to:
https://smallstep.com/app/teams/sso/success
so that the flow ends on a page that instructs users on what to do next.
2020-01-28 13:34:00 -08:00
Mariano Cano
c13581c083
Add support to bootstrap using --team.
2020-01-28 13:34:00 -08:00
Mariano Cano
d734d18a8f
Use certificate pki removed in merge.
2020-01-28 13:33:59 -08:00
max furman
01564f6a7e
Changes based on SSH CA PR Review
...
* Use global flags rather than flags local to the CA package.
* Alphabetize flag names so they're easier to parse for humans.
* Fix some documentation snafus.
* crt -> cert where possible. At least for internal naming. Not gonna
change JSON req/resp bodies b/c that would affect clients.
2019-09-09 13:08:25 -07:00
max furman
e49b733fbf
switch to golangci-lint and fix lots of linting errors
2019-08-26 19:04:54 -07:00
Mariano Cano
409133e6e3
Add install flag to step ca bootstrap.
2019-02-05 15:43:26 -08:00
Mariano Cano
1d56f77950
Fix message.
2018-11-30 12:44:44 -08:00
Mariano Cano
4798e56521
Add informative output to step ca bootstrap.
2018-11-30 12:12:14 -08:00
Mariano Cano
e3e5cc1b62
Make sure all the short help uses the first person
...
Fixes #37
2018-11-28 12:41:55 -08:00
Mariano Cano
0cface6e9b
Add flag --force on all commands using utils.WriteFile
...
Fixes smallstep/ca-component#121
2018-11-27 17:53:36 -08:00
Mariano Cano
89ace4cedb
Do not require schema in ca-url
...
Fixes smallstep/ca-component#117
2018-11-26 19:42:24 -08:00
Mariano Cano
9f4ecf1d7a
Add step ca bootstrap
command to set up the defaults.json
...
Fixes smallstep/ca-component#122
2018-11-26 13:17:19 -08:00