Skip to content
Myr

update docs about fallback order

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent fb54159 · Browse files · 1 file+6 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−3 removed

  • other:+6 added−3 removed

1 file+6 added−3 removed

modified:docs/config.rst+6 added-3 removed
125 unmodified lines
126 Default: ``None``127128.. py:data:: SECRET_KEY_FALLBACKS129130 A list of old secret keys that can still be used for unsigning, most recent131 first. This allows a project to implement key rotation without invalidating132 active sessions or other recently-signed secrets.130 A list of old secret keys that can still be used for unsigning. This allows131 a project to implement key rotation without invalidating active sessions or132 other recently-signed secrets.133134 Keys should be removed after an appropriate period of time, as checking each135 additional key adds some overhead.136137 Order should not matter, but the default implementation will test the last138 key in the list first, so it might make sense to order oldest to newest.139140 Flask's built-in secure cookie session supports this. Extensions that use141 :data:`SECRET_KEY` may not support this yet.142143 Default: ``None``
696 unmodified lines