Details
-
Type:
Monitor
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
HD-Chapter:Security
-
HD-Enabler:KeyRock
Description
Created question in FIWARE Q/A platform on 14-07-2015 at 17:07
Please, ANSWER this question AT https://stackoverflow.com/questions/31411266/fiware-keystone-api-create-user
Question:
Fiware Keystone API Create User
Description:
We are trying to create users in Fiware IDM using Keystone Identity API.
We are sending the following curl command
curl -s \
-H "X-Auth-Token: e746971040657101bb1e" \
-H "Content-Type: application/json" \
-d '{"user": {"name": "newuser", "password": "changeme"}}' \
http://localhost:35357/v3/users | python -mjson.tool
The token we have used is the one configured in keystone.conf
admin_token=e746971040657101bb1e
But the result we are getting is the following
{
"error":
}
Does anyone have an idea about what can happen?
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Assignee | Backlog Manager [ backlogmanager ] |
HD-Enabler | KeyRock [ 10889 ] | |
Description |
Created question in FIWARE Q/A platform on 14-07-2015 at 17:07 {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/31411266/fiware-keystone-api-create-user +Question:+ Fiware Keystone API Create User +Description:+ We are trying to create users in Fiware IDM using Keystone Identity API. We are sending the following curl command curl -s \ -H "X-Auth-Token: e746971040657101bb1e" \ -H "Content-Type: application/json" \ -d '{"user": {"name": "newuser", "password": "changeme"}}' \ http://localhost:35357/v3/users | python -mjson.tool The token we have used is the one configured in keystone.conf admin_token=e746971040657101bb1e But the result we are getting is the following { "error": { "code": 401, "message": "The request you have made requires authentication.", "title": "Unauthorized" } } Does anyone have an idea about what can happen? |
Created question in FIWARE Q/A platform on 14-07-2015 at 17:07
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/31411266/fiware-keystone-api-create-user +Question:+ Fiware Keystone API Create User +Description:+ We are trying to create users in Fiware IDM using Keystone Identity API. We are sending the following curl command curl -s \ -H "X-Auth-Token: e746971040657101bb1e" \ -H "Content-Type: application/json" \ -d '{"user": {"name": "newuser", "password": "changeme"}}' \ http://localhost:35357/v3/users | python -mjson.tool The token we have used is the one configured in keystone.conf admin_token=e746971040657101bb1e But the result we are getting is the following { "error": { "code": 401, "message": "The request you have made requires authentication.", "title": "Unauthorized" } } Does anyone have an idea about what can happen? |
HD-Chapter | Security [ 10841 ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Fix Version/s | 2021 [ 12600 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
2h 59m | 1 | Backlog Manager | 30/May/17 6:04 PM | |||||
|
3h | 1 | Backlog Manager | 30/May/17 9:04 PM | |||||
|
12h 49m | 1 | Fernando Lopez | 31/May/17 9:53 AM |
2017-05-30 15:05|CREATED monitor | # answers= 1, accepted answer= True