grenade/projects/10_keystone/from-newton/upgrade-keystone

16 lines
385 B
Plaintext

# ``upgrade-keystone``
function configure_keystone_upgrade {
local xtrace
xtrace=$(set +o | grep xtrace)
set -o xtrace
# Run `keysetone-manage fernet_setup` to ensure keystone has a fernet
# key repository to encrypt and decrypt tokens.
$KEYSTONE_BIN_DIR/keystone-manage --config-file $KEYSTONE_CONF fernet_setup
# reset to previous state
$xtrace
}