Use uuid as keystone default token provider
Keystone uses fernet as default provider in its code now. This patch adds provider=token in keystone.conf file explicitly. TrivialFix Change-Id: Id7142ff4f00ee99579ad420573eafefea0f4dcb7
This commit is contained in:
parent
2e01ce50f5
commit
fc54163319
@ -338,6 +338,7 @@ keystone_admin_url: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keyston
|
|||||||
keystone_internal_url: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v3"
|
keystone_internal_url: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v3"
|
||||||
keystone_public_url: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ keystone_public_port }}/v3"
|
keystone_public_url: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ keystone_public_port }}/v3"
|
||||||
|
|
||||||
|
# Valid options are [ uuid, fernet ]
|
||||||
keystone_token_provider: "uuid"
|
keystone_token_provider: "uuid"
|
||||||
fernet_token_expiry: 86400
|
fernet_token_expiry: 86400
|
||||||
|
|
||||||
|
@ -20,8 +20,10 @@ domain_specific_drivers_enabled = true
|
|||||||
domain_config_dir = /etc/keystone/domains
|
domain_config_dir = /etc/keystone/domains
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if keystone_token_provider == 'fernet' %}
|
|
||||||
[token]
|
[token]
|
||||||
|
{% if keystone_token_provider == 'uuid' %}
|
||||||
|
provider = uuid
|
||||||
|
{% elif keystone_token_provider == 'fernet' %}
|
||||||
provider = {{ keystone_token_provider }}
|
provider = {{ keystone_token_provider }}
|
||||||
expiration = {{ fernet_token_expiry }}
|
expiration = {{ fernet_token_expiry }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user