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

Added whoami command #1193

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Added whoami command #1193

wants to merge 2 commits into from

Conversation

dsarfati
Copy link
Contributor

🚀 What

This PR adds the truss whoami command that returns information about the currently logged in user. This allows users that swap between accounts to easily determine which account they are using. The format of the output when using the baseten remote is {workspace name}\{user's email}

💻 How

The data is returned from the baseten grapql API by passing in the API key.

🔬 Testing

Local testing with different baseten API keys

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 this pull request may close these issues.

1 participant