File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ KEYSTONE_IDENTITY_BACKEND=${KEYSTONE_IDENTITY_BACKEND:-sql}
5555KEYSTONE_ASSIGNMENT_BACKEND=${KEYSTONE_ASSIGNMENT_BACKEND:-sql}
5656
5757# Select Keystone's token format
58- # Choose from 'UUID' and 'PKI'
58+ # Choose from 'UUID', 'PKI', or 'PKIZ '
5959KEYSTONE_TOKEN_FORMAT=${KEYSTONE_TOKEN_FORMAT:-PKI}
6060
6161# Set Keystone interface configuration
@@ -202,6 +202,8 @@ function configure_keystone {
202202
203203 if [[ "$KEYSTONE_TOKEN_FORMAT" = "UUID" ]]; then
204204 iniset $KEYSTONE_CONF token provider keystone.token.providers.uuid.Provider
205+ elif [[ "$KEYSTONE_TOKEN_FORMAT" = "PKIZ" ]]; then
206+ iniset $KEYSTONE_CONF token provider keystone.token.providers.pkiz.Provider
205207 fi
206208
207209 iniset $KEYSTONE_CONF database connection `database_connection_url keystone`
@@ -382,7 +384,7 @@ function init_keystone {
382384 # Initialize keystone database
383385 $KEYSTONE_DIR/bin/keystone-manage db_sync
384386
385- if [[ "$KEYSTONE_TOKEN_FORMAT" == "PKI" ]]; then
387+ if [[ "$KEYSTONE_TOKEN_FORMAT" == "PKI" || "$KEYSTONE_TOKEN_FORMAT" == "PKIZ" ]]; then
386388 # Set up certificates
387389 rm -rf $KEYSTONE_CONF_DIR/ssl
388390 $KEYSTONE_DIR/bin/keystone-manage pki_setup
You can’t perform that action at this time.
0 commit comments