Repository navigation
rgw: make secret cache separately configurable and provide options to disable. - #27170
mdw-at-linuxbox wants to merge 1 commit into
Conversation
…ret cache A new configuration option "rgw_keystone_secret_cache_size" is provided to control the size of the secret cache independently of the keystone cache. Because users can easily make multiple keystone tokens (in some cases a new token is created on every access), the keystone cache may need a fairly large size in order to be effective. The secret cache never needs to be larger than the number of active users. When "rgw_keystone_secret_cache_size" is set to zero the secret cache is entirely disabled. This forces rgw to always use the token validation logic that used to be the only way to operate. Sites that are particularly security conscious may require this mode of operation. This option may be changed dynamically at runtime without restarting rgw. Sites that are particularly concerned about security may want to provably and entirely remove the logic that fetches secret keys from keystone. The compile-time option "ENABLE_KEYSTONE_SECRET_CACHE=OFF" will remove the code that uses the secret cache at build time. Some parts of the secret cache are left in order to simplify the ifdef logic. Signed-off-by: Marcus Watts <[email protected]>
15575e3 to
e71b938
Compare
|
My first push of this had commits from |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution! |
|
@mdw-at-linuxbox @mattbenjamin do we still need this? |
rgw: keystone: options to separately size or disable the keystone secret cache