@mtndev/cli 0.0.0-dev-20260626045346 → 0.0.0-dev-20260914234436

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 (331) hide show
  1. package/CHANGELOG.md +86 -1
  2. package/cjs/__chunks/2FSYDFUV.cjs +146 -0
  3. package/cjs/__chunks/3A5ZYU5M.cjs +105 -0
  4. package/cjs/__chunks/3NOHGUCF.cjs +9 -0
  5. package/cjs/__chunks/3T2LXW7J.cjs +387 -0
  6. package/cjs/__chunks/4XT5JEAS.cjs +1 -0
  7. package/cjs/__chunks/AZEB4H4I.cjs +208 -0
  8. package/cjs/__chunks/B5ENMOCD.cjs +288 -0
  9. package/cjs/__chunks/B6XM5KSF.cjs +338 -0
  10. package/cjs/__chunks/BDU2UCE5.cjs +1 -0
  11. package/cjs/__chunks/BLMSMR5E.cjs +46 -0
  12. package/cjs/__chunks/CMUD7LLN.cjs +47 -0
  13. package/cjs/__chunks/DTQ2LB3I.cjs +49 -0
  14. package/cjs/__chunks/FM5MVRQF.cjs +23 -0
  15. package/cjs/__chunks/FRHST54J.cjs +135 -0
  16. package/cjs/__chunks/FU4VP2LN.cjs +1 -0
  17. package/cjs/__chunks/G5K4PVIL.cjs +26 -0
  18. package/cjs/__chunks/{NSRFG4DF.cjs → GU3R54MK.cjs} +45 -18
  19. package/cjs/__chunks/GUL36IFZ.cjs +61 -0
  20. package/cjs/__chunks/GZMTNK5N.cjs +1 -0
  21. package/cjs/__chunks/H74JSDBU.cjs +30 -0
  22. package/cjs/__chunks/{EMMC33QA.cjs → JB7T7PKQ.cjs} +170 -33
  23. package/cjs/__chunks/JSL2JDMW.cjs +1 -0
  24. package/cjs/__chunks/K4QNHRTP.cjs +163 -0
  25. package/cjs/__chunks/KU76LC42.cjs +192 -0
  26. package/cjs/__chunks/LFDSHANP.cjs +34 -0
  27. package/cjs/__chunks/LHE24ECK.cjs +192 -0
  28. package/cjs/__chunks/LIKQ3SI4.cjs +1 -0
  29. package/cjs/__chunks/LXDF5QVZ.cjs +313 -0
  30. package/cjs/__chunks/LXOOJR2R.cjs +74 -0
  31. package/cjs/__chunks/N5MXFOQZ.cjs +167 -0
  32. package/cjs/__chunks/N7D56LPP.cjs +25 -0
  33. package/cjs/__chunks/NFXQNOQH.cjs +393 -0
  34. package/cjs/__chunks/NLKJIUEX.cjs +126 -0
  35. package/cjs/__chunks/NT2XXAI6.cjs +89 -0
  36. package/cjs/__chunks/NWZGFHKH.cjs +121 -0
  37. package/cjs/__chunks/R3GUC7O7.cjs +110 -0
  38. package/cjs/__chunks/RPVAXPJ4.cjs +1 -0
  39. package/cjs/__chunks/S3LVCWPN.cjs +23 -0
  40. package/cjs/__chunks/SBBNW2BF.cjs +249 -0
  41. package/cjs/__chunks/T2A7TN4F.cjs +81 -0
  42. package/cjs/__chunks/TKNNDDIB.cjs +97 -0
  43. package/cjs/__chunks/TNSRDJPR.cjs +1 -0
  44. package/cjs/__chunks/UWHPE2GI.cjs +20 -0
  45. package/cjs/__chunks/W6K7BV74.cjs +1 -0
  46. package/cjs/__chunks/WBOQ6AUN.cjs +320 -0
  47. package/cjs/__chunks/WHGN5PZI.cjs +299 -0
  48. package/cjs/__chunks/WOYF2L6T.cjs +11 -0
  49. package/cjs/__chunks/X26XY2N6.cjs +18 -0
  50. package/cjs/__chunks/XMKOKRXZ.cjs +16 -0
  51. package/cjs/__chunks/XTJPQ3EX.cjs +1 -0
  52. package/cjs/__chunks/YRHFKTW2.cjs +63 -0
  53. package/cjs/commands/aws/ec2/allow-ip/handler.cjs +12 -0
  54. package/cjs/commands/aws/ec2/allow-ip/handler.d.ts +6 -0
  55. package/cjs/commands/aws/ec2/allow-ip/index.cjs +55 -0
  56. package/cjs/commands/aws/ec2/allow-ip/index.d.ts +3 -0
  57. package/cjs/commands/aws/ec2/allow-ip/schema.cjs +13 -0
  58. package/cjs/commands/aws/ec2/allow-ip/schema.d.ts +33 -0
  59. package/cjs/commands/aws/ec2/allow-ip/utils.cjs +39 -0
  60. package/cjs/commands/aws/ec2/allow-ip/utils.d.ts +189 -0
  61. package/cjs/commands/aws/iam/admin-group.cjs +15 -0
  62. package/cjs/commands/aws/iam/admin-group.d.ts +55 -0
  63. package/cjs/commands/aws/iam/break-glass/handler.cjs +12 -0
  64. package/cjs/commands/aws/iam/break-glass/handler.d.ts +7 -0
  65. package/cjs/commands/aws/iam/break-glass/index.cjs +19 -0
  66. package/cjs/commands/aws/iam/break-glass/index.d.ts +2 -0
  67. package/cjs/commands/aws/iam/break-glass/schema.cjs +12 -0
  68. package/cjs/commands/aws/iam/break-glass/schema.d.ts +25 -0
  69. package/cjs/commands/aws/iam/check-admin/handler.cjs +10 -0
  70. package/cjs/commands/aws/iam/check-admin/handler.d.ts +5 -0
  71. package/cjs/commands/aws/iam/check-admin/index.cjs +17 -0
  72. package/cjs/commands/aws/iam/check-admin/index.d.ts +2 -0
  73. package/cjs/commands/aws/iam/check-admin/schema.cjs +12 -0
  74. package/cjs/commands/aws/iam/check-admin/schema.d.ts +19 -0
  75. package/cjs/commands/aws/iam/policies/s3-restrictions-deny-non-s3-services.cjs +28 -0
  76. package/cjs/commands/aws/iam/policies/sts-federation.cjs +19 -0
  77. package/cjs/commands/aws/iam/policies/user-admins-deny-list.cjs +183 -0
  78. package/cjs/commands/aws/iam/policies/user-admins-deny-regions-list.cjs +49 -0
  79. package/cjs/commands/aws/iam/policies/user-admins-self-service-iam.cjs +64 -0
  80. package/cjs/commands/aws/iam/policies/user-admins-write-list.cjs +125 -0
  81. package/cjs/commands/aws/iam/remove-admin/handler.cjs +11 -0
  82. package/cjs/commands/aws/iam/remove-admin/handler.d.ts +6 -0
  83. package/cjs/commands/aws/iam/remove-admin/index.cjs +18 -0
  84. package/cjs/commands/aws/iam/remove-admin/index.d.ts +2 -0
  85. package/cjs/commands/aws/iam/remove-admin/schema.cjs +12 -0
  86. package/cjs/commands/aws/iam/remove-admin/schema.d.ts +28 -0
  87. package/cjs/commands/aws/iam/setup-acl/handler.cjs +14 -0
  88. package/cjs/commands/aws/iam/setup-acl/handler.d.ts +6 -0
  89. package/cjs/commands/aws/iam/setup-acl/index.cjs +33 -0
  90. package/cjs/commands/aws/iam/setup-acl/index.d.ts +3 -0
  91. package/cjs/commands/aws/iam/setup-acl/schema.cjs +7 -0
  92. package/cjs/commands/aws/iam/setup-acl/schema.d.ts +24 -0
  93. package/cjs/commands/aws/iam/setup-acl/utils.cjs +20 -0
  94. package/cjs/commands/aws/iam/setup-acl/utils.d.ts +61 -0
  95. package/cjs/commands/aws/iam/users/handler.cjs +12 -0
  96. package/cjs/commands/aws/iam/users/handler.d.ts +5 -0
  97. package/cjs/commands/aws/iam/users/index.cjs +41 -0
  98. package/cjs/commands/aws/iam/users/index.d.ts +3 -0
  99. package/cjs/commands/aws/iam/users/schema.cjs +7 -0
  100. package/cjs/commands/aws/iam/users/schema.d.ts +18 -0
  101. package/cjs/commands/aws/iam/users/utils.cjs +30 -0
  102. package/cjs/commands/aws/iam/users/utils.d.ts +119 -0
  103. package/cjs/commands/aws/index.cjs +229 -0
  104. package/cjs/commands/aws/index.d.ts +14 -0
  105. package/cjs/commands/aws/route53/add-record/handler.cjs +18 -0
  106. package/cjs/commands/aws/route53/add-record/handler.d.ts +36 -0
  107. package/cjs/commands/aws/route53/add-record/index.cjs +57 -0
  108. package/cjs/commands/aws/route53/add-record/index.d.ts +3 -0
  109. package/cjs/commands/aws/route53/add-record/schema.cjs +11 -0
  110. package/cjs/commands/aws/route53/add-record/schema.d.ts +45 -0
  111. package/cjs/commands/aws/route53/add-record/utils.cjs +37 -0
  112. package/cjs/commands/aws/route53/add-record/utils.d.ts +216 -0
  113. package/cjs/commands/aws/route53/remove-record/handler.cjs +14 -0
  114. package/cjs/commands/aws/route53/remove-record/handler.d.ts +6 -0
  115. package/cjs/commands/aws/route53/remove-record/index.cjs +18 -0
  116. package/cjs/commands/aws/route53/remove-record/index.d.ts +2 -0
  117. package/cjs/commands/aws/route53/remove-record/schema.cjs +8 -0
  118. package/cjs/commands/aws/route53/remove-record/schema.d.ts +30 -0
  119. package/cjs/commands/aws/schema.cjs +10 -0
  120. package/cjs/commands/aws/schema.d.ts +13 -0
  121. package/cjs/commands/aws/ses/send-email/handler.cjs +12 -0
  122. package/cjs/commands/aws/ses/send-email/handler.d.ts +5 -0
  123. package/cjs/commands/aws/ses/send-email/index.cjs +23 -0
  124. package/cjs/commands/aws/ses/send-email/index.d.ts +3 -0
  125. package/cjs/commands/aws/ses/send-email/schema.cjs +7 -0
  126. package/cjs/commands/aws/ses/send-email/schema.d.ts +39 -0
  127. package/cjs/commands/aws/ses/send-email/utils.cjs +11 -0
  128. package/cjs/commands/aws/ses/send-email/utils.d.ts +47 -0
  129. package/cjs/commands/aws/ses/smtp-password.cjs +10 -0
  130. package/cjs/commands/aws/ses/smtp-password.d.ts +21 -0
  131. package/cjs/commands/aws/utils/exec-aws.cjs +16 -0
  132. package/cjs/commands/aws/utils/exec-aws.d.ts +79 -0
  133. package/cjs/commands/aws/utils/resolve-policy-path.cjs +6 -0
  134. package/cjs/commands/aws/utils/resolve-policy-path.d.ts +8 -0
  135. package/cjs/commands/aws/utils/resolve-profile.cjs +11 -0
  136. package/cjs/commands/aws/utils/resolve-profile.d.ts +28 -0
  137. package/cjs/commands/aws/utils/tty.cjs +10 -0
  138. package/cjs/commands/aws/utils/tty.d.ts +24 -0
  139. package/cjs/commands/db/create-readonly-user/handler.cjs +11 -0
  140. package/cjs/commands/db/create-readonly-user/handler.d.ts +5 -0
  141. package/cjs/commands/db/create-readonly-user/index.cjs +40 -0
  142. package/cjs/commands/db/create-readonly-user/index.d.ts +3 -0
  143. package/cjs/commands/db/create-readonly-user/mysql.cjs +9 -0
  144. package/cjs/commands/db/create-readonly-user/mysql.d.ts +33 -0
  145. package/cjs/commands/db/create-readonly-user/postgres.cjs +9 -0
  146. package/cjs/commands/db/create-readonly-user/postgres.d.ts +31 -0
  147. package/cjs/commands/db/create-readonly-user/schema.cjs +12 -0
  148. package/cjs/commands/db/create-readonly-user/schema.d.ts +55 -0
  149. package/cjs/commands/db/create-readonly-user/utils.cjs +22 -0
  150. package/cjs/commands/db/create-readonly-user/utils.d.ts +112 -0
  151. package/cjs/commands/db/index.cjs +44 -0
  152. package/cjs/commands/db/index.d.ts +6 -0
  153. package/cjs/commands/doppler/handler.cjs +6 -4
  154. package/cjs/commands/doppler/index.cjs +32 -5
  155. package/cjs/commands/doppler/index.d.ts +1 -0
  156. package/cjs/commands/doppler/schema.cjs +10 -2
  157. package/cjs/commands/doppler/schema.d.ts +233 -17
  158. package/cjs/commands/doppler/set-secret.cjs +19 -0
  159. package/cjs/commands/doppler/set-secret.d.ts +113 -0
  160. package/cjs/commands/doppler/utils.cjs +6 -2
  161. package/cjs/commands/doppler/utils.d.ts +32 -8
  162. package/cjs/commands/icons/schema.d.ts +1 -1
  163. package/cjs/commands/index.cjs +91 -12
  164. package/esm/__chunks/2FTTEFEK.js +97 -0
  165. package/esm/__chunks/33UYMUQD.js +338 -0
  166. package/esm/__chunks/3BKWTHLJ.js +25 -0
  167. package/esm/__chunks/3HE4BEJX.js +105 -0
  168. package/esm/__chunks/3QLI5BDL.js +387 -0
  169. package/esm/__chunks/5GIUAFXL.js +89 -0
  170. package/esm/__chunks/73BJG53F.js +11 -0
  171. package/esm/__chunks/7VF4Q43Q.js +0 -0
  172. package/esm/__chunks/AEDEAYF5.js +0 -0
  173. package/esm/__chunks/AZCP3SFJ.js +0 -0
  174. package/esm/__chunks/B2DVQ2UL.js +61 -0
  175. package/esm/__chunks/CVQVHLW5.js +0 -0
  176. package/esm/__chunks/D62SPZXC.js +0 -0
  177. package/esm/__chunks/DLEJ25GZ.js +121 -0
  178. package/esm/__chunks/DMYFNF54.js +192 -0
  179. package/esm/__chunks/DNFTUMGD.js +23 -0
  180. package/esm/__chunks/DVKD6YSR.js +49 -0
  181. package/esm/__chunks/EMSH4P76.js +20 -0
  182. package/esm/__chunks/FFKFVMIE.js +167 -0
  183. package/esm/__chunks/FNXUONAV.js +110 -0
  184. package/esm/__chunks/G4NJHFFU.js +320 -0
  185. package/esm/__chunks/IEOGAQYI.js +46 -0
  186. package/esm/__chunks/IZFGBYGE.js +34 -0
  187. package/esm/__chunks/J34UVKLA.js +26 -0
  188. package/esm/__chunks/JZPBBBIG.js +74 -0
  189. package/esm/__chunks/KWUJP5MG.js +135 -0
  190. package/esm/__chunks/M35URMT4.js +313 -0
  191. package/esm/__chunks/NF3M2L6C.js +81 -0
  192. package/esm/__chunks/PNPPDYKC.js +299 -0
  193. package/esm/__chunks/QFXN4EHM.js +393 -0
  194. package/esm/__chunks/QKDDLIWD.js +146 -0
  195. package/esm/__chunks/QSE66AKY.js +208 -0
  196. package/esm/__chunks/QUF7PS4R.js +18 -0
  197. package/esm/__chunks/S7IJPJ4R.js +126 -0
  198. package/esm/__chunks/SD3E3EPH.js +163 -0
  199. package/esm/__chunks/T3TTUHTW.js +30 -0
  200. package/esm/__chunks/TIOVE6HR.js +0 -0
  201. package/esm/__chunks/TXKMEIDQ.js +0 -0
  202. package/esm/__chunks/U7HAE2RF.js +288 -0
  203. package/esm/__chunks/UXWY7BYE.js +63 -0
  204. package/esm/__chunks/VKAKISRG.js +192 -0
  205. package/esm/__chunks/WD2YR6I7.js +0 -0
  206. package/esm/__chunks/WOZFZKFY.js +0 -0
  207. package/esm/__chunks/XI7GZDE2.js +0 -0
  208. package/esm/__chunks/XOUWDB3T.js +249 -0
  209. package/esm/__chunks/XQN2TA4S.js +23 -0
  210. package/esm/__chunks/XXK32TIM.js +16 -0
  211. package/esm/__chunks/{O262GK4B.js → YGWTVPZE.js} +164 -27
  212. package/esm/__chunks/{6L5RNR7G.js → YRG7PT33.js} +44 -17
  213. package/esm/__chunks/ZHKVJO2U.js +47 -0
  214. package/esm/__chunks/ZO55YUSY.js +9 -0
  215. package/esm/commands/aws/ec2/allow-ip/handler.d.ts +6 -0
  216. package/esm/commands/aws/ec2/allow-ip/handler.js +12 -0
  217. package/esm/commands/aws/ec2/allow-ip/index.d.ts +3 -0
  218. package/esm/commands/aws/ec2/allow-ip/index.js +55 -0
  219. package/esm/commands/aws/ec2/allow-ip/schema.d.ts +33 -0
  220. package/esm/commands/aws/ec2/allow-ip/schema.js +13 -0
  221. package/esm/commands/aws/ec2/allow-ip/utils.d.ts +189 -0
  222. package/esm/commands/aws/ec2/allow-ip/utils.js +39 -0
  223. package/esm/commands/aws/iam/admin-group.d.ts +55 -0
  224. package/esm/commands/aws/iam/admin-group.js +15 -0
  225. package/esm/commands/aws/iam/break-glass/handler.d.ts +7 -0
  226. package/esm/commands/aws/iam/break-glass/handler.js +12 -0
  227. package/esm/commands/aws/iam/break-glass/index.d.ts +2 -0
  228. package/esm/commands/aws/iam/break-glass/index.js +19 -0
  229. package/esm/commands/aws/iam/break-glass/schema.d.ts +25 -0
  230. package/esm/commands/aws/iam/break-glass/schema.js +12 -0
  231. package/esm/commands/aws/iam/check-admin/handler.d.ts +5 -0
  232. package/esm/commands/aws/iam/check-admin/handler.js +10 -0
  233. package/esm/commands/aws/iam/check-admin/index.d.ts +2 -0
  234. package/esm/commands/aws/iam/check-admin/index.js +17 -0
  235. package/esm/commands/aws/iam/check-admin/schema.d.ts +19 -0
  236. package/esm/commands/aws/iam/check-admin/schema.js +12 -0
  237. package/esm/commands/aws/iam/policies/s3-restrictions-deny-non-s3-services.js +28 -0
  238. package/esm/commands/aws/iam/policies/sts-federation.js +19 -0
  239. package/esm/commands/aws/iam/policies/user-admins-deny-list.js +183 -0
  240. package/esm/commands/aws/iam/policies/user-admins-deny-regions-list.js +49 -0
  241. package/esm/commands/aws/iam/policies/user-admins-self-service-iam.js +64 -0
  242. package/esm/commands/aws/iam/policies/user-admins-write-list.js +125 -0
  243. package/esm/commands/aws/iam/remove-admin/handler.d.ts +6 -0
  244. package/esm/commands/aws/iam/remove-admin/handler.js +11 -0
  245. package/esm/commands/aws/iam/remove-admin/index.d.ts +2 -0
  246. package/esm/commands/aws/iam/remove-admin/index.js +18 -0
  247. package/esm/commands/aws/iam/remove-admin/schema.d.ts +28 -0
  248. package/esm/commands/aws/iam/remove-admin/schema.js +12 -0
  249. package/esm/commands/aws/iam/setup-acl/handler.d.ts +6 -0
  250. package/esm/commands/aws/iam/setup-acl/handler.js +14 -0
  251. package/esm/commands/aws/iam/setup-acl/index.d.ts +3 -0
  252. package/esm/commands/aws/iam/setup-acl/index.js +33 -0
  253. package/esm/commands/aws/iam/setup-acl/schema.d.ts +24 -0
  254. package/esm/commands/aws/iam/setup-acl/schema.js +7 -0
  255. package/esm/commands/aws/iam/setup-acl/utils.d.ts +61 -0
  256. package/esm/commands/aws/iam/setup-acl/utils.js +20 -0
  257. package/esm/commands/aws/iam/users/handler.d.ts +5 -0
  258. package/esm/commands/aws/iam/users/handler.js +12 -0
  259. package/esm/commands/aws/iam/users/index.d.ts +3 -0
  260. package/esm/commands/aws/iam/users/index.js +41 -0
  261. package/esm/commands/aws/iam/users/schema.d.ts +18 -0
  262. package/esm/commands/aws/iam/users/schema.js +7 -0
  263. package/esm/commands/aws/iam/users/utils.d.ts +119 -0
  264. package/esm/commands/aws/iam/users/utils.js +30 -0
  265. package/esm/commands/aws/index.d.ts +14 -0
  266. package/esm/commands/aws/index.js +229 -0
  267. package/esm/commands/aws/route53/add-record/handler.d.ts +36 -0
  268. package/esm/commands/aws/route53/add-record/handler.js +18 -0
  269. package/esm/commands/aws/route53/add-record/index.d.ts +3 -0
  270. package/esm/commands/aws/route53/add-record/index.js +57 -0
  271. package/esm/commands/aws/route53/add-record/schema.d.ts +45 -0
  272. package/esm/commands/aws/route53/add-record/schema.js +11 -0
  273. package/esm/commands/aws/route53/add-record/utils.d.ts +216 -0
  274. package/esm/commands/aws/route53/add-record/utils.js +37 -0
  275. package/esm/commands/aws/route53/remove-record/handler.d.ts +6 -0
  276. package/esm/commands/aws/route53/remove-record/handler.js +14 -0
  277. package/esm/commands/aws/route53/remove-record/index.d.ts +2 -0
  278. package/esm/commands/aws/route53/remove-record/index.js +18 -0
  279. package/esm/commands/aws/route53/remove-record/schema.d.ts +30 -0
  280. package/esm/commands/aws/route53/remove-record/schema.js +8 -0
  281. package/esm/commands/aws/schema.d.ts +13 -0
  282. package/esm/commands/aws/schema.js +10 -0
  283. package/esm/commands/aws/ses/send-email/handler.d.ts +5 -0
  284. package/esm/commands/aws/ses/send-email/handler.js +12 -0
  285. package/esm/commands/aws/ses/send-email/index.d.ts +3 -0
  286. package/esm/commands/aws/ses/send-email/index.js +23 -0
  287. package/esm/commands/aws/ses/send-email/schema.d.ts +39 -0
  288. package/esm/commands/aws/ses/send-email/schema.js +7 -0
  289. package/esm/commands/aws/ses/send-email/utils.d.ts +47 -0
  290. package/esm/commands/aws/ses/send-email/utils.js +11 -0
  291. package/esm/commands/aws/ses/smtp-password.d.ts +21 -0
  292. package/esm/commands/aws/ses/smtp-password.js +10 -0
  293. package/esm/commands/aws/utils/exec-aws.d.ts +79 -0
  294. package/esm/commands/aws/utils/exec-aws.js +16 -0
  295. package/esm/commands/aws/utils/resolve-policy-path.d.ts +8 -0
  296. package/esm/commands/aws/utils/resolve-policy-path.js +6 -0
  297. package/esm/commands/aws/utils/resolve-profile.d.ts +28 -0
  298. package/esm/commands/aws/utils/resolve-profile.js +11 -0
  299. package/esm/commands/aws/utils/tty.d.ts +24 -0
  300. package/esm/commands/aws/utils/tty.js +10 -0
  301. package/esm/commands/db/create-readonly-user/handler.d.ts +5 -0
  302. package/esm/commands/db/create-readonly-user/handler.js +11 -0
  303. package/esm/commands/db/create-readonly-user/index.d.ts +3 -0
  304. package/esm/commands/db/create-readonly-user/index.js +40 -0
  305. package/esm/commands/db/create-readonly-user/mysql.d.ts +33 -0
  306. package/esm/commands/db/create-readonly-user/mysql.js +9 -0
  307. package/esm/commands/db/create-readonly-user/postgres.d.ts +31 -0
  308. package/esm/commands/db/create-readonly-user/postgres.js +9 -0
  309. package/esm/commands/db/create-readonly-user/schema.d.ts +55 -0
  310. package/esm/commands/db/create-readonly-user/schema.js +12 -0
  311. package/esm/commands/db/create-readonly-user/utils.d.ts +112 -0
  312. package/esm/commands/db/create-readonly-user/utils.js +22 -0
  313. package/esm/commands/db/index.d.ts +6 -0
  314. package/esm/commands/db/index.js +44 -0
  315. package/esm/commands/doppler/handler.js +5 -3
  316. package/esm/commands/doppler/index.d.ts +1 -0
  317. package/esm/commands/doppler/index.js +32 -5
  318. package/esm/commands/doppler/schema.d.ts +233 -17
  319. package/esm/commands/doppler/schema.js +11 -3
  320. package/esm/commands/doppler/set-secret.d.ts +113 -0
  321. package/esm/commands/doppler/set-secret.js +19 -0
  322. package/esm/commands/doppler/utils.d.ts +32 -8
  323. package/esm/commands/doppler/utils.js +5 -1
  324. package/esm/commands/icons/schema.d.ts +1 -1
  325. package/esm/commands/index.js +86 -7
  326. package/package.json +12 -2
  327. package/vitest.config.ts +11 -0
  328. package/cjs/__chunks/4GFJUCSP.cjs +0 -52
  329. package/esm/__chunks/X3R5PSWH.js +0 -52
  330. /package/cjs/__chunks/{WNJ3ZYLI.cjs → 3BY5Y4W7.cjs} +0 -0
  331. /package/esm/__chunks/{46HGXFME.js → 5ZBVGSOK.js} +0 -0
@@ -0,0 +1,47 @@
1
+ // src/commands/aws/utils/tty.js
2
+ import { createInterface } from "readline";
3
+ function prompt(message) {
4
+ return new Promise((resolve) => {
5
+ const rl = createInterface({
6
+ input: process.stdin,
7
+ output: process.stdout
8
+ });
9
+ rl.question(message, (answer) => {
10
+ rl.close();
11
+ resolve(answer.trim());
12
+ });
13
+ });
14
+ }
15
+ async function promptChoice(params) {
16
+ const { message, options } = params;
17
+ if (options.length === 0) {
18
+ throw new Error("promptChoice: no options to choose from");
19
+ }
20
+ console.log(message);
21
+ options.forEach((option, index) => {
22
+ console.log(` ${index + 1}. ${option}`);
23
+ });
24
+ for (; ; ) {
25
+ const raw = await prompt("Enter number: ");
26
+ const choice = Number.parseInt(raw, 10);
27
+ if (Number.isInteger(choice) && choice >= 1 && choice <= options.length) {
28
+ return choice - 1;
29
+ }
30
+ console.log(`Please enter a number between 1 and ${options.length}.`);
31
+ }
32
+ }
33
+ async function promptYesNo(params) {
34
+ const { message, defaultYes = false } = params;
35
+ const suffix = defaultYes ? " [Y/n]: " : " [y/N]: ";
36
+ const answer = (await prompt(`${message}${suffix}`)).toLowerCase();
37
+ if (answer === "") {
38
+ return defaultYes;
39
+ }
40
+ return answer === "y" || answer === "yes";
41
+ }
42
+
43
+ export {
44
+ prompt,
45
+ promptChoice,
46
+ promptYesNo
47
+ };
@@ -0,0 +1,9 @@
1
+ // src/commands/aws/utils/resolve-policy-path.js
2
+ import { fileURLToPath } from "url";
3
+ function resolvePolicyPath(fileName) {
4
+ return fileURLToPath(new URL(`../iam/policies/${fileName}`, import.meta.url));
5
+ }
6
+
7
+ export {
8
+ resolvePolicyPath
9
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * `aws ec2 allow-ip` handler: update or create a named roaming SSH rule for the
3
+ * caller's current public IP on a chosen EC2 instance's security group.
4
+ * @param {unknown} options
5
+ */
6
+ export function allowIpCommand(options: unknown): Promise<void>;
@@ -0,0 +1,12 @@
1
+ import {
2
+ allowIpCommand
3
+ } from "../../../../__chunks/PNPPDYKC.js";
4
+ import "../../../../__chunks/U7HAE2RF.js";
5
+ import "../../../../__chunks/J34UVKLA.js";
6
+ import "../../../../__chunks/FNXUONAV.js";
7
+ import "../../../../__chunks/5GIUAFXL.js";
8
+ import "../../../../__chunks/73BJG53F.js";
9
+ import "../../../../__chunks/ZHKVJO2U.js";
10
+ export {
11
+ allowIpCommand
12
+ };
@@ -0,0 +1,3 @@
1
+ export * from "./handler.js";
2
+ export * from "./schema.js";
3
+ export * from "./utils.js";
@@ -0,0 +1,55 @@
1
+ import "../../../../__chunks/AEDEAYF5.js";
2
+ import {
3
+ allowIpCommand
4
+ } from "../../../../__chunks/PNPPDYKC.js";
5
+ import {
6
+ authorizeRule,
7
+ describeSecurityGroups,
8
+ extractRoamingFirstName,
9
+ getCurrentPublicIp,
10
+ getSecurityGroupDetails,
11
+ instanceLabel,
12
+ listEnabledRegions,
13
+ listInstances,
14
+ listSshIngressRules,
15
+ printSshRules,
16
+ resolveRoamingRule,
17
+ revokeRule,
18
+ roamingRuleDescription,
19
+ ruleAlreadyAllowsIp,
20
+ securityGroupLabel,
21
+ sshRuleLabel
22
+ } from "../../../../__chunks/U7HAE2RF.js";
23
+ import {
24
+ DEFAULT_REGION,
25
+ DEFAULT_ROAMING_NAME,
26
+ SSH_PORT,
27
+ allowIpOptionsSchema
28
+ } from "../../../../__chunks/J34UVKLA.js";
29
+ import "../../../../__chunks/FNXUONAV.js";
30
+ import "../../../../__chunks/5GIUAFXL.js";
31
+ import "../../../../__chunks/73BJG53F.js";
32
+ import "../../../../__chunks/ZHKVJO2U.js";
33
+ export {
34
+ DEFAULT_REGION,
35
+ DEFAULT_ROAMING_NAME,
36
+ SSH_PORT,
37
+ allowIpCommand,
38
+ allowIpOptionsSchema,
39
+ authorizeRule,
40
+ describeSecurityGroups,
41
+ extractRoamingFirstName,
42
+ getCurrentPublicIp,
43
+ getSecurityGroupDetails,
44
+ instanceLabel,
45
+ listEnabledRegions,
46
+ listInstances,
47
+ listSshIngressRules,
48
+ printSshRules,
49
+ resolveRoamingRule,
50
+ revokeRule,
51
+ roamingRuleDescription,
52
+ ruleAlreadyAllowsIp,
53
+ securityGroupLabel,
54
+ sshRuleLabel
55
+ };
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Default region checked first before prompting.
3
+ */
4
+ export const DEFAULT_REGION: "us-east-1";
5
+ /**
6
+ * SSH port managed by this command.
7
+ */
8
+ export const SSH_PORT: 22;
9
+ /**
10
+ * Fallback first name when one cannot be derived from the profile/IAM user.
11
+ */
12
+ export const DEFAULT_ROAMING_NAME: "Declan";
13
+ /**
14
+ * Zod schema for `aws ec2 allow-ip` options.
15
+ */
16
+ export const allowIpOptionsSchema: z.ZodObject<{
17
+ profile: z.ZodOptional<z.ZodString>;
18
+ region: z.ZodOptional<z.ZodString>;
19
+ ruleName: z.ZodOptional<z.ZodString>;
20
+ verbose: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ verbose: boolean;
23
+ profile?: string | undefined;
24
+ region?: string | undefined;
25
+ ruleName?: string | undefined;
26
+ }, {
27
+ profile?: string | undefined;
28
+ region?: string | undefined;
29
+ verbose?: boolean | undefined;
30
+ ruleName?: string | undefined;
31
+ }>;
32
+ export type AllowIpOptions = z.infer<typeof allowIpOptionsSchema>;
33
+ import { z } from "zod";
@@ -0,0 +1,13 @@
1
+ import {
2
+ DEFAULT_REGION,
3
+ DEFAULT_ROAMING_NAME,
4
+ SSH_PORT,
5
+ allowIpOptionsSchema
6
+ } from "../../../../__chunks/J34UVKLA.js";
7
+ import "../../../../__chunks/73BJG53F.js";
8
+ export {
9
+ DEFAULT_REGION,
10
+ DEFAULT_ROAMING_NAME,
11
+ SSH_PORT,
12
+ allowIpOptionsSchema
13
+ };
@@ -0,0 +1,189 @@
1
+ /**
2
+ * @typedef {Object} Ec2Instance
3
+ * @property {string} instanceId
4
+ * @property {string} name
5
+ * @property {string} state
6
+ * @property {string} instanceType
7
+ * @property {string | null} publicIp
8
+ * @property {string[]} securityGroupIds
9
+ */
10
+ /**
11
+ * @typedef {Object} SecurityGroup
12
+ * @property {string} groupId
13
+ * @property {string} groupName
14
+ * @property {string} description
15
+ */
16
+ /**
17
+ * @typedef {Object} SshIngressRule
18
+ * @property {string} cidrIp
19
+ * @property {string} description
20
+ * @property {number} fromPort
21
+ * @property {number} toPort
22
+ * @property {string} ipProtocol
23
+ */
24
+ /**
25
+ * Determine the caller's current public IPv4 address.
26
+ * @returns {Promise<string>}
27
+ */
28
+ export function getCurrentPublicIp(): Promise<string>;
29
+ /**
30
+ * List regions that are opted-in / enabled for the profile.
31
+ * @param {{ profile?: string; region: string; verbose?: boolean }} params
32
+ * @returns {string[]}
33
+ */
34
+ export function listEnabledRegions(params: {
35
+ profile?: string;
36
+ region: string;
37
+ verbose?: boolean;
38
+ }): string[];
39
+ /**
40
+ * List non-terminated EC2 instances in a region.
41
+ * @param {{ profile?: string; region: string; verbose?: boolean }} params
42
+ * @returns {Ec2Instance[]}
43
+ */
44
+ export function listInstances(params: {
45
+ profile?: string;
46
+ region: string;
47
+ verbose?: boolean;
48
+ }): Ec2Instance[];
49
+ /**
50
+ * Describe security groups by id.
51
+ * @param {{ profile?: string; region: string; groupIds: string[]; verbose?: boolean }} params
52
+ * @returns {SecurityGroup[]}
53
+ */
54
+ export function describeSecurityGroups(params: {
55
+ profile?: string;
56
+ region: string;
57
+ groupIds: string[];
58
+ verbose?: boolean;
59
+ }): SecurityGroup[];
60
+ /**
61
+ * Load full details for a single security group.
62
+ * @param {{ profile?: string; region: string; groupId: string; verbose?: boolean }} params
63
+ * @returns {any | null}
64
+ */
65
+ export function getSecurityGroupDetails(params: {
66
+ profile?: string;
67
+ region: string;
68
+ groupId: string;
69
+ verbose?: boolean;
70
+ }): any | null;
71
+ /**
72
+ * Extract single-host SSH ingress rules (port 22, /32) from a security group.
73
+ * @param {any} securityGroup
74
+ * @returns {SshIngressRule[]}
75
+ */
76
+ export function listSshIngressRules(securityGroup: any): SshIngressRule[];
77
+ /**
78
+ * Derive a first name from the IAM ARN or profile (md-{name}-...).
79
+ * @param {{ profile?: string; identity: { Arn?: string } }} params
80
+ * @returns {string}
81
+ */
82
+ export function extractRoamingFirstName(params: {
83
+ profile?: string;
84
+ identity: {
85
+ Arn?: string;
86
+ };
87
+ }): string;
88
+ /**
89
+ * @param {string} firstName
90
+ * @returns {string}
91
+ */
92
+ export function roamingRuleDescription(firstName: string): string;
93
+ /**
94
+ * Find an existing rule whose description matches the roaming rule name.
95
+ * @param {SshIngressRule[]} sshRules
96
+ * @param {string} ruleDescription
97
+ * @returns {SshIngressRule | null}
98
+ */
99
+ export function resolveRoamingRule(sshRules: SshIngressRule[], ruleDescription: string): SshIngressRule | null;
100
+ /**
101
+ * Find an existing rule that already allows the given CIDR.
102
+ * @param {SshIngressRule[]} sshRules
103
+ * @param {string} newCidr
104
+ * @returns {SshIngressRule | null}
105
+ */
106
+ export function ruleAlreadyAllowsIp(sshRules: SshIngressRule[], newCidr: string): SshIngressRule | null;
107
+ /**
108
+ * Authorize a new SSH ingress rule.
109
+ * @param {{
110
+ * profile?: string;
111
+ * region: string;
112
+ * groupId: string;
113
+ * cidrIp: string;
114
+ * description: string;
115
+ * fromPort?: number;
116
+ * toPort?: number;
117
+ * ipProtocol?: string;
118
+ * verbose?: boolean;
119
+ * }} params
120
+ */
121
+ export function authorizeRule(params: {
122
+ profile?: string;
123
+ region: string;
124
+ groupId: string;
125
+ cidrIp: string;
126
+ description: string;
127
+ fromPort?: number;
128
+ toPort?: number;
129
+ ipProtocol?: string;
130
+ verbose?: boolean;
131
+ }): void;
132
+ /**
133
+ * Revoke an existing SSH ingress rule.
134
+ * @param {{
135
+ * profile?: string;
136
+ * region: string;
137
+ * groupId: string;
138
+ * rule: SshIngressRule;
139
+ * verbose?: boolean;
140
+ * }} params
141
+ */
142
+ export function revokeRule(params: {
143
+ profile?: string;
144
+ region: string;
145
+ groupId: string;
146
+ rule: SshIngressRule;
147
+ verbose?: boolean;
148
+ }): void;
149
+ /**
150
+ * @param {Ec2Instance} instance
151
+ * @returns {string}
152
+ */
153
+ export function instanceLabel(instance: Ec2Instance): string;
154
+ /**
155
+ * @param {SecurityGroup} group
156
+ * @returns {string}
157
+ */
158
+ export function securityGroupLabel(group: SecurityGroup): string;
159
+ /**
160
+ * @param {SshIngressRule} rule
161
+ * @returns {string}
162
+ */
163
+ export function sshRuleLabel(rule: SshIngressRule): string;
164
+ /**
165
+ * Print single-host SSH rules using the given logger.
166
+ * @param {SshIngressRule[]} sshRules
167
+ * @param {(message: string) => void} [log]
168
+ */
169
+ export function printSshRules(sshRules: SshIngressRule[], log?: (message: string) => void): void;
170
+ export type Ec2Instance = {
171
+ instanceId: string;
172
+ name: string;
173
+ state: string;
174
+ instanceType: string;
175
+ publicIp: string | null;
176
+ securityGroupIds: string[];
177
+ };
178
+ export type SecurityGroup = {
179
+ groupId: string;
180
+ groupName: string;
181
+ description: string;
182
+ };
183
+ export type SshIngressRule = {
184
+ cidrIp: string;
185
+ description: string;
186
+ fromPort: number;
187
+ toPort: number;
188
+ ipProtocol: string;
189
+ };
@@ -0,0 +1,39 @@
1
+ import {
2
+ authorizeRule,
3
+ describeSecurityGroups,
4
+ extractRoamingFirstName,
5
+ getCurrentPublicIp,
6
+ getSecurityGroupDetails,
7
+ instanceLabel,
8
+ listEnabledRegions,
9
+ listInstances,
10
+ listSshIngressRules,
11
+ printSshRules,
12
+ resolveRoamingRule,
13
+ revokeRule,
14
+ roamingRuleDescription,
15
+ ruleAlreadyAllowsIp,
16
+ securityGroupLabel,
17
+ sshRuleLabel
18
+ } from "../../../../__chunks/U7HAE2RF.js";
19
+ import "../../../../__chunks/J34UVKLA.js";
20
+ import "../../../../__chunks/FNXUONAV.js";
21
+ import "../../../../__chunks/73BJG53F.js";
22
+ export {
23
+ authorizeRule,
24
+ describeSecurityGroups,
25
+ extractRoamingFirstName,
26
+ getCurrentPublicIp,
27
+ getSecurityGroupDetails,
28
+ instanceLabel,
29
+ listEnabledRegions,
30
+ listInstances,
31
+ listSshIngressRules,
32
+ printSshRules,
33
+ resolveRoamingRule,
34
+ revokeRule,
35
+ roamingRuleDescription,
36
+ ruleAlreadyAllowsIp,
37
+ securityGroupLabel,
38
+ sshRuleLabel
39
+ };
@@ -0,0 +1,55 @@
1
+ /**
2
+ * A function bound to a profile's working credential mode (direct or aws-vault).
3
+ * @typedef {(args: string[], options?: { expectJson?: boolean }) => any} ProfileRunner
4
+ */
5
+ /**
6
+ * List aws-vault profiles that have stored credentials.
7
+ * @returns {string[]}
8
+ */
9
+ export function listVaultProfiles(): string[];
10
+ /**
11
+ * Resolve which profiles to scan for admin-group commands.
12
+ * Uses `--profile`, then `AWS_PROFILE`, for a single profile unless `--all` is set.
13
+ * @param {{ profile?: string; all?: boolean }} params
14
+ * @returns {string[]}
15
+ */
16
+ export function resolveAdminScanProfiles({ profile, all }: {
17
+ profile?: string;
18
+ all?: boolean;
19
+ }): string[];
20
+ /**
21
+ * @param {{ Users?: Array<{ UserName: string }> }} group
22
+ * @returns {string[]}
23
+ */
24
+ export function groupUserNames(group: {
25
+ Users?: Array<{
26
+ UserName: string;
27
+ }>;
28
+ }): string[];
29
+ /**
30
+ * Resolve a working credential runner for a profile and read the admin group.
31
+ * Tries stored credentials first, then falls back to `aws-vault exec`.
32
+ * The returned `run` reuses whichever mode worked, so callers can perform
33
+ * follow-up mutations (e.g. remove-user-from-group) with the same credentials.
34
+ * @param {{ profile: string; verbose?: boolean }} params
35
+ * @returns {{ accountId: string; arn: string; users: string[]; run: ProfileRunner } | null} Null when the profile is skipped
36
+ */
37
+ export function resolveProfileScan(params: {
38
+ profile: string;
39
+ verbose?: boolean;
40
+ }): {
41
+ accountId: string;
42
+ arn: string;
43
+ users: string[];
44
+ run: ProfileRunner;
45
+ } | null;
46
+ /**
47
+ * The IAM group that grants break-glass admin access and should normally be empty.
48
+ */
49
+ export const ADMIN_GROUP_NAME: "acl-admin-do-not-use";
50
+ /**
51
+ * A function bound to a profile's working credential mode (direct or aws-vault).
52
+ */
53
+ export type ProfileRunner = (args: string[], options?: {
54
+ expectJson?: boolean;
55
+ }) => any;
@@ -0,0 +1,15 @@
1
+ import {
2
+ ADMIN_GROUP_NAME,
3
+ groupUserNames,
4
+ listVaultProfiles,
5
+ resolveAdminScanProfiles,
6
+ resolveProfileScan
7
+ } from "../../../__chunks/NF3M2L6C.js";
8
+ import "../../../__chunks/FNXUONAV.js";
9
+ export {
10
+ ADMIN_GROUP_NAME,
11
+ groupUserNames,
12
+ listVaultProfiles,
13
+ resolveAdminScanProfiles,
14
+ resolveProfileScan
15
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * `aws iam break-glass` handler: grant break-glass admin access by adding a user
3
+ * to the acl-admin-do-not-use group for a single profile. Defaults to the
4
+ * caller's own IAM user when no --user is given.
5
+ * @param {unknown} options
6
+ */
7
+ export function breakGlassCommand(options: unknown): Promise<void>;
@@ -0,0 +1,12 @@
1
+ import {
2
+ breakGlassCommand
3
+ } from "../../../../__chunks/VKAKISRG.js";
4
+ import "../../../../__chunks/EMSH4P76.js";
5
+ import "../../../../__chunks/NF3M2L6C.js";
6
+ import "../../../../__chunks/FNXUONAV.js";
7
+ import "../../../../__chunks/5GIUAFXL.js";
8
+ import "../../../../__chunks/73BJG53F.js";
9
+ import "../../../../__chunks/ZHKVJO2U.js";
10
+ export {
11
+ breakGlassCommand
12
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./handler.js";
2
+ export * from "./schema.js";
@@ -0,0 +1,19 @@
1
+ import "../../../../__chunks/TIOVE6HR.js";
2
+ import {
3
+ breakGlassCommand
4
+ } from "../../../../__chunks/VKAKISRG.js";
5
+ import {
6
+ breakGlassOptionsSchema
7
+ } from "../../../../__chunks/EMSH4P76.js";
8
+ import {
9
+ ADMIN_GROUP_NAME
10
+ } from "../../../../__chunks/NF3M2L6C.js";
11
+ import "../../../../__chunks/FNXUONAV.js";
12
+ import "../../../../__chunks/5GIUAFXL.js";
13
+ import "../../../../__chunks/73BJG53F.js";
14
+ import "../../../../__chunks/ZHKVJO2U.js";
15
+ export {
16
+ ADMIN_GROUP_NAME,
17
+ breakGlassCommand,
18
+ breakGlassOptionsSchema
19
+ };
@@ -0,0 +1,25 @@
1
+ export { ADMIN_GROUP_NAME } from "../admin-group.js";
2
+ /**
3
+ * Zod schema for `aws iam break-glass` options.
4
+ */
5
+ export const breakGlassOptionsSchema: z.ZodObject<{
6
+ profile: z.ZodOptional<z.ZodString>;
7
+ user: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
8
+ yes: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9
+ dryRun: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10
+ verbose: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ verbose: boolean;
13
+ yes: boolean;
14
+ user: string[];
15
+ dryRun: boolean;
16
+ profile?: string | undefined;
17
+ }, {
18
+ profile?: string | undefined;
19
+ verbose?: boolean | undefined;
20
+ yes?: boolean | undefined;
21
+ user?: string[] | undefined;
22
+ dryRun?: boolean | undefined;
23
+ }>;
24
+ export type BreakGlassOptions = z.infer<typeof breakGlassOptionsSchema>;
25
+ import { z } from "zod";
@@ -0,0 +1,12 @@
1
+ import {
2
+ breakGlassOptionsSchema
3
+ } from "../../../../__chunks/EMSH4P76.js";
4
+ import {
5
+ ADMIN_GROUP_NAME
6
+ } from "../../../../__chunks/NF3M2L6C.js";
7
+ import "../../../../__chunks/FNXUONAV.js";
8
+ import "../../../../__chunks/73BJG53F.js";
9
+ export {
10
+ ADMIN_GROUP_NAME,
11
+ breakGlassOptionsSchema
12
+ };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * `aws iam check-admin` handler: alert if anyone is a member of acl-admin-do-not-use.
3
+ * @param {unknown} options
4
+ */
5
+ export function checkAdminCommand(options: unknown): Promise<void>;
@@ -0,0 +1,10 @@
1
+ import {
2
+ checkAdminCommand
3
+ } from "../../../../__chunks/S7IJPJ4R.js";
4
+ import "../../../../__chunks/QUF7PS4R.js";
5
+ import "../../../../__chunks/NF3M2L6C.js";
6
+ import "../../../../__chunks/FNXUONAV.js";
7
+ import "../../../../__chunks/73BJG53F.js";
8
+ export {
9
+ checkAdminCommand
10
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./handler.js";
2
+ export * from "./schema.js";
@@ -0,0 +1,17 @@
1
+ import "../../../../__chunks/5ZBVGSOK.js";
2
+ import {
3
+ checkAdminCommand
4
+ } from "../../../../__chunks/S7IJPJ4R.js";
5
+ import {
6
+ checkAdminOptionsSchema
7
+ } from "../../../../__chunks/QUF7PS4R.js";
8
+ import {
9
+ ADMIN_GROUP_NAME
10
+ } from "../../../../__chunks/NF3M2L6C.js";
11
+ import "../../../../__chunks/FNXUONAV.js";
12
+ import "../../../../__chunks/73BJG53F.js";
13
+ export {
14
+ ADMIN_GROUP_NAME,
15
+ checkAdminCommand,
16
+ checkAdminOptionsSchema
17
+ };
@@ -0,0 +1,19 @@
1
+ export { ADMIN_GROUP_NAME } from "../admin-group.js";
2
+ /**
3
+ * Zod schema for `aws iam check-admin` options.
4
+ */
5
+ export const checkAdminOptionsSchema: z.ZodObject<{
6
+ profile: z.ZodOptional<z.ZodString>;
7
+ all: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8
+ verbose: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ verbose: boolean;
11
+ all: boolean;
12
+ profile?: string | undefined;
13
+ }, {
14
+ profile?: string | undefined;
15
+ verbose?: boolean | undefined;
16
+ all?: boolean | undefined;
17
+ }>;
18
+ export type CheckAdminOptions = z.infer<typeof checkAdminOptionsSchema>;
19
+ import { z } from "zod";
@@ -0,0 +1,12 @@
1
+ import {
2
+ checkAdminOptionsSchema
3
+ } from "../../../../__chunks/QUF7PS4R.js";
4
+ import {
5
+ ADMIN_GROUP_NAME
6
+ } from "../../../../__chunks/NF3M2L6C.js";
7
+ import "../../../../__chunks/FNXUONAV.js";
8
+ import "../../../../__chunks/73BJG53F.js";
9
+ export {
10
+ ADMIN_GROUP_NAME,
11
+ checkAdminOptionsSchema
12
+ };
@@ -0,0 +1,28 @@
1
+ // src/commands/aws/iam/policies/s3-restrictions-deny-non-s3-services.json
2
+ var Version = "2012-10-17";
3
+ var Statement = [
4
+ {
5
+ Sid: "DenyNonS3Services",
6
+ Effect: "Deny",
7
+ NotAction: [
8
+ "s3:*",
9
+ "logs:*",
10
+ "sts:AssumeRole",
11
+ "iam:PassRole",
12
+ "kms:Decrypt",
13
+ "kms:GenerateDataKey",
14
+ "kms:DescribeKey",
15
+ "lambda:InvokeFunction"
16
+ ],
17
+ Resource: "*"
18
+ }
19
+ ];
20
+ var s3_restrictions_deny_non_s3_services_default = {
21
+ Version,
22
+ Statement
23
+ };
24
+ export {
25
+ Statement,
26
+ Version,
27
+ s3_restrictions_deny_non_s3_services_default as default
28
+ };