Martin Angers
|
69a4985cac
|
Use new error handling approach in other packages (#2954)
|
2021-11-22 09:13:26 -05:00 |
|
Zach Wasserman
|
4cfcb1b084
|
Upgrade fleetctl github.com/urfave/cli to v2 (#471)
This is intended to upgrade to the new API without changing fleetctl
functionality.
|
2021-03-12 16:42:38 -08:00 |
|
Zach Wasserman
|
22d9205d35
|
Add debug flag to fleetctl (#266)
This flag enables logging of HTTP requests and responses to stderr.
Closes #187
|
2021-02-02 18:55:16 -08:00 |
|
Zach Wasserman
|
a9c0c472fc
|
Update Kolide to Fleet as appropriate in documentation (#263)
|
2021-02-02 12:16:59 -08:00 |
|
Zach Wasserman
|
368632b3fa
|
Minor refactor in fleetctl config handling (#246)
Move CLI context out of get/set config functions.
|
2021-01-28 17:15:38 -08:00 |
|
Mike Arpaia
|
018e10ea66
|
Add fleetctl config and auth commands (#1751)
```
$ fleetctl config set address https://localhost:8080
[+] Set the "address" config key to "https://localhost:8080" in the "default" context
$ fleetctl config set ignore_tls true
[+] Set the "ignore_tls" config key to "true" in the "default" context
$ fleetctl setup --email mike@arpaia.co --password "abc123"
[+] Fleet setup successful and context configured!
$ cat ~/.fleet/config
contexts:
default:
address: https://localhost:8080
email: mike@arpaia.co
ignore_tls: true
token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZXNzaW9uX2tleSI6IlUvdm05Vk9wSG0xUlA4SUtjQnBhb2ovWlo1TXppSEVXcFRCNFNPb2tHQnNLUFpDQXFieVpWWnpJb0UvczQzcWkyd1pHZXJOa29SNFVIQ2hNZUc0K09RPT0ifQ.rHawSN8JvD4jjWAPTYX2Ep9ZpMt3u4mSIQcu920C-_s
$ fleetctl logout
[+] Fleet logout successful and local token cleared!
$ cat ~/.fleet/config
contexts:
default:
address: https://localhost:8080
email: mike@arpaia.co
ignore_tls: true
token: ""
```
|
2018-05-04 10:53:21 -06:00 |
|