@adobe/aio-cli-plugin-certificate 1.0.0 → 1.0.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 +10 -16
- package/oclif.manifest.json +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -26,9 +26,9 @@ $ aio certificate --help
|
|
|
26
26
|
# Commands
|
|
27
27
|
<!-- commands -->
|
|
28
28
|
* [`aio certificate`](#aio-certificate)
|
|
29
|
-
* [`aio certificate
|
|
30
|
-
* [`aio certificate
|
|
31
|
-
* [`aio certificate
|
|
29
|
+
* [`aio certificate fingerprint FILE`](#aio-certificate-fingerprint-file)
|
|
30
|
+
* [`aio certificate generate`](#aio-certificate-generate)
|
|
31
|
+
* [`aio certificate verify FILE`](#aio-certificate-verify-file)
|
|
32
32
|
|
|
33
33
|
## `aio certificate`
|
|
34
34
|
|
|
@@ -42,15 +42,15 @@ DESCRIPTION
|
|
|
42
42
|
Generate, fingerprint, or verify a certificate for use with Adobe I/O
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
_See code: [src/commands/certificate/index.js](https://github.com/adobe/aio-cli-plugin-certificate/blob/1.0.
|
|
45
|
+
_See code: [src/commands/certificate/index.js](https://github.com/adobe/aio-cli-plugin-certificate/blob/1.0.1/src/commands/certificate/index.js)_
|
|
46
46
|
|
|
47
|
-
## `aio certificate
|
|
47
|
+
## `aio certificate fingerprint FILE`
|
|
48
48
|
|
|
49
49
|
Compute the fingerprint of a public key certificate for use with Adobe I/O
|
|
50
50
|
|
|
51
51
|
```
|
|
52
52
|
USAGE
|
|
53
|
-
$ aio certificate
|
|
53
|
+
$ aio certificate fingerprint [FILE]
|
|
54
54
|
|
|
55
55
|
ARGUMENTS
|
|
56
56
|
FILE file path to certificate to fingerprint
|
|
@@ -59,15 +59,13 @@ DESCRIPTION
|
|
|
59
59
|
Compute the fingerprint of a public key certificate for use with Adobe I/O
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
## `aio certificate:generate`
|
|
62
|
+
## `aio certificate generate`
|
|
65
63
|
|
|
66
64
|
Generate a new private/public key pair
|
|
67
65
|
|
|
68
66
|
```
|
|
69
67
|
USAGE
|
|
70
|
-
$ aio certificate
|
|
68
|
+
$ aio certificate generate [--keyout <value>] [--out <value>] [-n <value>] [-c <value>] [-s <value>] [-l <value>] [-o
|
|
71
69
|
<value>] [-u <value>] [--days <value>]
|
|
72
70
|
|
|
73
71
|
FLAGS
|
|
@@ -89,15 +87,13 @@ DESCRIPTION
|
|
|
89
87
|
services.
|
|
90
88
|
```
|
|
91
89
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
## `aio certificate:verify FILE`
|
|
90
|
+
## `aio certificate verify FILE`
|
|
95
91
|
|
|
96
92
|
Verify a certificate for use with Adobe I/O
|
|
97
93
|
|
|
98
94
|
```
|
|
99
95
|
USAGE
|
|
100
|
-
$ aio certificate
|
|
96
|
+
$ aio certificate verify [FILE] [--days <value>]
|
|
101
97
|
|
|
102
98
|
ARGUMENTS
|
|
103
99
|
FILE file path to certificate to verify
|
|
@@ -110,8 +106,6 @@ DESCRIPTION
|
|
|
110
106
|
|
|
111
107
|
Verifies that the certificate is valid, and/or will not expire in [--days] days from now.
|
|
112
108
|
```
|
|
113
|
-
|
|
114
|
-
_See code: [src/commands/certificate/verify.js](https://github.com/adobe/aio-cli-plugin-certificate/blob/1.0.0/src/commands/certificate/verify.js)_
|
|
115
109
|
<!-- commandsstop -->
|
|
116
110
|
|
|
117
111
|
## Contributing
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.0.
|
|
1
|
+
{"version":"1.0.1","commands":{"certificate:fingerprint":{"id":"certificate:fingerprint","description":"Compute the fingerprint of a public key certificate for use with Adobe I/O","strict":true,"pluginName":"@adobe/aio-cli-plugin-certificate","pluginAlias":"@adobe/aio-cli-plugin-certificate","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"file","description":"file path to certificate to fingerprint","required":true}]},"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","strict":true,"pluginName":"@adobe/aio-cli-plugin-certificate","pluginAlias":"@adobe/aio-cli-plugin-certificate","pluginType":"core","aliases":[],"flags":{"keyout":{"name":"keyout","type":"option","description":"file to send the key to","multiple":false,"default":"private.key"},"out":{"name":"out","type":"option","description":"output file","multiple":false,"default":"certificate_pub.crt"},"name":{"name":"name","type":"option","char":"n","description":"Common Name: typically a host domain name, like www.mysite.com","multiple":false,"default":"selfsign.localhost"},"country":{"name":"country","type":"option","char":"c","description":"Country Name","multiple":false},"state":{"name":"state","type":"option","char":"s","description":"State or Province","multiple":false},"locality":{"name":"locality","type":"option","char":"l","description":"Locality, or city name","multiple":false},"organization":{"name":"organization","type":"option","char":"o","description":"Organization name","multiple":false},"unit":{"name":"unit","type":"option","char":"u","description":"Organizational unit or department","multiple":false},"days":{"name":"days","type":"option","description":"Number of days the certificate should be valid for. (Max 365)","multiple":false,"default":365}},"args":[]},"certificate":{"id":"certificate","description":"Generate, fingerprint, or verify a certificate for use with Adobe I/O","strict":true,"pluginName":"@adobe/aio-cli-plugin-certificate","pluginAlias":"@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","strict":true,"pluginName":"@adobe/aio-cli-plugin-certificate","pluginAlias":"@adobe/aio-cli-plugin-certificate","pluginType":"core","aliases":[],"flags":{"days":{"name":"days","type":"option","description":"+- is certificate valid in --days","multiple":false}},"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": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Generate and validate private certificates, 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",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"jest": "^24.1.0",
|
|
24
24
|
"jest-junit": "^10.0.0",
|
|
25
25
|
"jest-resolve": "^26.0.0",
|
|
26
|
-
"oclif": "^3.0
|
|
26
|
+
"oclif": "^3.2.0",
|
|
27
27
|
"stdout-stderr": "^0.1.9"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"oclif": {
|
|
43
43
|
"commands": "./src/commands",
|
|
44
44
|
"bin": "aio",
|
|
45
|
+
"topicSeparator": " ",
|
|
45
46
|
"repositoryPrefix": "<%- repo %>/blob/<%- version %>/<%- commandPath %>"
|
|
46
47
|
},
|
|
47
48
|
"main": "src/certificate.js",
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
"posttest": "eslint src test",
|
|
50
51
|
"test": "npm run unit-tests",
|
|
51
52
|
"unit-tests": "jest --ci",
|
|
52
|
-
"prepack": "oclif manifest && oclif readme",
|
|
53
|
+
"prepack": "oclif manifest && oclif readme --no-aliases",
|
|
53
54
|
"postpack": "rm -f oclif.manifest.json",
|
|
54
55
|
"version": "oclif readme && git add README.md"
|
|
55
56
|
},
|