Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Multiple accounts in config #21

Closed
pwalsh opened this issue Nov 16, 2017 · 7 comments
Closed

Multiple accounts in config #21

pwalsh opened this issue Nov 16, 2017 · 7 comments

Comments

@pwalsh
Copy link

pwalsh commented Nov 16, 2017

Description

The current config file has a data structure designed around a single account on datahub. I have just started interacting with the system as a user and I already want two accounts (a pseudo org account, and my own account).

Many config files for CLIs support this elegantly. I suggest taking a good look at the gcloud CLI and the aws CLI in terms of user experience if running commands with different users, and the config file itself.

@Mikanebu
Copy link
Member

@pwalsh We really appreciate your feedback. For now, we do it manually by exporting config file(~/.datahub.json) for each account https://github.com/datahq/datahub-cli#configuration. This is really good suggestion.

@pwalsh
Copy link
Author

pwalsh commented Nov 16, 2017

@Mikanebu thanks! This is not in the user-facing documentation though.

@Mikanebu
Copy link
Member

@pwalsh I recorded your suggestion. Documentation will be updated

@rufuspollock
Copy link
Member

@Mikanebu can you clarify how you think you'll update the documentation so we can refine here and then implement.

@Mikanebu
Copy link
Member

@rufuspollock I am thinking to add configuration section right after Verifying section in http://datahub.io/docs/getting-started/installing-data.

@rufuspollock
Copy link
Member

@Mikanebu can you write out what you plan to add i.e. the full draft text.

I also should say this is probably a relatively secondary issue as most users won't have two accounts at this point!

@anuveyatsu
Copy link
Member

@pwalsh we have written a blog post about using multiple datahub accounts: https://datahub.io/blog/how-to-use-multiple-datahub-accounts
Hope it helps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants