Use "key-manager" for service type

Use "key-manager" as the service type for the Keystone catalog, as it is
a better description of the service, and is more in-line with with the
official program name "Key Management Service".

Change-Id: I1c76dc8e3817b790c9a082c50684af85a1107166
This commit is contained in:
Douglas Mendizabal
2014-10-09 13:47:19 -05:00
committed by Douglas Mendizábal
parent 4c712f1fd0
commit 8a1df28d6e
3 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -10,8 +10,8 @@
export OS_AUTH_URL="http://localhost:5000/v2.0"
# your secret password
export OS_PASSWORD="password"
export OS_TENANT_NAME="service"
export OS_USERNAME="nova"
export OS_TENANT_NAME="service"
export OS_USERNAME="nova"
# --------------------------------
# alternately service_token and endpoint
@@ -27,8 +27,8 @@ echo " OS_USERNAME="$OS_USERNAME
echo " OS_PASSWORD="$OS_PASSWORD
echo " OS_AUTH_URL="$OS_AUTH_URL
#test with
keystone tenant-list
#test with
keystone tenant-list
function get_id () {
echo `"$@" | awk '/ id / { print $4 }'`
@@ -65,7 +65,7 @@ if [[ "$ENABLED_SERVICES" =~ "barbican" ]]; then
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
BARBICAN_SERVICE=$(get_id keystone service-create \
--name=barbican \
--type="keystore" \
--type="key-manager" \
--description="Barbican Key Management Service")
keystone endpoint-create \
--region RegionOne \
+1 -1
View File
@@ -189,7 +189,7 @@ function create_barbican_accounts {
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
BARBICAN_SERVICE=$(keystone service-create \
--name=barbican \
--type=keystore \
--type='key-manager' \
--description="Barbican Service" \
| grep " id " | get_field 2)
keystone endpoint-create \
+1 -1
View File
@@ -81,7 +81,7 @@ class BarbicanClient(object):
def get_base_url(self, include_version=True):
filters = {
'service': 'keystore',
'service': 'key-manager',
'api_version': self.api_version if include_version else ''
}