Add defaults for Dogtag backend plugin

Change-Id: Icac1031f256963694e8b72882895e68af63ae897
This commit is contained in:
Ade Lee 2017-11-28 16:14:00 -05:00
parent 5425d684c0
commit 93141ca2da
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,7 @@ dogtag_plugin_group = cfg.OptGroup(name='dogtag_plugin',
title="Dogtag Plugin Options")
dogtag_plugin_opts = [
cfg.StrOpt('pem_path',
default='/etc/barbican/kra_admin_cert.pem',
help=u._('Path to PEM file for authentication')),
cfg.StrOpt('dogtag_host',
default="localhost",
@ -34,11 +35,13 @@ dogtag_plugin_opts = [
default=8443,
help=u._('Port for the Dogtag instance')),
cfg.StrOpt('nss_db_path',
default='/etc/barbican/alias',
help=u._('Path to the NSS certificate database')),
cfg.StrOpt('nss_password',
help=u._('Password for the NSS certificate databases'),
secret=True),
cfg.StrOpt('simple_cmc_profile',
default='caOtherCert',
help=u._('Profile for simple CMC requests')),
cfg.StrOpt('auto_approved_profiles',
default="caServerCert",
@ -47,6 +50,7 @@ dogtag_plugin_opts = [
default=cm.CA_INFO_DEFAULT_EXPIRATION_DAYS,
help=u._('Time in days for CA entries to expire')),
cfg.StrOpt('plugin_working_dir',
default='/etc/barbican/dogtag',
help=u._('Working directory for Dogtag plugin')),
cfg.StrOpt('plugin_name',
help=u._('User friendly plugin name'),