@heroku-cli/plugin-mtls 0.9.2 → 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.
Files changed (69) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +207 -110
  3. package/dist/README.md +347 -0
  4. package/{lib → dist}/base.d.ts +2 -2
  5. package/{lib → dist}/base.js +5 -1
  6. package/dist/commands/data/mtls/certificates/create.d.ts +12 -0
  7. package/dist/commands/data/mtls/certificates/create.js +32 -0
  8. package/dist/commands/data/mtls/certificates/delete.d.ts +13 -0
  9. package/dist/commands/data/mtls/certificates/delete.js +32 -0
  10. package/dist/commands/data/mtls/certificates/download.d.ts +15 -0
  11. package/{lib → dist}/commands/data/mtls/certificates/download.js +41 -40
  12. package/dist/commands/data/mtls/certificates/get.d.ts +13 -0
  13. package/dist/commands/data/mtls/certificates/get.js +32 -0
  14. package/dist/commands/data/mtls/certificates/index.d.ts +12 -0
  15. package/{lib → dist}/commands/data/mtls/certificates/index.js +17 -16
  16. package/dist/commands/data/mtls/create.d.ts +12 -0
  17. package/dist/commands/data/mtls/create.js +43 -0
  18. package/dist/commands/data/mtls/destroy.d.ts +13 -0
  19. package/dist/commands/data/mtls/destroy.js +32 -0
  20. package/dist/commands/data/mtls/index.d.ts +12 -0
  21. package/{lib → dist}/commands/data/mtls/index.js +17 -16
  22. package/dist/commands/data/mtls/ip-rules/create.d.ts +14 -0
  23. package/dist/commands/data/mtls/ip-rules/create.js +37 -0
  24. package/dist/commands/data/mtls/ip-rules/delete.d.ts +14 -0
  25. package/dist/commands/data/mtls/ip-rules/delete.js +49 -0
  26. package/dist/commands/data/mtls/ip-rules/get.d.ts +13 -0
  27. package/dist/commands/data/mtls/ip-rules/get.js +27 -0
  28. package/dist/commands/data/mtls/ip-rules/index.d.ts +12 -0
  29. package/dist/commands/data/mtls/ip-rules/index.js +32 -0
  30. package/{lib → dist}/lib/fetcher.js +6 -6
  31. package/dist/oclif.manifest.json +575 -0
  32. package/dist/tsconfig.tsbuildinfo +1 -0
  33. package/dist/utils/file-helper.d.ts +4 -0
  34. package/dist/utils/file-helper.js +11 -0
  35. package/{lib → dist}/utils/is-error-http.js +1 -2
  36. package/{lib → dist}/utils/is-error-message.js +1 -2
  37. package/dist/utils/table.js +42 -0
  38. package/package.json +20 -19
  39. package/lib/README.md +0 -250
  40. package/lib/commands/data/mtls/certificates/create.d.ts +0 -13
  41. package/lib/commands/data/mtls/certificates/create.js +0 -31
  42. package/lib/commands/data/mtls/certificates/delete.d.ts +0 -14
  43. package/lib/commands/data/mtls/certificates/delete.js +0 -31
  44. package/lib/commands/data/mtls/certificates/download.d.ts +0 -16
  45. package/lib/commands/data/mtls/certificates/get.d.ts +0 -14
  46. package/lib/commands/data/mtls/certificates/get.js +0 -31
  47. package/lib/commands/data/mtls/certificates/index.d.ts +0 -13
  48. package/lib/commands/data/mtls/create.d.ts +0 -13
  49. package/lib/commands/data/mtls/create.js +0 -42
  50. package/lib/commands/data/mtls/destroy.d.ts +0 -14
  51. package/lib/commands/data/mtls/destroy.js +0 -31
  52. package/lib/commands/data/mtls/index.d.ts +0 -13
  53. package/lib/commands/data/mtls/ip-rules/create.d.ts +0 -15
  54. package/lib/commands/data/mtls/ip-rules/create.js +0 -33
  55. package/lib/commands/data/mtls/ip-rules/delete.d.ts +0 -15
  56. package/lib/commands/data/mtls/ip-rules/delete.js +0 -48
  57. package/lib/commands/data/mtls/ip-rules/get.d.ts +0 -14
  58. package/lib/commands/data/mtls/ip-rules/get.js +0 -26
  59. package/lib/commands/data/mtls/ip-rules/index.d.ts +0 -13
  60. package/lib/commands/data/mtls/ip-rules/index.js +0 -31
  61. package/lib/oclif.manifest.json +0 -1
  62. package/lib/package.json +0 -34
  63. package/lib/utils/table.js +0 -18
  64. /package/{lib → dist}/index.d.ts +0 -0
  65. /package/{lib → dist}/index.js +0 -0
  66. /package/{lib → dist}/lib/fetcher.d.ts +0 -0
  67. /package/{lib → dist}/utils/is-error-http.d.ts +0 -0
  68. /package/{lib → dist}/utils/is-error-message.d.ts +0 -0
  69. /package/{lib → dist}/utils/table.d.ts +0 -0
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2019 rmanrique@heroku.com
3
+ Copyright (c) 2025, Heroku <>
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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 [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:destroy [ADDON]`](#heroku-datamtlsdestroy-addon)
25
- * [`heroku data:mtls:ip-rules [ADDON]`](#heroku-datamtlsip-rules-addon)
26
- * [`heroku data:mtls:ip-rules:create [ADDON]`](#heroku-datamtlsip-rulescreate-addon)
27
- * [`heroku data:mtls:ip-rules:delete [ADDON]`](#heroku-datamtlsip-rulesdelete-addon)
28
- * [`heroku data:mtls:ip-rules:get [ADDON]`](#heroku-datamtlsip-rulesget-addon)
29
-
30
- ## `heroku data:mtls [ADDON]`
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 [ADDON]
37
+ $ heroku data:mtls ADDON -a <value>
37
38
 
38
- OPTIONS
39
- -a, --app=app (required) app to run command against
39
+ ARGUMENTS
40
+ ADDON addon
40
41
 
41
- EXAMPLE
42
- $ heroku data:mtls postgresql-sushi-12345
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/v0.9.2/src/commands/data/mtls/index.ts)_
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 [ADDON]`
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 [ADDON]
60
+ $ heroku data:mtls:certificates ADDON -a <value>
61
+
62
+ ARGUMENTS
63
+ ADDON addon
54
64
 
55
- OPTIONS
56
- -a, --app=app (required) app to run command against
65
+ FLAGS
66
+ -a, --app=<value> (required) app to run command against
57
67
 
58
- EXAMPLE
59
- $ heroku data:mtls:ip-rules postgresql-sushi-12345
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/v0.9.2/src/commands/data/mtls/certificates/index.ts)_
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 [ADDON]`
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 [ADDON]
83
+ $ heroku data:mtls:certificates:create ADDON -a <value>
84
+
85
+ ARGUMENTS
86
+ ADDON addon
71
87
 
72
- OPTIONS
73
- -a, --app=app (required) app to run command against
88
+ FLAGS
89
+ -a, --app=<value> (required) app to run command against
74
90
 
75
- EXAMPLE
76
- $ heroku data:mtls:certificates:create postgresql-sushi-12345
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/v0.9.2/src/commands/data/mtls/certificates/create.ts)_
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 [ADDON]`
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 [ADDON]
106
+ $ heroku data:mtls:certificates:delete ADDON -a <value> --id <value>
107
+
108
+ ARGUMENTS
109
+ ADDON addon
88
110
 
89
- OPTIONS
90
- -a, --app=app (required) app to run command against
91
- --id=id (required) id of certificate
111
+ FLAGS
112
+ -a, --app=<value> (required) app to run command against
113
+ --id=<value> (required) id of certificate
92
114
 
93
- EXAMPLE
94
- $ heroku data:mtls:certificates:delete postgresql-sushi-12345 --id "1862ec85-fdc1-47b3-924e-a91d26ca3a7c"
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/v0.9.2/src/commands/data/mtls/certificates/delete.ts)_
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 [ADDON]`
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 [ADDON]
130
+ $ heroku data:mtls:certificates:download ADDON -a <value> --prefix <value> [--dir <value>] [--id <value>]
131
+
132
+ ARGUMENTS
133
+ ADDON addon
106
134
 
107
- OPTIONS
108
- -a, --app=app (required) app to run command against
109
- --dir=dir directory to download files to. defaults to HOME:/.postgresql
110
- --id=id ID of certificate to download
111
- --prefix=prefix (required) prefix to put in front of downloaded file names
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
- $ heroku data:mtls:certificates:download postgresql-sushi-12345 --id "3559a4df-2c82-4473-86cf-181310a6ef4f" --dir
116
- "./folder"
117
- $ heroku data:mtls:certificates:download postgresql-sushi-12345 --id "3559a4df-2c82-4473-86cf-181310a6ef4f --prefix
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/v0.9.2/src/commands/data/mtls/certificates/download.ts)_
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 [ADDON]`
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 [ADDON]
160
+ $ heroku data:mtls:certificates:get ADDON -a <value> --id <value>
161
+
162
+ ARGUMENTS
163
+ ADDON addon
130
164
 
131
- OPTIONS
132
- -a, --app=app (required) app to run command against
133
- --id=id (required) id of IP Rule
165
+ FLAGS
166
+ -a, --app=<value> (required) app to run command against
167
+ --id=<value> (required) id of IP Rule
134
168
 
135
- EXAMPLE
136
- $ heroku data:mtls:certificates:create postgresql-sushi-12345 --id "1862ec85-fdc1-47b3-924e-a91d26ca3a7c"
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/v0.9.2/src/commands/data/mtls/certificates/get.ts)_
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 [ADDON]`
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 [ADDON]
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
- OPTIONS
150
- -a, --app=app (required) app to run command against
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
- _See code: [src/commands/data/mtls/create.ts](https://github.com/heroku/heroku-cli-plugin-mtls/blob/v0.9.2/src/commands/data/mtls/create.ts)_
212
+ FLAGS
213
+ -a, --app=<value> (required) app to run command against
157
214
 
158
- ## `heroku data:mtls:destroy [ADDON]`
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 [ADDON]
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
- OPTIONS
167
- -a, --app=app (required) app to run command against
239
+ DESCRIPTION
240
+ destroy MTLS configuration on your addon
168
241
 
169
242
  ALIASES
170
243
  $ heroku data:mtls:delete
171
244
 
172
- EXAMPLE
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/v0.9.2/src/commands/data/mtls/destroy.ts)_
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 [ADDON]`
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 [ADDON]
257
+ $ heroku data:mtls:ip-rules ADDON -a <value>
258
+
259
+ ARGUMENTS
260
+ ADDON addon
185
261
 
186
- OPTIONS
187
- -a, --app=app (required) app to run command against
262
+ FLAGS
263
+ -a, --app=<value> (required) app to run command against
188
264
 
189
- EXAMPLE
190
- $ heroku data:mtls:ip-rules postgresql-sushi-12345
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/v0.9.2/src/commands/data/mtls/ip-rules/index.ts)_
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 [ADDON]`
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 [ADDON]
280
+ $ heroku data:mtls:ip-rules:create ADDON -a <value> --cidr <value> [--description <value>]
202
281
 
203
- OPTIONS
204
- -a, --app=app (required) app to run command against
205
- --cidr=cidr (required)
206
- --description=description
282
+ ARGUMENTS
283
+ ADDON addon
207
284
 
208
- EXAMPLE
209
- $ heroku data:mtls:ip-rules:create postgresql-sushi-12345 --cidr "1.2.3.4/32" --description "home IP address"
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/v0.9.2/src/commands/data/mtls/ip-rules/create.ts)_
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 [ADDON]`
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 [ADDON]
305
+ $ heroku data:mtls:ip-rules:delete ADDON -a <value> [--cidr <value>] [--id <value>]
221
306
 
222
- OPTIONS
223
- -a, --app=app (required) app to run command against
224
- --cidr=cidr cidr of IP Rule
225
- --id=id id of IP Rule
307
+ ARGUMENTS
308
+ ADDON addon
226
309
 
227
- EXAMPLE
228
- $ heroku data:mtls:ip-rules:delete postgresql-sushi-12345 --id "1862ec85-fdc1-47b3-924e-a91d26ca3a7c"
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/v0.9.2/src/commands/data/mtls/ip-rules/delete.ts)_
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 [ADDON]`
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 [ADDON]
330
+ $ heroku data:mtls:ip-rules:get ADDON -a <value> --id <value>
240
331
 
241
- OPTIONS
242
- -a, --app=app (required) app to run command against
243
- --id=id (required) id of IP Rule
332
+ ARGUMENTS
333
+ ADDON addon
244
334
 
245
- EXAMPLE
246
- $ heroku data:mtls:ip-rules:get postgresql-sushi-12345 --id "1862ec85-fdc1-47b3-924e-a91d26ca3a7c"
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/v0.9.2/src/commands/data/mtls/ip-rules/get.ts)_
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 -->