Browse Source

Fix wrong comments about the required parameters

Some parameters in the barbican::plugins::p11_crypto class and the
barbican::plugins::kmip class are always required when these classes
are loaded.
This patch update the description about these parameters so that it
clearly shows that they are always required.

Change-Id: Ie8f77821e5a09362972aa059ac44b45409eee3fd
changes/77/759777/3
Takashi Kajinami 2 years ago
parent
commit
ed44272a2e
  1. 20
      manifests/plugins/kmip.pp
  2. 23
      manifests/plugins/p11_crypto.pp

20
manifests/plugins/kmip.pp

@ -6,32 +6,32 @@
#
# [*kmip_plugin_username*]
# (optional) username for KMIP device
# Required if kmip_plugin is enabled.
# Defaults to undef
#
# [*kmip_plugin_password*]
# (optional) password for KMIP device
# Required if kmip_plugin is enabled.
# (optional) password for KMIP device. This parameter is required
# when the kmip_plugin_username parameter is set.
# Defaults to undef
#
# [*kmip_plugin_host*]
# (optional) username for KMIP device
# Defaults to undef
# (required) username for KMIP device
#
# [*kmip_plugin_port*]
# (optional) port for KMIP device
# Defaults to undef
# (required) port for KMIP device
#
# [*kmip_plugin_keyfile*]
# (optional) key file for KMIP device
# (optional) key file for KMIP device. This parameter is required when
# the kmip_plugin_username parameter is not set.
# Defaults to undef
#
# [*kmip_plugin_certfile*]
# (optional) cert file for KMIP device
# (optional) cert file for KMIP device. This parameter is required when
# the kmip_plugin_username parameter is not set.
# Defaults to undef
#
# [*kmip_plugin_ca_certs*]
# (optional) ca certs file for KMIP device
# (optional) ca certs file for KMIP device. This parameter is required when
# the kmip_plugin_username parameter is not set.
# Defaults to undef
#
# [*global_default*]

23
manifests/plugins/p11_crypto.pp

@ -5,33 +5,22 @@
# === Parameters
#
# [*p11_crypto_plugin_library_path*]
# (optional) Path to vendor PKCS11 library
# Defaults to $::os_service_default
# (required) Path to vendor PKCS11 library
#
# [*p11_crypto_plugin_login*]
# (optional) Password to login to PKCS11 session
# Required if p11_crypto_plugin is enabled.
# Defaults to undef
# (required) Password to login to PKCS11 session
#
# [*p11_crypto_plugin_mkek_label*]
# (optional) Label to identify master KEK in the HSM
# Required if p11_crypto_plugin is enabled.
# Defaults to undef
# (required) Label to identify master KEK in the HSM
#
# [*p11_crypto_plugin_mkek_length*]
# (optional) Length in bytes of master KEK
# Required if p11_crypto_plugin is enabled.
# Defaults to undef
# (required) Length in bytes of master KEK
#
# [*p11_crypto_plugin_hmac_label*]
# (optional) Label to identify master KEK in the HSM
# Required if p11_crypto_plugin is enabled.
# Defaults to undef
# (required) Label to identify master KEK in the HSM
#
# [*p11_crypto_plugin_slot_id*]
# (optional) HSM Slot id
# Required if p11_crypto_plugin is enabled.
# Defaults to undef
# (required) HSM Slot id
#
# [*p11_crypto_plugin_encryption_mechanism*]
# (optional) PKCS#11 Mechanism used for encryption

Loading…
Cancel
Save