Files
certd/packages/plugins/plugin-host/test/options.js

43 lines
912 B
JavaScript
Raw Normal View History

2021-01-06 23:29:10 +08:00
import _ from 'lodash-es'
2020-12-19 01:57:52 +08:00
import optionsPrivate from '../../../test/options.private.mjs'
2020-12-16 00:35:05 +08:00
const defaultOptions = {
2020-12-21 00:32:17 +08:00
version: '1.0.0',
2020-12-26 01:37:53 +08:00
args: {
directory: 'test',
dry: false
},
2020-12-19 01:57:52 +08:00
accessProviders: {
2020-12-16 00:35:05 +08:00
aliyun: {
providerType: 'aliyun',
accessKeyId: '',
accessKeySecret: ''
},
myLinux: {
providerType: 'SSH',
username: 'xxx',
password: 'xxx',
host: '1111.com',
port: 22,
publicKey: ''
}
},
cert: {
domains: ['*.docmirror.club', 'docmirror.club'],
email: 'xiaojunnuo@qq.com',
2020-12-26 01:37:53 +08:00
dnsProvider: 'aliyun',
certProvider: 'letsencrypt',
2020-12-16 00:35:05 +08:00
csrInfo: {
country: 'CN',
state: 'GuangDong',
locality: 'ShengZhen',
organization: 'CertD Org.',
organizationUnit: 'IT Department',
emailAddress: 'xiaojunnuo@qq.com'
}
2020-12-21 00:32:17 +08:00
}
2020-12-16 00:35:05 +08:00
}
_.merge(defaultOptions, optionsPrivate)
export default defaultOptions