|
1 | 1 | --- |
| 2 | +# HSM support flag |
| 3 | +barbican_hsm_enabled: false |
| 4 | + |
2 | 5 | barbican_patch: | |
3 | 6 | spec: |
4 | 7 | barbican: |
@@ -38,3 +41,50 @@ barbican_patch: | |
38 | 41 | replicas: 1 |
39 | 42 | barbicanKeystoneListener: |
40 | 43 | replicas: 1 |
| 44 | +
|
| 45 | +barbican_hsm_patch: | |
| 46 | + spec: |
| 47 | + barbican: |
| 48 | + enabled: true |
| 49 | + apiOverride: |
| 50 | + route: {} |
| 51 | + template: |
| 52 | + databaseInstance: openstack |
| 53 | + databaseAccount: barbican |
| 54 | + rabbitMqClusterName: rabbitmq |
| 55 | + secret: osp-secret |
| 56 | + simpleCryptoBackendSecret: osp-secret |
| 57 | + serviceAccount: barbican |
| 58 | + serviceUser: barbican |
| 59 | + passwordSelectors: |
| 60 | + database: BarbicanDatabasePassword |
| 61 | + service: BarbicanPassword |
| 62 | + simplecryptokek: BarbicanSimpleCryptoKEK |
| 63 | + customServiceConfig: | |
| 64 | + [p11_crypto_plugin] |
| 65 | + plugin_name = PKCS11 |
| 66 | + library_path = {{ proteccio_library_path | default('/opt/tw_proteccio/lib/libnethsm.so') }} |
| 67 | + token_labels = {{ proteccio_hsm_tokens | default(['VHSM1']) | join(',') }} |
| 68 | + mkek_label = {{ proteccio_mkek_name | default('adoption_mkek_1') }} |
| 69 | + hmac_label = {{ proteccio_hmac_name | default('adoption_hmac_1') }} |
| 70 | + encryption_mechanism = CKM_AES_CBC |
| 71 | + hmac_key_type = CKK_GENERIC_SECRET |
| 72 | + hmac_keygen_mechanism = CKM_GENERIC_SECRET_KEY_GEN |
| 73 | + hmac_mechanism = CKM_SHA256_HMAC |
| 74 | + key_wrap_mechanism = CKM_AES_CBC_PAD |
| 75 | + key_wrap_generate_iv = true |
| 76 | + always_set_cka_sensitive = true |
| 77 | + os_locking_ok = false |
| 78 | + login = {{ proteccio_login_password | default('') }} |
| 79 | + globalDefaultSecretStore: pkcs11 |
| 80 | + enabledSecretStores: ["simple_crypto", "pkcs11"] |
| 81 | + pkcs11: |
| 82 | + loginSecret: hsm-login |
| 83 | + clientDataSecret: proteccio-data |
| 84 | + clientDataPath: /etc/proteccio |
| 85 | + barbicanAPI: |
| 86 | + replicas: 1 |
| 87 | + barbicanWorker: |
| 88 | + replicas: 1 |
| 89 | + barbicanKeystoneListener: |
| 90 | + replicas: 1 |
0 commit comments