<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Hi Xuyun,</div>
<div><br>
</div>
<div>Creating a user with a password is all you need to authenticate and get a token. The 'keystone-manage credentials' command is to add any additional credentials like EC2 (AWS) credentials or API keys.</div>
<div><br>
</div>
<div>I'm not an expert on the swift command, but I believe it might work if you pass the password as your API key…</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Ziad</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Xuyun Zhang <<a href="mailto:xyzhanggz@gmail.com">xyzhanggz@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Sat, 14 Jan 2012 14:30:13 +1100<br>
<span style="font-weight:bold">To: </span><<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br>
<span style="font-weight:bold">Subject: </span>[Openstack] About keystone concepts: the difference between the key of a credential and the password of a user<br>
</div>
<div><br>
</div>
I was really confused by the concepts in keystone (I'm a beginner to OpenStack). When we create a user, we should set the username and password for this user. According the command "keystone-manage credentials add [username] [type] [key] [password]([tenant_name])",
 we still need a key and a password for a credential. But they are different from the username and password we created for a user.
<br>
<br>
When we use swift command "swift -A <url> -U <user> -K <key> operation" to connect the swift proxy, the <user> and <key> appear to be the username and password created for a user.<br>
<br>
So, could anyone please help me to clear these concepts and the relationships among them?  I'v got stuck to run swift and keystone for a while.<br>
<br>
Thanks<br>
<br>
Regards,<br>
Sean<br>
_______________________________________________ Mailing list: <a href="https://launchpad.net/~openstack">
https://launchpad.net/~openstack</a> Post to : <a href="mailto:openstack@lists.launchpad.net">
openstack@lists.launchpad.net</a> Unsubscribe : <a href="https://launchpad.net/~openstack">
https://launchpad.net/~openstack</a> More help : <a href="https://help.launchpad.net/ListHelp">
https://help.launchpad.net/ListHelp</a> </span>
</body>
</html>