11[DEFAULT]
22# keep this for backward compatibility
33sql_connection = {{ .DatabaseConnection }}
4- {{ if (index . "ServiceURL") }}
4+ {{- if (index . "ServiceURL") }}
55host_href = {{ .ServiceURL }}
6- {{ end }}
6+ {{- end }}
77debug = true
88transport_url = {{ .TransportURL }}
99log_file = {{ .LogFile }}
@@ -13,7 +13,7 @@ max_retries=-1
1313db_max_retries=-1
1414connection={{ .DatabaseConnection }}
1515
16- {{ if (index . "KeystoneAuthURL") }}
16+ {{- if (index . "KeystoneAuthURL") }}
1717[keystone_authtoken]
1818auth_version = v3
1919auth_url={{ .KeystoneAuthURL }}
@@ -24,7 +24,7 @@ password = {{ .ServicePassword }}
2424project_name=service
2525project_domain_name=Default
2626interface = internal
27- {{ end }}
27+ {{- end }}
2828
2929[keystone_notifications]
3030enable = true
@@ -33,40 +33,42 @@ topic = barbican_notifications
3333[oslo_messaging_notifications]
3434driver=messagingv2
3535
36- {{ if (index . "EnableSecureRBAC") }}
36+ {{- if (index . "EnableSecureRBAC") }}
3737[oslo_policy]
3838enforce_scope = {{ .EnableSecureRBAC }}
3939enforce_new_defaults = {{ .EnableSecureRBAC }}
40- {{ end }}
40+ {{- end }}
4141
4242[queue]
4343enable = true
4444
4545[secretstore]
4646enable_multiple_secret_stores = true
4747stores_lookup_suffix = {{ .EnabledSecretStores }}
48-
48+ # enabled_secretstore_plugins = store_crypto
4949{{ if .SimpleCryptoEnabled }}
50- [secretstore:software ]
50+ [secretstore:simple_crypto ]
5151secret_store_plugin = store_crypto
5252crypto_plugin = simple_crypto
53- {{ end }}
54- {{ if eq .GlobalDefaultSecretStore "simple_crypto" }} global_default = true {{ end }}
53+ {{- if eq .GlobalDefaultSecretStore "simple_crypto" }}
54+ global_default = true
55+ {{- end }}
5556
56- {{ if .SimpleCryptoEnabled }}
5757[simple_crypto_plugin]
5858plugin_name = Software Only Crypto
59- {{ end }}
60- {{ if (index . "SimpleCryptoKEK") }} kek = {{ .SimpleCryptoKEK }} {{ end }}
61-
59+ {{- if (index . "SimpleCryptoKEK") }}
60+ kek = {{ .SimpleCryptoKEK }}
61+ {{- end }}
62+ {{- end }}
6263{{ if and (index . "HSMEnabled") .HSMEnabled }}
6364[secretstore:pkcs11]
6465secret_store_plugin = store_crypto
6566crypto_plugin = p11_crypto
67+ {{- if eq .GlobalDefaultSecretStore "pkcs11" }}
68+ global_default = true
6669{{ end }}
67- {{ if eq .GlobalDefaultSecretStore "pkcs11" }} global_default = true {{ end }}
6870
69- {{ if and (index . "HSMEnabled") .HSMEnabled }}
71+ >>>>>>> cb6279b (Barbican Support for Luna HSM)
7072[p11_crypto_plugin]
7173library_path = {{ .HSMLibraryPath }}
7274token_serial_number = {{ .HSMTokenSerialNumber }}
0 commit comments