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

How to create user with curl having admin user credentials? [JIRA: RCS-373] #1322

Open
muminoff opened this issue Sep 22, 2016 · 1 comment

Comments

@muminoff
Copy link

Hello there. Sorry if this already been asked, but I couldn't find solution in existing issues.

Well, I have installed riak, riak-cs, stanchion and riak-cs-control.
Everything is working fine. I am now able to create user through riak-cs-control web interface.

But, I don't know how to create user through curl command line.

As described here:

By default, only the admin user may create new user accounts.

Yes, I do have admin user credentials, but how can I use it with curl to access http://my-riak-cs.backend:8080/riak-cs/user ?

PS: I don't have s3curl installed on my Macbook. Or should I install it? Can I get it worked with curl only?

@Basho-JIRA Basho-JIRA changed the title How to create user with curl with admin credentials? How to create user with curl with admin credentials? [JIRA: RCS-372] Sep 22, 2016
@muminoff muminoff changed the title How to create user with curl with admin credentials? [JIRA: RCS-372] How to create user with curl having admin user credentials? Sep 22, 2016
@muminoff
Copy link
Author

Sorry, if my issue became duplicated. I found answer here.

Well, I was calling riak-cs API via Python requests. Can you guys just provide how it can be used with curl ?

@Basho-JIRA Basho-JIRA changed the title How to create user with curl having admin user credentials? How to create user with curl having admin user credentials? [JIRA: RCS-373] Sep 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants