Make fernet max active keys configurable
This will set the max_active_keys setting in keystone.conf, and furtherly we'll read this value from tripleo-common to do purging of keys if necessary. bp keystone-fernet-rotation Change-Id: I9c6b0708c2c03ad9918222599f8b6aad397d8089
This commit is contained in:
parent
24d552ae33
commit
4ec13cc91b
@ -122,6 +122,10 @@ parameters:
|
|||||||
KeystoneFernetKeys:
|
KeystoneFernetKeys:
|
||||||
type: json
|
type: json
|
||||||
description: Mapping containing keystone's fernet keys and their paths.
|
description: Mapping containing keystone's fernet keys and their paths.
|
||||||
|
KeystoneFernetMaxActiveKeys:
|
||||||
|
type: number
|
||||||
|
description: The maximum active keys in the keystone fernet key repository.
|
||||||
|
default: 5
|
||||||
ManageKeystoneFernetKeys:
|
ManageKeystoneFernetKeys:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
@ -258,6 +262,7 @@ outputs:
|
|||||||
keystone_ssl_certificate_key: {get_param: KeystoneSSLCertificateKey}
|
keystone_ssl_certificate_key: {get_param: KeystoneSSLCertificateKey}
|
||||||
keystone::token_provider: {get_param: KeystoneTokenProvider}
|
keystone::token_provider: {get_param: KeystoneTokenProvider}
|
||||||
keystone::enable_fernet_setup: {if: [keystone_fernet_tokens, true, false]}
|
keystone::enable_fernet_setup: {if: [keystone_fernet_tokens, true, false]}
|
||||||
|
keystone::fernet_max_active_keys: {get_param: KeystoneFernetMaxActiveKeys}
|
||||||
keystone::enable_proxy_headers_parsing: true
|
keystone::enable_proxy_headers_parsing: true
|
||||||
keystone::enable_credential_setup: true
|
keystone::enable_credential_setup: true
|
||||||
keystone::credential_keys:
|
keystone::credential_keys:
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- KeystoneFernetMaxActiveKeys was introduced as a parameter to the keystone
|
||||||
|
profile. It sets the max_active_keys value of the keystone.conf file and
|
||||||
|
will subsequently be used by mistral to purge the keys in a mistral task.
|
Loading…
Reference in New Issue
Block a user