Expose token_endpoint.Token as admin_token

When bootstrapping a cloud, using this auth plugin is necessary to be
able to provide an admin token. However, there has been some confusion
as to its officialness and the names of its parameters. Make it clear
why it's exposed, and additionally be clearer about squatting on the
name of the plugin so that things can depend on its interface.

Change-Id: I8e896b28d5879cd4b1372009926c67cde773308f
This commit is contained in:
Monty Taylor 2015-08-15 07:36:09 +08:00
parent c503c29f93
commit 0cb46c9421
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ console_scripts =
keystoneclient.auth.plugin =
password = keystoneclient.auth.identity.generic:Password
token = keystoneclient.auth.identity.generic:Token
admin_token = keystoneclient.auth.token_endpoint:Token
v2password = keystoneclient.auth.identity.v2:Password
v2token = keystoneclient.auth.identity.v2:Token
v3password = keystoneclient.auth.identity.v3:Password