)]}'
{"docs/index.rst":[{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"8bc423ef9a0aaebe9257751160f0c5984c385511","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Contributing"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Code is hosted `on GitHub`_. Submit bugs to the Keystone project on "},{"line_number":22,"context_line":"`Launchpad`_. Submit code to the openstack/python-keystoneclient project using"},{"line_number":23,"context_line":"`Gerrit`_."},{"line_number":24,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAHX%2F%2F5L8%3D","line":21,"updated":"2012-05-22 14:48:56.000000000","message":"trailing whitespace\n\nCan we link \"Submit bugs\" directly to https://bugs.launchpad.net/keystone ?","commit_id":"debb86165679208454b94460806b381154d8dbb8"}],"docs/using-api.rst":[{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"8bc423ef9a0aaebe9257751160f0c5984c385511","unresolved":false,"context_lines":[{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Introduction"},{"line_number":6,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":7,"context_line":"The main concepts in the Keystone API are:"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":" * tenants"},{"line_number":10,"context_line":" * users"}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAHX%2F%2F5Ls%3D","line":7,"updated":"2012-05-22 14:48:56.000000000","message":"need whitespace between 6 and 7","commit_id":"debb86165679208454b94460806b381154d8dbb8"},{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"8bc423ef9a0aaebe9257751160f0c5984c385511","unresolved":false,"context_lines":[{"line_number":13,"context_line":" * endpoints"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"The Keystone API lets you query and make changes through managers. For example,"},{"line_number":16,"context_line":"to maipulate tenants, you interact with a"},{"line_number":17,"context_line":"``keystoneclient.v2_0.tenants.TenantManger`` object."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"You obtain access to managers through via atributes of the ``keystoneclient.v2_0.client.Client`` object. For example, the ``tenants`` attribute of the ``Client``"}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAHX%2F%2F5L4%3D","line":16,"updated":"2012-05-22 14:48:56.000000000","message":"s/maipulate/manipulate","commit_id":"debb86165679208454b94460806b381154d8dbb8"},{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"8bc423ef9a0aaebe9257751160f0c5984c385511","unresolved":false,"context_lines":[{"line_number":16,"context_line":"to maipulate tenants, you interact with a"},{"line_number":17,"context_line":"``keystoneclient.v2_0.tenants.TenantManger`` object."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"You obtain access to managers through via atributes of the ``keystoneclient.v2_0.client.Client`` object. For example, the ``tenants`` attribute of the ``Client``"},{"line_number":20,"context_line":"class is a tenant manager::"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    \u003e\u003e\u003e from keystoneclient.v2_0 import client"}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAHX%2F%2F5Lk%3D","line":19,"updated":"2012-05-22 14:48:56.000000000","message":"You obtain access to -\u003e Access resource\n\nthrough via -\u003e via\n\natributes -\u003e attributes","commit_id":"debb86165679208454b94460806b381154d8dbb8"},{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"8bc423ef9a0aaebe9257751160f0c5984c385511","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    \u003e\u003e\u003e keystone.tenants.list() # List tenants"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"You create a valid ``keystoneclient.v2_0.client.Client`` object by passing"},{"line_number":28,"context_line":"authentication data to the constructor. Authentication and examples of common"},{"line_number":29,"context_line":"tasks are provided below."},{"line_number":30,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAHX%2F%2F5Lg%3D","line":27,"updated":"2012-05-22 14:48:56.000000000","message":"You create -\u003e Create","commit_id":"debb86165679208454b94460806b381154d8dbb8"},{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"8bc423ef9a0aaebe9257751160f0c5984c385511","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"There are two ways to authenticate against Keystone:"},{"line_number":35,"context_line":" * against the admin endpoint with the admin token"},{"line_number":36,"context_line":" * against the public endpoint with a username and password"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"If you are an administrator, you can authenticate by connecting to the admin"},{"line_number":39,"context_line":"endpoint and using the admin token (sometimes referred to as the service"}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAHX%2F%2F5LY%3D","line":36,"updated":"2012-05-22 14:48:56.000000000","message":"This list is technically wrong. A proper admin token will work against either endpoint. I would either just delete this section because the combinations would be a bit difficult to explain (and they\u0027re covered elsewhere), or just explain the difference between the two endpoint options (namely that most keystoneclient CRUD operations need to be performed against the management API with admin credentials).","commit_id":"debb86165679208454b94460806b381154d8dbb8"},{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"8bc423ef9a0aaebe9257751160f0c5984c385511","unresolved":false,"context_lines":[{"line_number":35,"context_line":" * against the admin endpoint with the admin token"},{"line_number":36,"context_line":" * against the public endpoint with a username and password"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"If you are an administrator, you can authenticate by connecting to the admin"},{"line_number":39,"context_line":"endpoint and using the admin token (sometimes referred to as the service"},{"line_number":40,"context_line":"token). The token is specified as the ``admin_token`` configuration option in your"},{"line_number":41,"context_line":"keystone.conf config file, which is typically in /etc/keystone::"}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAHX%2F%2F5Lc%3D","line":38,"updated":"2012-05-22 14:48:56.000000000","message":"If you are an administrator -\u003e With administrator credentials,","commit_id":"debb86165679208454b94460806b381154d8dbb8"},{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"8bc423ef9a0aaebe9257751160f0c5984c385511","unresolved":false,"context_lines":[{"line_number":37,"context_line":""},{"line_number":38,"context_line":"If you are an administrator, you can authenticate by connecting to the admin"},{"line_number":39,"context_line":"endpoint and using the admin token (sometimes referred to as the service"},{"line_number":40,"context_line":"token). The token is specified as the ``admin_token`` configuration option in your"},{"line_number":41,"context_line":"keystone.conf config file, which is typically in /etc/keystone::"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAHX%2F%2F5LU%3D","line":40,"updated":"2012-05-22 14:48:56.000000000","message":"This is a practice we want to discourage, as written here. The admin_token certainly gets users off the ground, but shouldn\u0027t be used beyond bootstrapping keystone with a proper admin user.","commit_id":"debb86165679208454b94460806b381154d8dbb8"},{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"8bc423ef9a0aaebe9257751160f0c5984c385511","unresolved":false,"context_lines":[{"line_number":39,"context_line":"endpoint and using the admin token (sometimes referred to as the service"},{"line_number":40,"context_line":"token). The token is specified as the ``admin_token`` configuration option in your"},{"line_number":41,"context_line":"keystone.conf config file, which is typically in /etc/keystone::"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    \u003e\u003e\u003e from keystoneclient.v2_0 import client"},{"line_number":45,"context_line":"    \u003e\u003e\u003e token \u003d \u0027012345SECRET99TOKEN012345\u0027"}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAHX%2F%2F5LQ%3D","line":42,"updated":"2012-05-22 14:48:56.000000000","message":"extra whitespace","commit_id":"debb86165679208454b94460806b381154d8dbb8"},{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"8bc423ef9a0aaebe9257751160f0c5984c385511","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    \u003e\u003e\u003e token \u003d \u0027012345SECRET99TOKEN012345\u0027"},{"line_number":46,"context_line":"    \u003e\u003e\u003e endpoint \u003d \u0027http://192.168.206.130:35357/v2.0\u0027"},{"line_number":47,"context_line":"    \u003e\u003e\u003e keystone \u003d client.Client(token\u003dtoken, endpoint\u003dendpoint)"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"If you have a username and password, authentication is done against the"},{"line_number":51,"context_line":"public endpoint. You must also specify a tenant that is associated with the"}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAHX%2F%2F5LM%3D","line":48,"updated":"2012-05-22 14:48:56.000000000","message":"extra whitespace","commit_id":"debb86165679208454b94460806b381154d8dbb8"},{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"8bc423ef9a0aaebe9257751160f0c5984c385511","unresolved":false,"context_lines":[{"line_number":57,"context_line":"    \u003e\u003e\u003e tenant_name\u003d\u0027openstackDemo\u0027"},{"line_number":58,"context_line":"    \u003e\u003e\u003e auth_url\u003d\u0027http://192.168.206.130:5000/v2.0\u0027"},{"line_number":59,"context_line":"    \u003e\u003e\u003e keystone \u003d client.Client(username\u003dusername, password\u003dpassword,"},{"line_number":60,"context_line":"    ...                         tenant_name, auth_url\u003dauth_url)"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Creating tenants"}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAHX%2F%2F5LI%3D","line":60,"updated":"2012-05-22 14:48:56.000000000","message":"indent tenant_name one more space","commit_id":"debb86165679208454b94460806b381154d8dbb8"},{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"8bc423ef9a0aaebe9257751160f0c5984c385511","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    ...                         description\u003d\"Default Tenant\", enabled\u003dTrue)"},{"line_number":72,"context_line":"    \u003cTenant {u\u0027id\u0027: u\u00279b7962da6eb04745b477ae920ad55939\u0027, u\u0027enabled\u0027: True, u\u0027description\u0027: u\u0027Default Tenant\u0027, u\u0027name\u0027: u\u0027openstackDemo\u0027}\u003e"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"Creating users"},{"line_number":75,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"This example will create a user named *adminUser* with a password *secretword*"}],"source_content_type":"text/x-rst","patch_set":1,"id":"AAAAHX%2F%2F5LA%3D","line":74,"updated":"2012-05-22 14:48:56.000000000","message":"Can we tailor the next few sections towards bootstrapping a proper admin user/role? e.g. openstackDemo is a little vague, and use variable names like admin_user instead of my_user. Would make this whole doc a bit more cohesive for new users.","commit_id":"debb86165679208454b94460806b381154d8dbb8"}],"keystoneclient/v2_0/endpoints.py":[{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"8bc423ef9a0aaebe9257751160f0c5984c385511","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"class Endpoint(base.Resource):"},{"line_number":20,"context_line":"    \"\"\"Represents a Keystone endpoint\"\"\""},{"line_number":21,"context_line":"    def __repr__(self):"},{"line_number":22,"context_line":"        return \"\u003cEndpoint %s\u003e\" % self._info"},{"line_number":23,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAHX%2F%2F5K8%3D","line":20,"updated":"2012-05-22 14:48:56.000000000","message":"All of these doc strings need periods at the end of the first line; I think keystoneclient also encourages spaces inside docstrings, e.g. \"\"\" Space around this, with a period. \"\"\" (this style differs from keystone itself).","commit_id":"debb86165679208454b94460806b381154d8dbb8"}]}
