Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cli] Create a 'configure' command #35

Closed
ghost opened this issue Mar 31, 2020 · 0 comments · Fixed by #47
Closed

[cli] Create a 'configure' command #35

ghost opened this issue Mar 31, 2020 · 0 comments · Fixed by #47

Comments

@ghost
Copy link

ghost commented Mar 31, 2020

Motivation

As a Lacework CLI User,
I would like to have a simple way to set up my Lacework CLI,
So that I can configure it locally and can easily reconfigure on demand.

The proposal for this task it to create a command called configure that,
when run, it will prompt the user for information like; API Access keys and
Lacework Account, etc.

Acceptance Criteria

Have a command that helps users configure/set up the Lacework CLI.

After running the following command, a file at ~/.lacework.toml should be generated:

$ lacework-cli configure
Lacework Account: my.test.account
Lacework API Access Key: KEY
Lacework API Access Secret: SECRET
ghost pushed a commit that referenced this issue Apr 9, 2020
Adding a new `configure` command to set up the Lacework CLI:
```
$ lacework configure
✔ Account: example
✔ Access Key ID: EXAMPLE_12FBEB06B01249B634D2129655B8652D0EBC2DD141B1234
✔ Secret Access Key: _186bb1dcbde222d77ccbbb25c516al09

You are all set!
```

Closes #35

Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
@ghost ghost mentioned this issue Apr 9, 2020
ghost pushed a commit that referenced this issue Apr 9, 2020
Adding a new `configure` command to set up the Lacework CLI:
```
$ lacework configure
✔ Account: example
✔ Access Key ID: EXAMPLE_12FBEB06B01249B634D2129655B8652D0EBC2DD141B1234
✔ Secret Access Key: _186bb1dcbde222d77ccbbb25c516al09

You are all set!
```

Closes #35

Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
@ghost ghost closed this as completed in #47 Apr 13, 2020
ghost pushed a commit that referenced this issue Apr 13, 2020
Adding a new `configure` command to set up the Lacework CLI:
```
$ lacework configure
✔ Account: example
✔ Access Key ID: EXAMPLE_12FBEB06B01249B634D2129655B8652D0EBC2DD141B1234
✔ Secret Access Key: _186bb1dcbde222d77ccbbb25c516al09

You are all set!
```

Closes #35

Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants