-
Notifications
You must be signed in to change notification settings - Fork 5
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
update readme documentation #365
Conversation
README.md
Outdated
|
||
## configure | ||
|
||
The `bmx configure` command creates or updates the global BMX configuration file, located at `~/.bmx/config`. This file can store your Okta organization, username, and your AWS default session duration. Okta account sessions are saved when a configuration file is present. For security reasons, it's recommended to avoid running `bmx configure` or creating a global configuration file on a machine used by multiple users. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Felt like configure needed a bit more than 1 sentence just for the fact about multi user machine and the worries we had with that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could maybe go into a usage
section above this actually
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But do we trust someone to read it if they are only linked directly to the configure section
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed we should clarify what the "security reason" is. Since its intended as a feature.
For example: #175 thinks of it as a bug when it seems like a happy coincidence / or possibly intended but not documented in the original BMX.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have this now:
bmx/src/D2L.Bmx/OktaAuthenticator.cs
Lines 76 to 77 in 4094b59
Console.Error.WriteLine( "No config file found. Your Okta session will not be cached. " + | |
"Consider running `bmx configure` if you own this machine." ); |
which I think adequately addresses possible user confusion.
README.md
Outdated
|
||
To setup AWS credentials in PowerShell, use: | ||
```PowerShell | ||
bmx print --account account-name --role role-name | iex |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The copy code button seems kind of useless when we're adding dummy flag values in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or it's just feels like it'll be more work to replace
Ah github doesn't care about the language in code blocks. Just turns to black anyways |
Co-authored-by: Chenfeng Bao <[email protected]>
Co-authored-by: Chenfeng Bao <[email protected]>
Co-authored-by: Chenfeng Bao <[email protected]>
Co-authored-by: Chenfeng Bao <[email protected]>
Co-authored-by: Chenfeng Bao <[email protected]>
Co-authored-by: Chenfeng Bao <[email protected]>
Co-authored-by: Chenfeng Bao <[email protected]>
Co-authored-by: Chenfeng Bao <[email protected]>
Co-authored-by: Chenfeng Bao <[email protected]>
Why
Main branch has no documentation currently