-
Notifications
You must be signed in to change notification settings - Fork 48
DOCS-3295: Add profiles #4318
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
base: main
Are you sure you want to change the base?
DOCS-3295: Add profiles #4318
Conversation
✅ Deploy Preview for viam-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
It looks like the following files may have been renamed. Please ensure you set all needed aliases: |
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.
Some questions and a couple of suggestions; the only (potential) blocker is the lack of a section on the new profiles
family of commands.
You can also authenticate your CLI session with profiles which allow you to switch between using different privileges. | ||
|
||
```sh {class="command-line" data-prompt="$" data-output="2-10"} | ||
viam profiles add --profile-name=default --key-id=<api-key-id> --key=<api-key> |
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.
I would expect to see a new section about the profiles
command -- there should be update
, add
, list
, and remove
subcommands. Are we deliberately omitting that section?
FYI, when I try to run list
with no profiles specified, I see the following output:
Error: Unexpected end of JSON input
It might be worth checking to see if this happens on your machine as well -- if so, we should probably let engineering know.
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.
that bug just got fixed so should be gone next week!
Co-authored-by: nathan contino <[email protected]>
Co-authored-by: nathan contino <[email protected]>
waiting on https://viam.atlassian.net/browse/RSDK-10731