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

Multiple accounts in config #21

Open
pwalsh opened this Issue Nov 16, 2017 · 7 comments

Comments

Projects
None yet
6 participants
@pwalsh

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

This comment has been minimized.

Contributor

Mikanebu commented Nov 16, 2017

@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

This comment has been minimized.

pwalsh commented Nov 16, 2017

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

@Mikanebu

This comment has been minimized.

Contributor

Mikanebu commented Nov 16, 2017

@pwalsh I recorded your suggestion. Documentation will be updated

@rufuspollock

This comment has been minimized.

Member

rufuspollock commented Nov 16, 2017

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

@Mikanebu

This comment has been minimized.

Contributor

Mikanebu commented Nov 16, 2017

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

@rufuspollock

This comment has been minimized.

Member

rufuspollock commented Nov 17, 2017

@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

This comment has been minimized.

Contributor

anuveyatsu commented Oct 13, 2018

@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 join this conversation on GitHub. Already have an account? Sign in to comment