certd/packages/plugins/plugin-aliyun/test/options.js

43 lines
912 B
JavaScript
Raw Normal View History

2021-01-06 15:29:10 +00:00
import _ from 'lodash-es'
2020-12-18 17:57:52 +00:00
import optionsPrivate from '../../../test/options.private.mjs'
2020-12-15 16:35:05 +00:00
const defaultOptions = {
2020-12-20 16:32:17 +00:00
version: '1.0.0',
2020-12-25 17:37:53 +00:00
args: {
directory: 'test',
dry: false
},
2020-12-18 17:57:52 +00:00
accessProviders: {
2020-12-15 16:35:05 +00: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-25 17:37:53 +00:00
dnsProvider: 'aliyun',
certProvider: 'letsencrypt',
2020-12-15 16:35:05 +00:00
csrInfo: {
country: 'CN',
state: 'GuangDong',
locality: 'ShengZhen',
organization: 'CertD Org.',
organizationUnit: 'IT Department',
emailAddress: 'xiaojunnuo@qq.com'
}
2020-12-20 16:32:17 +00:00
}
2020-12-15 16:35:05 +00:00
}
_.merge(defaultOptions, optionsPrivate)
export default defaultOptions