| 1 | --- |
| 2 | prelude: > |
| 3 | - The default token provider is now Fernet. |
| 4 | upgrade: |
| 5 | - > |
| 6 | [`bug 1561054 <https://bugs.launchpad.net/keystone/+bug/1561054>`_] |
| 7 | The default token provider has switched from UUID to Fernet. Please note |
| 8 | Fernet requires a key repository to be in place prior to running Ocata, |
| 9 | this can be done by running ``keystone-manage fernet_setup``. |
| 10 | Additionally, for multi-node deployments, it is imperative a key |
| 11 | distribution process be in use before upgrading. Once a key repository has |
| 12 | been created it should be distributed to all keystone nodes in the deployment. |
| 13 | This ensures each keystone node will be able to validate tokens issued |
| 14 | across the deployment. If you do not wish to switch token formats, you will |
| 15 | need to explicitly set the token provider for each node in the deployment |
| 16 | by setting ``[token] provider`` to ``uuid`` in ``keystone.conf``. |
| 17 | Documentation can be found at `fernet-tokens <https://docs.openstack.org/developer/keystone/configuration.html#encryption-keys-for-fernet-tokens>`_. |
| 18 | critical: |
| 19 | - > |
| 20 | [`bug 1561054 <https://bugs.launchpad.net/keystone/+bug/1561054>`_] |
| 21 | If upgrading to Fernet tokens, you must have a key repository and key distribution |
| 22 | mechanism in place, otherwise token validation may not work. Please see the |
| 23 | upgrade section for more details. |