@adobe/aio-cli-plugin-certificate 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -13
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -34,23 +34,17 @@ $ aio certificate --help
|
|
|
34
34
|
Generate or verify a certificate for use with Adobe I/O
|
|
35
35
|
|
|
36
36
|
```
|
|
37
|
-
Generate or verify a certificate for use with Adobe I/O
|
|
38
|
-
|
|
39
37
|
USAGE
|
|
40
38
|
$ aio certificate
|
|
41
39
|
```
|
|
42
40
|
|
|
43
|
-
_See code: [src/commands/certificate/index.js](https://github.com/adobe/aio-cli-plugin-certificate/blob/0.3.
|
|
41
|
+
_See code: [src/commands/certificate/index.js](https://github.com/adobe/aio-cli-plugin-certificate/blob/0.3.1/src/commands/certificate/index.js)_
|
|
44
42
|
|
|
45
43
|
## `aio certificate:generate`
|
|
46
44
|
|
|
47
45
|
Generate a new private/public key pair
|
|
48
46
|
|
|
49
47
|
```
|
|
50
|
-
Generate a new private/public key pair
|
|
51
|
-
Generate a self-signed certificate to enable https:// on localhost or signing jwt payloads for interacting with Adobe services.
|
|
52
|
-
|
|
53
|
-
|
|
54
48
|
USAGE
|
|
55
49
|
$ aio certificate:generate
|
|
56
50
|
|
|
@@ -78,17 +72,13 @@ DESCRIPTION
|
|
|
78
72
|
services.
|
|
79
73
|
```
|
|
80
74
|
|
|
81
|
-
_See code: [src/commands/certificate/generate.js](https://github.com/adobe/aio-cli-plugin-certificate/blob/0.3.
|
|
75
|
+
_See code: [src/commands/certificate/generate.js](https://github.com/adobe/aio-cli-plugin-certificate/blob/0.3.1/src/commands/certificate/generate.js)_
|
|
82
76
|
|
|
83
77
|
## `aio certificate:verify FILE`
|
|
84
78
|
|
|
85
79
|
Verify a certificate for use with Adobe I/O
|
|
86
80
|
|
|
87
81
|
```
|
|
88
|
-
Verify a certificate for use with Adobe I/O
|
|
89
|
-
Verifies that the certificate is valid, and/or will not expire in [--days] days from now.
|
|
90
|
-
|
|
91
|
-
|
|
92
82
|
USAGE
|
|
93
83
|
$ aio certificate:verify FILE
|
|
94
84
|
|
|
@@ -102,7 +92,7 @@ DESCRIPTION
|
|
|
102
92
|
Verifies that the certificate is valid, and/or will not expire in [--days] days from now.
|
|
103
93
|
```
|
|
104
94
|
|
|
105
|
-
_See code: [src/commands/certificate/verify.js](https://github.com/adobe/aio-cli-plugin-certificate/blob/0.3.
|
|
95
|
+
_See code: [src/commands/certificate/verify.js](https://github.com/adobe/aio-cli-plugin-certificate/blob/0.3.1/src/commands/certificate/verify.js)_
|
|
106
96
|
<!-- commandsstop -->
|
|
107
97
|
|
|
108
98
|
## Contributing
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.3.
|
|
1
|
+
{"version":"0.3.1","commands":{"certificate:generate":{"id":"certificate:generate","description":"Generate a new private/public key pair\nGenerate a self-signed certificate to enable https:// on localhost or signing jwt payloads for interacting with Adobe services.\n","pluginName":"@adobe/aio-cli-plugin-certificate","pluginType":"core","aliases":[],"flags":{"keyout":{"name":"keyout","type":"option","description":"file to send the key to","default":"private.key"},"out":{"name":"out","type":"option","description":"output file","default":"certificate_pub.crt"},"name":{"name":"name","type":"option","char":"n","description":"Common Name: typically a host domain name, like www.mysite.com","default":"selfsign.localhost"},"country":{"name":"country","type":"option","char":"c","description":"Country Name"},"state":{"name":"state","type":"option","char":"s","description":"State or Province"},"locality":{"name":"locality","type":"option","char":"l","description":"Locality, or city name"},"organization":{"name":"organization","type":"option","char":"o","description":"Organization name"},"unit":{"name":"unit","type":"option","char":"u","description":"Organizational unit or department"},"days":{"name":"days","type":"option","description":"Number of days the certificate should be valid for. (Max 365)","default":365}},"args":[]},"certificate":{"id":"certificate","description":"Generate or verify a certificate for use with Adobe I/O","pluginName":"@adobe/aio-cli-plugin-certificate","pluginType":"core","aliases":[],"flags":{},"args":[]},"certificate:verify":{"id":"certificate:verify","description":"Verify a certificate for use with Adobe I/O\nVerifies that the certificate is valid, and/or will not expire in [--days] days from now.\n","pluginName":"@adobe/aio-cli-plugin-certificate","pluginType":"core","aliases":[],"flags":{"days":{"name":"days","type":"option","description":"+- is certificate valid in --days"}},"args":[{"name":"file","description":"file path to certificate to verify","required":true}]}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/aio-cli-plugin-certificate",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Generate and validate private certs, and public key pairs for use with Adobe IO Console",
|
|
5
5
|
"repository": "adobe/aio-cli-plugin-certificate",
|
|
6
6
|
"homepage": "https://github.com/adobe/aio-cli-plugin-certificate",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"@oclif/errors": "^1.1.2",
|
|
11
11
|
"debug": "^4.1.0",
|
|
12
12
|
"fs-extra": "^9.0.0",
|
|
13
|
-
"node-forge": "^
|
|
13
|
+
"node-forge": "^1.3.0"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@oclif/dev-cli": "^1.21.3",
|