@heroku-cli/plugin-mtls 0.9.1 → 1.0.0-beta.0
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/LICENSE +21 -0
- package/README.md +207 -110
- package/dist/README.md +347 -0
- package/{base.d.ts → dist/base.d.ts} +2 -2
- package/{base.js → dist/base.js} +5 -1
- package/dist/commands/data/mtls/certificates/create.d.ts +12 -0
- package/dist/commands/data/mtls/certificates/create.js +32 -0
- package/dist/commands/data/mtls/certificates/delete.d.ts +13 -0
- package/dist/commands/data/mtls/certificates/delete.js +32 -0
- package/dist/commands/data/mtls/certificates/download.d.ts +15 -0
- package/{commands → dist/commands}/data/mtls/certificates/download.js +41 -40
- package/dist/commands/data/mtls/certificates/get.d.ts +13 -0
- package/dist/commands/data/mtls/certificates/get.js +32 -0
- package/dist/commands/data/mtls/certificates/index.d.ts +12 -0
- package/{commands → dist/commands}/data/mtls/certificates/index.js +17 -16
- package/dist/commands/data/mtls/create.d.ts +12 -0
- package/dist/commands/data/mtls/create.js +43 -0
- package/dist/commands/data/mtls/destroy.d.ts +13 -0
- package/dist/commands/data/mtls/destroy.js +32 -0
- package/dist/commands/data/mtls/index.d.ts +12 -0
- package/{commands → dist/commands}/data/mtls/index.js +17 -16
- package/dist/commands/data/mtls/ip-rules/create.d.ts +14 -0
- package/dist/commands/data/mtls/ip-rules/create.js +37 -0
- package/dist/commands/data/mtls/ip-rules/delete.d.ts +14 -0
- package/dist/commands/data/mtls/ip-rules/delete.js +49 -0
- package/dist/commands/data/mtls/ip-rules/get.d.ts +13 -0
- package/dist/commands/data/mtls/ip-rules/get.js +27 -0
- package/dist/commands/data/mtls/ip-rules/index.d.ts +12 -0
- package/dist/commands/data/mtls/ip-rules/index.js +32 -0
- package/{lib → dist/lib}/fetcher.js +6 -6
- package/dist/oclif.manifest.json +575 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/utils/file-helper.d.ts +4 -0
- package/dist/utils/file-helper.js +11 -0
- package/{utils → dist/utils}/is-error-http.js +1 -2
- package/{utils → dist/utils}/is-error-message.js +1 -2
- package/dist/utils/table.js +42 -0
- package/package.json +47 -11
- package/commands/data/mtls/certificates/create.d.ts +0 -13
- package/commands/data/mtls/certificates/create.js +0 -31
- package/commands/data/mtls/certificates/delete.d.ts +0 -14
- package/commands/data/mtls/certificates/delete.js +0 -31
- package/commands/data/mtls/certificates/download.d.ts +0 -16
- package/commands/data/mtls/certificates/get.d.ts +0 -14
- package/commands/data/mtls/certificates/get.js +0 -31
- package/commands/data/mtls/certificates/index.d.ts +0 -13
- package/commands/data/mtls/create.d.ts +0 -13
- package/commands/data/mtls/create.js +0 -42
- package/commands/data/mtls/destroy.d.ts +0 -14
- package/commands/data/mtls/destroy.js +0 -31
- package/commands/data/mtls/index.d.ts +0 -13
- package/commands/data/mtls/ip-rules/create.d.ts +0 -15
- package/commands/data/mtls/ip-rules/create.js +0 -33
- package/commands/data/mtls/ip-rules/delete.d.ts +0 -15
- package/commands/data/mtls/ip-rules/delete.js +0 -48
- package/commands/data/mtls/ip-rules/get.d.ts +0 -14
- package/commands/data/mtls/ip-rules/get.js +0 -26
- package/commands/data/mtls/ip-rules/index.d.ts +0 -13
- package/commands/data/mtls/ip-rules/index.js +0 -31
- package/oclif.manifest.json +0 -1
- package/utils/table.js +0 -18
- /package/{index.d.ts → dist/index.d.ts} +0 -0
- /package/{index.js → dist/index.js} +0 -0
- /package/{lib → dist/lib}/fetcher.d.ts +0 -0
- /package/{utils → dist/utils}/is-error-http.d.ts +0 -0
- /package/{utils → dist/utils}/is-error-message.d.ts +0 -0
- /package/{utils → dist/utils}/table.d.ts +0 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025, Heroku <>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -14,237 +14,334 @@ $ heroku plugins:install @heroku-cli/plugin-mtls
|
|
|
14
14
|
```
|
|
15
15
|
# Commands
|
|
16
16
|
<!-- commands -->
|
|
17
|
-
* [`heroku data:mtls
|
|
18
|
-
* [`heroku data:mtls:certificates
|
|
19
|
-
* [`heroku data:mtls:certificates:create
|
|
20
|
-
* [`heroku data:mtls:certificates:delete
|
|
21
|
-
* [`heroku data:mtls:certificates:download
|
|
22
|
-
* [`heroku data:mtls:certificates:get
|
|
23
|
-
* [`heroku data:mtls:create
|
|
24
|
-
* [`heroku data:mtls:
|
|
25
|
-
* [`heroku data:mtls:
|
|
26
|
-
* [`heroku data:mtls:ip-rules
|
|
27
|
-
* [`heroku data:mtls:ip-rules:
|
|
28
|
-
* [`heroku data:mtls:ip-rules:
|
|
29
|
-
|
|
30
|
-
|
|
17
|
+
* [`heroku data:mtls ADDON`](#heroku-datamtls-addon)
|
|
18
|
+
* [`heroku data:mtls:certificates ADDON`](#heroku-datamtlscertificates-addon)
|
|
19
|
+
* [`heroku data:mtls:certificates:create ADDON`](#heroku-datamtlscertificatescreate-addon)
|
|
20
|
+
* [`heroku data:mtls:certificates:delete ADDON`](#heroku-datamtlscertificatesdelete-addon)
|
|
21
|
+
* [`heroku data:mtls:certificates:download ADDON`](#heroku-datamtlscertificatesdownload-addon)
|
|
22
|
+
* [`heroku data:mtls:certificates:get ADDON`](#heroku-datamtlscertificatesget-addon)
|
|
23
|
+
* [`heroku data:mtls:create ADDON`](#heroku-datamtlscreate-addon)
|
|
24
|
+
* [`heroku data:mtls:delete ADDON`](#heroku-datamtlsdelete-addon)
|
|
25
|
+
* [`heroku data:mtls:destroy ADDON`](#heroku-datamtlsdestroy-addon)
|
|
26
|
+
* [`heroku data:mtls:ip-rules ADDON`](#heroku-datamtlsip-rules-addon)
|
|
27
|
+
* [`heroku data:mtls:ip-rules:create ADDON`](#heroku-datamtlsip-rulescreate-addon)
|
|
28
|
+
* [`heroku data:mtls:ip-rules:delete ADDON`](#heroku-datamtlsip-rulesdelete-addon)
|
|
29
|
+
* [`heroku data:mtls:ip-rules:get ADDON`](#heroku-datamtlsip-rulesget-addon)
|
|
30
|
+
|
|
31
|
+
## `heroku data:mtls ADDON`
|
|
31
32
|
|
|
32
33
|
get the status of MTLS for your addon
|
|
33
34
|
|
|
34
35
|
```
|
|
35
36
|
USAGE
|
|
36
|
-
$ heroku data:mtls
|
|
37
|
+
$ heroku data:mtls ADDON -a <value>
|
|
37
38
|
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
ARGUMENTS
|
|
40
|
+
ADDON addon
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
FLAGS
|
|
43
|
+
-a, --app=<value> (required) app to run command against
|
|
44
|
+
|
|
45
|
+
DESCRIPTION
|
|
46
|
+
get the status of MTLS for your addon
|
|
47
|
+
|
|
48
|
+
EXAMPLES
|
|
49
|
+
$ heroku data:mtls postgresql-sushi-12345 -a example-app
|
|
43
50
|
```
|
|
44
51
|
|
|
45
|
-
_See code: [src/commands/data/mtls/index.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/
|
|
52
|
+
_See code: [src/commands/data/mtls/index.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/v1.0.0-beta.0/src/commands/data/mtls/index.ts)_
|
|
46
53
|
|
|
47
|
-
## `heroku data:mtls:certificates
|
|
54
|
+
## `heroku data:mtls:certificates ADDON`
|
|
48
55
|
|
|
49
56
|
get the certificates for your MTLS enabled addon
|
|
50
57
|
|
|
51
58
|
```
|
|
52
59
|
USAGE
|
|
53
|
-
$ heroku data:mtls:certificates
|
|
60
|
+
$ heroku data:mtls:certificates ADDON -a <value>
|
|
61
|
+
|
|
62
|
+
ARGUMENTS
|
|
63
|
+
ADDON addon
|
|
54
64
|
|
|
55
|
-
|
|
56
|
-
-a, --app
|
|
65
|
+
FLAGS
|
|
66
|
+
-a, --app=<value> (required) app to run command against
|
|
57
67
|
|
|
58
|
-
|
|
59
|
-
|
|
68
|
+
DESCRIPTION
|
|
69
|
+
get the certificates for your MTLS enabled addon
|
|
70
|
+
|
|
71
|
+
EXAMPLES
|
|
72
|
+
$ heroku data:mtls:certificates postgresql-sushi-12345 -a example-app
|
|
60
73
|
```
|
|
61
74
|
|
|
62
|
-
_See code: [src/commands/data/mtls/certificates/index.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/
|
|
75
|
+
_See code: [src/commands/data/mtls/certificates/index.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/v1.0.0-beta.0/src/commands/data/mtls/certificates/index.ts)_
|
|
63
76
|
|
|
64
|
-
## `heroku data:mtls:certificates:create
|
|
77
|
+
## `heroku data:mtls:certificates:create ADDON`
|
|
65
78
|
|
|
66
79
|
create a new certificate for your MTLS enabled addon
|
|
67
80
|
|
|
68
81
|
```
|
|
69
82
|
USAGE
|
|
70
|
-
$ heroku data:mtls:certificates:create
|
|
83
|
+
$ heroku data:mtls:certificates:create ADDON -a <value>
|
|
84
|
+
|
|
85
|
+
ARGUMENTS
|
|
86
|
+
ADDON addon
|
|
71
87
|
|
|
72
|
-
|
|
73
|
-
-a, --app
|
|
88
|
+
FLAGS
|
|
89
|
+
-a, --app=<value> (required) app to run command against
|
|
74
90
|
|
|
75
|
-
|
|
76
|
-
|
|
91
|
+
DESCRIPTION
|
|
92
|
+
create a new certificate for your MTLS enabled addon
|
|
93
|
+
|
|
94
|
+
EXAMPLES
|
|
95
|
+
$ heroku data:mtls:certificates:create postgresql-sushi-12345 -a example-app
|
|
77
96
|
```
|
|
78
97
|
|
|
79
|
-
_See code: [src/commands/data/mtls/certificates/create.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/
|
|
98
|
+
_See code: [src/commands/data/mtls/certificates/create.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/v1.0.0-beta.0/src/commands/data/mtls/certificates/create.ts)_
|
|
80
99
|
|
|
81
|
-
## `heroku data:mtls:certificates:delete
|
|
100
|
+
## `heroku data:mtls:certificates:delete ADDON`
|
|
82
101
|
|
|
83
102
|
delete a specific certificate for your MTLS enabled addon
|
|
84
103
|
|
|
85
104
|
```
|
|
86
105
|
USAGE
|
|
87
|
-
$ heroku data:mtls:certificates:delete
|
|
106
|
+
$ heroku data:mtls:certificates:delete ADDON -a <value> --id <value>
|
|
107
|
+
|
|
108
|
+
ARGUMENTS
|
|
109
|
+
ADDON addon
|
|
88
110
|
|
|
89
|
-
|
|
90
|
-
-a, --app
|
|
91
|
-
|
|
111
|
+
FLAGS
|
|
112
|
+
-a, --app=<value> (required) app to run command against
|
|
113
|
+
--id=<value> (required) id of certificate
|
|
92
114
|
|
|
93
|
-
|
|
94
|
-
|
|
115
|
+
DESCRIPTION
|
|
116
|
+
delete a specific certificate for your MTLS enabled addon
|
|
117
|
+
|
|
118
|
+
EXAMPLES
|
|
119
|
+
$ heroku data:mtls:certificates:delete postgresql-sushi-12345 --id "1862ec85-fdc1-47b3-924e-a91d26ca3a7c" -a example-app
|
|
95
120
|
```
|
|
96
121
|
|
|
97
|
-
_See code: [src/commands/data/mtls/certificates/delete.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/
|
|
122
|
+
_See code: [src/commands/data/mtls/certificates/delete.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/v1.0.0-beta.0/src/commands/data/mtls/certificates/delete.ts)_
|
|
98
123
|
|
|
99
|
-
## `heroku data:mtls:certificates:download
|
|
124
|
+
## `heroku data:mtls:certificates:download ADDON`
|
|
100
125
|
|
|
101
126
|
download your certificate bundle for your mTLS addon
|
|
102
127
|
|
|
103
128
|
```
|
|
104
129
|
USAGE
|
|
105
|
-
$ heroku data:mtls:certificates:download [
|
|
130
|
+
$ heroku data:mtls:certificates:download ADDON -a <value> --prefix <value> [--dir <value>] [--id <value>]
|
|
131
|
+
|
|
132
|
+
ARGUMENTS
|
|
133
|
+
ADDON addon
|
|
106
134
|
|
|
107
|
-
|
|
108
|
-
-a, --app
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
135
|
+
FLAGS
|
|
136
|
+
-a, --app=<value> (required) app to run command against
|
|
137
|
+
--dir=<value> directory to download files to. defaults to HOME:/.postgresql
|
|
138
|
+
--id=<value> ID of certificate to download
|
|
139
|
+
--prefix=<value> (required) prefix to put in front of downloaded file names
|
|
140
|
+
|
|
141
|
+
DESCRIPTION
|
|
142
|
+
download your certificate bundle for your mTLS addon
|
|
112
143
|
|
|
113
144
|
EXAMPLES
|
|
114
|
-
$ heroku data:mtls:certificates:download postgresql-sushi-12345 --id "3559a4df-2c82-4473-86cf-181310a6ef4f"
|
|
115
|
-
|
|
116
|
-
"./folder"
|
|
117
|
-
|
|
118
|
-
"prefix_"
|
|
145
|
+
$ heroku data:mtls:certificates:download postgresql-sushi-12345 --id "3559a4df-2c82-4473-86cf-181310a6ef4f" -a example-app
|
|
146
|
+
|
|
147
|
+
$ heroku data:mtls:certificates:download postgresql-sushi-12345 --id "3559a4df-2c82-4473-86cf-181310a6ef4f" --dir "./folder" -a example-app
|
|
148
|
+
|
|
149
|
+
$ heroku data:mtls:certificates:download postgresql-sushi-12345 --id "3559a4df-2c82-4473-86cf-181310a6ef4f --prefix "prefix_" -a example-app
|
|
119
150
|
```
|
|
120
151
|
|
|
121
|
-
_See code: [src/commands/data/mtls/certificates/download.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/
|
|
152
|
+
_See code: [src/commands/data/mtls/certificates/download.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/v1.0.0-beta.0/src/commands/data/mtls/certificates/download.ts)_
|
|
122
153
|
|
|
123
|
-
## `heroku data:mtls:certificates:get
|
|
154
|
+
## `heroku data:mtls:certificates:get ADDON`
|
|
124
155
|
|
|
125
156
|
get a specific certificate for your MTLS enabled addon
|
|
126
157
|
|
|
127
158
|
```
|
|
128
159
|
USAGE
|
|
129
|
-
$ heroku data:mtls:certificates:get
|
|
160
|
+
$ heroku data:mtls:certificates:get ADDON -a <value> --id <value>
|
|
161
|
+
|
|
162
|
+
ARGUMENTS
|
|
163
|
+
ADDON addon
|
|
130
164
|
|
|
131
|
-
|
|
132
|
-
-a, --app
|
|
133
|
-
|
|
165
|
+
FLAGS
|
|
166
|
+
-a, --app=<value> (required) app to run command against
|
|
167
|
+
--id=<value> (required) id of IP Rule
|
|
134
168
|
|
|
135
|
-
|
|
136
|
-
|
|
169
|
+
DESCRIPTION
|
|
170
|
+
get a specific certificate for your MTLS enabled addon
|
|
171
|
+
|
|
172
|
+
EXAMPLES
|
|
173
|
+
$ heroku data:mtls:certificates:get postgresql-sushi-12345 --id "1862ec85-fdc1-47b3-924e-a91d26ca3a7c" -a example-app
|
|
137
174
|
```
|
|
138
175
|
|
|
139
|
-
_See code: [src/commands/data/mtls/certificates/get.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/
|
|
176
|
+
_See code: [src/commands/data/mtls/certificates/get.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/v1.0.0-beta.0/src/commands/data/mtls/certificates/get.ts)_
|
|
140
177
|
|
|
141
|
-
## `heroku data:mtls:create
|
|
178
|
+
## `heroku data:mtls:create ADDON`
|
|
142
179
|
|
|
143
180
|
enable MTLS for your addon
|
|
144
181
|
|
|
145
182
|
```
|
|
146
183
|
USAGE
|
|
147
|
-
$ heroku data:mtls:create
|
|
184
|
+
$ heroku data:mtls:create ADDON -a <value>
|
|
185
|
+
|
|
186
|
+
ARGUMENTS
|
|
187
|
+
ADDON addon
|
|
188
|
+
|
|
189
|
+
FLAGS
|
|
190
|
+
-a, --app=<value> (required) app to run command against
|
|
191
|
+
|
|
192
|
+
DESCRIPTION
|
|
193
|
+
enable MTLS for your addon
|
|
194
|
+
|
|
195
|
+
EXAMPLES
|
|
196
|
+
$ heroku data:mtls:create postgresql-sushi-12345 -a example-app
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
_See code: [src/commands/data/mtls/create.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/v1.0.0-beta.0/src/commands/data/mtls/create.ts)_
|
|
148
200
|
|
|
149
|
-
|
|
150
|
-
|
|
201
|
+
## `heroku data:mtls:delete ADDON`
|
|
202
|
+
|
|
203
|
+
destroy MTLS configuration on your addon
|
|
151
204
|
|
|
152
|
-
EXAMPLE
|
|
153
|
-
$ heroku data:mtls:create postgresql-sushi-12345
|
|
154
205
|
```
|
|
206
|
+
USAGE
|
|
207
|
+
$ heroku data:mtls:delete ADDON -a <value>
|
|
208
|
+
|
|
209
|
+
ARGUMENTS
|
|
210
|
+
ADDON addon
|
|
155
211
|
|
|
156
|
-
|
|
212
|
+
FLAGS
|
|
213
|
+
-a, --app=<value> (required) app to run command against
|
|
157
214
|
|
|
158
|
-
|
|
215
|
+
DESCRIPTION
|
|
216
|
+
destroy MTLS configuration on your addon
|
|
217
|
+
|
|
218
|
+
ALIASES
|
|
219
|
+
$ heroku data:mtls:delete
|
|
220
|
+
|
|
221
|
+
EXAMPLES
|
|
222
|
+
$ heroku data:mtls:destroy postgresql-sushi-12345 -a example-app
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
## `heroku data:mtls:destroy ADDON`
|
|
159
226
|
|
|
160
227
|
destroy MTLS configuration on your addon
|
|
161
228
|
|
|
162
229
|
```
|
|
163
230
|
USAGE
|
|
164
|
-
$ heroku data:mtls:destroy
|
|
231
|
+
$ heroku data:mtls:destroy ADDON -a <value>
|
|
232
|
+
|
|
233
|
+
ARGUMENTS
|
|
234
|
+
ADDON addon
|
|
235
|
+
|
|
236
|
+
FLAGS
|
|
237
|
+
-a, --app=<value> (required) app to run command against
|
|
165
238
|
|
|
166
|
-
|
|
167
|
-
|
|
239
|
+
DESCRIPTION
|
|
240
|
+
destroy MTLS configuration on your addon
|
|
168
241
|
|
|
169
242
|
ALIASES
|
|
170
243
|
$ heroku data:mtls:delete
|
|
171
244
|
|
|
172
|
-
|
|
173
|
-
$ heroku data:mtls:destroy postgresql-sushi-12345
|
|
245
|
+
EXAMPLES
|
|
246
|
+
$ heroku data:mtls:destroy postgresql-sushi-12345 -a example-app
|
|
174
247
|
```
|
|
175
248
|
|
|
176
|
-
_See code: [src/commands/data/mtls/destroy.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/
|
|
249
|
+
_See code: [src/commands/data/mtls/destroy.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/v1.0.0-beta.0/src/commands/data/mtls/destroy.ts)_
|
|
177
250
|
|
|
178
|
-
## `heroku data:mtls:ip-rules
|
|
251
|
+
## `heroku data:mtls:ip-rules ADDON`
|
|
179
252
|
|
|
180
253
|
get the IP Rules for your MTLS enabled addon
|
|
181
254
|
|
|
182
255
|
```
|
|
183
256
|
USAGE
|
|
184
|
-
$ heroku data:mtls:ip-rules
|
|
257
|
+
$ heroku data:mtls:ip-rules ADDON -a <value>
|
|
258
|
+
|
|
259
|
+
ARGUMENTS
|
|
260
|
+
ADDON addon
|
|
185
261
|
|
|
186
|
-
|
|
187
|
-
-a, --app
|
|
262
|
+
FLAGS
|
|
263
|
+
-a, --app=<value> (required) app to run command against
|
|
188
264
|
|
|
189
|
-
|
|
190
|
-
|
|
265
|
+
DESCRIPTION
|
|
266
|
+
get the IP Rules for your MTLS enabled addon
|
|
267
|
+
|
|
268
|
+
EXAMPLES
|
|
269
|
+
$ heroku data:mtls:ip-rules postgresql-sushi-12345 -a example-app
|
|
191
270
|
```
|
|
192
271
|
|
|
193
|
-
_See code: [src/commands/data/mtls/ip-rules/index.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/
|
|
272
|
+
_See code: [src/commands/data/mtls/ip-rules/index.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/v1.0.0-beta.0/src/commands/data/mtls/ip-rules/index.ts)_
|
|
194
273
|
|
|
195
|
-
## `heroku data:mtls:ip-rules:create
|
|
274
|
+
## `heroku data:mtls:ip-rules:create ADDON`
|
|
196
275
|
|
|
197
276
|
create an IP Rule for your MTLS enabled addon
|
|
198
277
|
|
|
199
278
|
```
|
|
200
279
|
USAGE
|
|
201
|
-
$ heroku data:mtls:ip-rules:create [
|
|
280
|
+
$ heroku data:mtls:ip-rules:create ADDON -a <value> --cidr <value> [--description <value>]
|
|
202
281
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
--cidr=cidr (required)
|
|
206
|
-
--description=description
|
|
282
|
+
ARGUMENTS
|
|
283
|
+
ADDON addon
|
|
207
284
|
|
|
208
|
-
|
|
209
|
-
|
|
285
|
+
FLAGS
|
|
286
|
+
-a, --app=<value> (required) app to run command against
|
|
287
|
+
--cidr=<value> (required)
|
|
288
|
+
--description=<value>
|
|
289
|
+
|
|
290
|
+
DESCRIPTION
|
|
291
|
+
create an IP Rule for your MTLS enabled addon
|
|
292
|
+
|
|
293
|
+
EXAMPLES
|
|
294
|
+
$ heroku data:mtls:ip-rules:create postgresql-sushi-12345 --cidr "1.2.3.4/32" --description "home IP address" -a example-app
|
|
210
295
|
```
|
|
211
296
|
|
|
212
|
-
_See code: [src/commands/data/mtls/ip-rules/create.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/
|
|
297
|
+
_See code: [src/commands/data/mtls/ip-rules/create.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/v1.0.0-beta.0/src/commands/data/mtls/ip-rules/create.ts)_
|
|
213
298
|
|
|
214
|
-
## `heroku data:mtls:ip-rules:delete
|
|
299
|
+
## `heroku data:mtls:ip-rules:delete ADDON`
|
|
215
300
|
|
|
216
301
|
delete a specific IP Rule for your MTLS enabled addon
|
|
217
302
|
|
|
218
303
|
```
|
|
219
304
|
USAGE
|
|
220
|
-
$ heroku data:mtls:ip-rules:delete [
|
|
305
|
+
$ heroku data:mtls:ip-rules:delete ADDON -a <value> [--cidr <value>] [--id <value>]
|
|
221
306
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
--cidr=cidr cidr of IP Rule
|
|
225
|
-
--id=id id of IP Rule
|
|
307
|
+
ARGUMENTS
|
|
308
|
+
ADDON addon
|
|
226
309
|
|
|
227
|
-
|
|
228
|
-
|
|
310
|
+
FLAGS
|
|
311
|
+
-a, --app=<value> (required) app to run command against
|
|
312
|
+
--cidr=<value> cidr of IP Rule
|
|
313
|
+
--id=<value> id of IP Rule
|
|
314
|
+
|
|
315
|
+
DESCRIPTION
|
|
316
|
+
delete a specific IP Rule for your MTLS enabled addon
|
|
317
|
+
|
|
318
|
+
EXAMPLES
|
|
319
|
+
$ heroku data:mtls:ip-rules:delete postgresql-sushi-12345 --id "1862ec85-fdc1-47b3-924e-a91d26ca3a7c" -a example-app
|
|
229
320
|
```
|
|
230
321
|
|
|
231
|
-
_See code: [src/commands/data/mtls/ip-rules/delete.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/
|
|
322
|
+
_See code: [src/commands/data/mtls/ip-rules/delete.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/v1.0.0-beta.0/src/commands/data/mtls/ip-rules/delete.ts)_
|
|
232
323
|
|
|
233
|
-
## `heroku data:mtls:ip-rules:get
|
|
324
|
+
## `heroku data:mtls:ip-rules:get ADDON`
|
|
234
325
|
|
|
235
326
|
get a specific IP Rule for your MTLS enabled addon
|
|
236
327
|
|
|
237
328
|
```
|
|
238
329
|
USAGE
|
|
239
|
-
$ heroku data:mtls:ip-rules:get
|
|
330
|
+
$ heroku data:mtls:ip-rules:get ADDON -a <value> --id <value>
|
|
240
331
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
--id=id (required) id of IP Rule
|
|
332
|
+
ARGUMENTS
|
|
333
|
+
ADDON addon
|
|
244
334
|
|
|
245
|
-
|
|
246
|
-
|
|
335
|
+
FLAGS
|
|
336
|
+
-a, --app=<value> (required) app to run command against
|
|
337
|
+
--id=<value> (required) id of IP Rule
|
|
338
|
+
|
|
339
|
+
DESCRIPTION
|
|
340
|
+
get a specific IP Rule for your MTLS enabled addon
|
|
341
|
+
|
|
342
|
+
EXAMPLES
|
|
343
|
+
$ heroku data:mtls:ip-rules:get postgresql-sushi-12345 --id "1862ec85-fdc1-47b3-924e-a91d26ca3a7c" -a example-app
|
|
247
344
|
```
|
|
248
345
|
|
|
249
|
-
_See code: [src/commands/data/mtls/ip-rules/get.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/
|
|
346
|
+
_See code: [src/commands/data/mtls/ip-rules/get.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/v1.0.0-beta.0/src/commands/data/mtls/ip-rules/get.ts)_
|
|
250
347
|
<!-- commandsstop -->
|