@pulumi/vault 5.6.0 → 5.7.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.
Files changed (515) hide show
  1. package/ad/getAccessCredentials.d.ts +15 -0
  2. package/ad/getAccessCredentials.js +1 -0
  3. package/ad/getAccessCredentials.js.map +1 -1
  4. package/ad/index.d.ts +12 -4
  5. package/ad/index.js +13 -26
  6. package/ad/index.js.map +1 -1
  7. package/ad/secretBackend.d.ts +39 -0
  8. package/ad/secretBackend.js +9 -3
  9. package/ad/secretBackend.js.map +1 -1
  10. package/ad/secretLibrary.d.ts +21 -0
  11. package/ad/secretLibrary.js +2 -0
  12. package/ad/secretLibrary.js.map +1 -1
  13. package/ad/secretRole.d.ts +21 -0
  14. package/ad/secretRole.js +2 -0
  15. package/ad/secretRole.js.map +1 -1
  16. package/alicloud/authBackendRole.d.ts +21 -0
  17. package/alicloud/authBackendRole.js +2 -0
  18. package/alicloud/authBackendRole.js.map +1 -1
  19. package/alicloud/index.d.ts +3 -1
  20. package/alicloud/index.js +4 -19
  21. package/alicloud/index.js.map +1 -1
  22. package/approle/authBackendLogin.d.ts +22 -1
  23. package/approle/authBackendLogin.js +3 -1
  24. package/approle/authBackendLogin.js.map +1 -1
  25. package/approle/authBackendRole.d.ts +21 -0
  26. package/approle/authBackendRole.js +2 -0
  27. package/approle/authBackendRole.js.map +1 -1
  28. package/approle/{authBackendRoleSecretID.d.ts → authBackendRoleSecretId.d.ts} +33 -12
  29. package/approle/{authBackendRoleSecretID.js → authBackendRoleSecretId.js} +16 -12
  30. package/approle/authBackendRoleSecretId.js.map +1 -0
  31. package/approle/getAuthBackendRoleId.d.ts +15 -0
  32. package/approle/getAuthBackendRoleId.js +1 -0
  33. package/approle/getAuthBackendRoleId.js.map +1 -1
  34. package/approle/index.d.ts +12 -4
  35. package/approle/index.js +15 -28
  36. package/approle/index.js.map +1 -1
  37. package/audit.d.ts +21 -0
  38. package/audit.js +2 -0
  39. package/audit.js.map +1 -1
  40. package/authBackend.d.ts +47 -10
  41. package/authBackend.js +4 -0
  42. package/authBackend.js.map +1 -1
  43. package/aws/authBackendCert.d.ts +21 -0
  44. package/aws/authBackendCert.js +2 -0
  45. package/aws/authBackendCert.js.map +1 -1
  46. package/aws/authBackendClient.d.ts +21 -0
  47. package/aws/authBackendClient.js +6 -2
  48. package/aws/authBackendClient.js.map +1 -1
  49. package/aws/authBackendIdentityWhitelist.d.ts +21 -0
  50. package/aws/authBackendIdentityWhitelist.js +2 -0
  51. package/aws/authBackendIdentityWhitelist.js.map +1 -1
  52. package/aws/authBackendLogin.d.ts +21 -0
  53. package/aws/authBackendLogin.js +4 -0
  54. package/aws/authBackendLogin.js.map +1 -1
  55. package/aws/authBackendRole.d.ts +21 -0
  56. package/aws/authBackendRole.js +2 -0
  57. package/aws/authBackendRole.js.map +1 -1
  58. package/aws/authBackendRoleTag.d.ts +21 -0
  59. package/aws/authBackendRoleTag.js +2 -0
  60. package/aws/authBackendRoleTag.js.map +1 -1
  61. package/aws/authBackendRoletagBlacklist.d.ts +21 -0
  62. package/aws/authBackendRoletagBlacklist.js +2 -0
  63. package/aws/authBackendRoletagBlacklist.js.map +1 -1
  64. package/aws/authBackendStsRole.d.ts +21 -0
  65. package/aws/authBackendStsRole.js +2 -0
  66. package/aws/authBackendStsRole.js.map +1 -1
  67. package/aws/getAccessCredentials.d.ts +15 -0
  68. package/aws/getAccessCredentials.js +1 -0
  69. package/aws/getAccessCredentials.js.map +1 -1
  70. package/aws/index.d.ts +33 -11
  71. package/aws/index.js +34 -47
  72. package/aws/index.js.map +1 -1
  73. package/aws/secretBackend.d.ts +36 -12
  74. package/aws/secretBackend.js +8 -14
  75. package/aws/secretBackend.js.map +1 -1
  76. package/aws/secretBackendRole.d.ts +21 -0
  77. package/aws/secretBackendRole.js +2 -0
  78. package/aws/secretBackendRole.js.map +1 -1
  79. package/azure/authBackendConfig.d.ts +21 -0
  80. package/azure/authBackendConfig.js +7 -3
  81. package/azure/authBackendConfig.js.map +1 -1
  82. package/azure/authBackendRole.d.ts +21 -0
  83. package/azure/authBackendRole.js +2 -0
  84. package/azure/authBackendRole.js.map +1 -1
  85. package/azure/backend.d.ts +36 -0
  86. package/azure/backend.js +10 -4
  87. package/azure/backend.js.map +1 -1
  88. package/azure/backendRole.d.ts +23 -1
  89. package/azure/backendRole.js +2 -0
  90. package/azure/backendRole.js.map +1 -1
  91. package/azure/getAccessCredentials.d.ts +15 -0
  92. package/azure/getAccessCredentials.js +1 -0
  93. package/azure/getAccessCredentials.js.map +1 -1
  94. package/azure/index.d.ts +15 -5
  95. package/azure/index.js +16 -29
  96. package/azure/index.js.map +1 -1
  97. package/certAuthBackendRole.d.ts +39 -3
  98. package/certAuthBackendRole.js +4 -0
  99. package/certAuthBackendRole.js.map +1 -1
  100. package/config/vars.d.ts +43 -3
  101. package/config/vars.js +64 -4
  102. package/config/vars.js.map +1 -1
  103. package/consul/index.d.ts +6 -2
  104. package/consul/index.js +7 -22
  105. package/consul/index.js.map +1 -1
  106. package/consul/secretBackend.d.ts +87 -15
  107. package/consul/secretBackend.js +24 -7
  108. package/consul/secretBackend.js.map +1 -1
  109. package/consul/secretBackendRole.d.ts +93 -10
  110. package/consul/secretBackendRole.js +14 -1
  111. package/consul/secretBackendRole.js.map +1 -1
  112. package/database/index.d.ts +12 -4
  113. package/database/index.js +13 -28
  114. package/database/index.js.map +1 -1
  115. package/database/secretBackendConnection.d.ts +35 -1
  116. package/database/secretBackendConnection.js +4 -0
  117. package/database/secretBackendConnection.js.map +1 -1
  118. package/database/secretBackendRole.d.ts +21 -0
  119. package/database/secretBackendRole.js +2 -0
  120. package/database/secretBackendRole.js.map +1 -1
  121. package/database/secretBackendStaticRole.d.ts +21 -0
  122. package/database/secretBackendStaticRole.js +2 -0
  123. package/database/secretBackendStaticRole.js.map +1 -1
  124. package/database/secretsMount.d.ts +41 -1
  125. package/database/secretsMount.js +6 -0
  126. package/database/secretsMount.js.map +1 -1
  127. package/egpPolicy.d.ts +21 -0
  128. package/egpPolicy.js +2 -0
  129. package/egpPolicy.js.map +1 -1
  130. package/gcp/authBackend.d.ts +71 -1
  131. package/gcp/authBackend.js +18 -2
  132. package/gcp/authBackend.js.map +1 -1
  133. package/gcp/authBackendRole.d.ts +21 -0
  134. package/gcp/authBackendRole.js +2 -0
  135. package/gcp/authBackendRole.js.map +1 -1
  136. package/gcp/getAuthBackendRole.d.ts +15 -0
  137. package/gcp/getAuthBackendRole.js +1 -0
  138. package/gcp/getAuthBackendRole.js.map +1 -1
  139. package/gcp/index.d.ts +18 -6
  140. package/gcp/index.js +19 -32
  141. package/gcp/index.js.map +1 -1
  142. package/gcp/secretBackend.d.ts +36 -0
  143. package/gcp/secretBackend.js +7 -1
  144. package/gcp/secretBackend.js.map +1 -1
  145. package/gcp/secretRoleset.d.ts +23 -1
  146. package/gcp/secretRoleset.js +2 -0
  147. package/gcp/secretRoleset.js.map +1 -1
  148. package/gcp/secretStaticAccount.d.ts +23 -1
  149. package/gcp/secretStaticAccount.js +2 -0
  150. package/gcp/secretStaticAccount.js.map +1 -1
  151. package/generic/endpoint.d.ts +21 -0
  152. package/generic/endpoint.js +5 -1
  153. package/generic/endpoint.js.map +1 -1
  154. package/generic/getSecret.d.ts +15 -0
  155. package/generic/getSecret.js +1 -0
  156. package/generic/getSecret.js.map +1 -1
  157. package/generic/index.d.ts +9 -3
  158. package/generic/index.js +10 -23
  159. package/generic/index.js.map +1 -1
  160. package/generic/secret.d.ts +21 -0
  161. package/generic/secret.js +5 -1
  162. package/generic/secret.js.map +1 -1
  163. package/getAuthBackend.d.ts +16 -1
  164. package/getAuthBackend.js +1 -0
  165. package/getAuthBackend.js.map +1 -1
  166. package/getNomadAccessToken.d.ts +15 -0
  167. package/getNomadAccessToken.js +1 -0
  168. package/getNomadAccessToken.js.map +1 -1
  169. package/getPolicyDocument.d.ts +5 -1
  170. package/getPolicyDocument.js +1 -0
  171. package/getPolicyDocument.js.map +1 -1
  172. package/github/authBackend.d.ts +38 -1
  173. package/github/authBackend.js +4 -0
  174. package/github/authBackend.js.map +1 -1
  175. package/github/index.d.ts +9 -3
  176. package/github/index.js +10 -25
  177. package/github/index.js.map +1 -1
  178. package/github/team.d.ts +21 -0
  179. package/github/team.js +2 -0
  180. package/github/team.js.map +1 -1
  181. package/github/user.d.ts +21 -0
  182. package/github/user.js +2 -0
  183. package/github/user.js.map +1 -1
  184. package/identity/entity.d.ts +21 -0
  185. package/identity/entity.js +2 -0
  186. package/identity/entity.js.map +1 -1
  187. package/identity/entityAlias.d.ts +21 -0
  188. package/identity/entityAlias.js +2 -0
  189. package/identity/entityAlias.js.map +1 -1
  190. package/identity/entityPolicies.d.ts +21 -0
  191. package/identity/entityPolicies.js +2 -0
  192. package/identity/entityPolicies.js.map +1 -1
  193. package/identity/getEntity.d.ts +16 -1
  194. package/identity/getEntity.js +1 -0
  195. package/identity/getEntity.js.map +1 -1
  196. package/identity/getGroup.d.ts +15 -0
  197. package/identity/getGroup.js +1 -0
  198. package/identity/getGroup.js.map +1 -1
  199. package/identity/getOidcClientCreds.d.ts +15 -0
  200. package/identity/getOidcClientCreds.js +1 -0
  201. package/identity/getOidcClientCreds.js.map +1 -1
  202. package/identity/getOidcOpenidConfig.d.ts +15 -0
  203. package/identity/getOidcOpenidConfig.js +1 -0
  204. package/identity/getOidcOpenidConfig.js.map +1 -1
  205. package/identity/getOidcPublicKeys.d.ts +15 -0
  206. package/identity/getOidcPublicKeys.js +1 -0
  207. package/identity/getOidcPublicKeys.js.map +1 -1
  208. package/identity/group.d.ts +21 -0
  209. package/identity/group.js +2 -0
  210. package/identity/group.js.map +1 -1
  211. package/identity/groupAlias.d.ts +21 -0
  212. package/identity/groupAlias.js +2 -0
  213. package/identity/groupAlias.js.map +1 -1
  214. package/identity/groupMemberEntityIds.d.ts +21 -0
  215. package/identity/groupMemberEntityIds.js +2 -0
  216. package/identity/groupMemberEntityIds.js.map +1 -1
  217. package/identity/groupPolicies.d.ts +21 -0
  218. package/identity/groupPolicies.js +2 -0
  219. package/identity/groupPolicies.js.map +1 -1
  220. package/identity/index.d.ts +75 -20
  221. package/identity/index.js +86 -66
  222. package/identity/index.js.map +1 -1
  223. package/identity/mfaDuo.d.ts +200 -0
  224. package/identity/mfaDuo.js +110 -0
  225. package/identity/mfaDuo.js.map +1 -0
  226. package/identity/mfaLoginEnforcement.d.ts +170 -0
  227. package/identity/mfaLoginEnforcement.js +96 -0
  228. package/identity/mfaLoginEnforcement.js.map +1 -0
  229. package/identity/mfaOkta.d.ts +188 -0
  230. package/identity/mfaOkta.js +105 -0
  231. package/identity/mfaOkta.js.map +1 -0
  232. package/identity/mfaPingid.d.ts +190 -0
  233. package/identity/mfaPingid.js +102 -0
  234. package/identity/mfaPingid.js.map +1 -0
  235. package/identity/mfaTotp.d.ts +218 -0
  236. package/identity/mfaTotp.js +104 -0
  237. package/identity/mfaTotp.js.map +1 -0
  238. package/identity/oidc.d.ts +21 -0
  239. package/identity/oidc.js +2 -0
  240. package/identity/oidc.js.map +1 -1
  241. package/identity/oidcAssignment.d.ts +23 -2
  242. package/identity/oidcAssignment.js +4 -2
  243. package/identity/oidcAssignment.js.map +1 -1
  244. package/identity/oidcClient.d.ts +21 -0
  245. package/identity/oidcClient.js +4 -0
  246. package/identity/oidcClient.js.map +1 -1
  247. package/identity/oidcKey.d.ts +21 -0
  248. package/identity/oidcKey.js +2 -0
  249. package/identity/oidcKey.js.map +1 -1
  250. package/identity/oidcKeyAllowedClientID.d.ts +21 -0
  251. package/identity/oidcKeyAllowedClientID.js +2 -0
  252. package/identity/oidcKeyAllowedClientID.js.map +1 -1
  253. package/identity/oidcProvider.d.ts +21 -0
  254. package/identity/oidcProvider.js +2 -0
  255. package/identity/oidcProvider.js.map +1 -1
  256. package/identity/oidcRole.d.ts +21 -0
  257. package/identity/oidcRole.js +2 -0
  258. package/identity/oidcRole.js.map +1 -1
  259. package/identity/oidcScope.d.ts +22 -3
  260. package/identity/oidcScope.js +3 -3
  261. package/identity/oidcScope.js.map +1 -1
  262. package/index.d.ts +75 -25
  263. package/index.js +78 -83
  264. package/index.js.map +1 -1
  265. package/jwt/authBackend.d.ts +38 -1
  266. package/jwt/authBackend.js +7 -1
  267. package/jwt/authBackend.js.map +1 -1
  268. package/jwt/authBackendRole.d.ts +57 -0
  269. package/jwt/authBackendRole.js +6 -0
  270. package/jwt/authBackendRole.js.map +1 -1
  271. package/jwt/index.d.ts +6 -2
  272. package/jwt/index.js +7 -22
  273. package/jwt/index.js.map +1 -1
  274. package/kmip/index.d.ts +9 -3
  275. package/kmip/index.js +10 -25
  276. package/kmip/index.js.map +1 -1
  277. package/kmip/secretBackend.d.ts +36 -0
  278. package/kmip/secretBackend.js +4 -0
  279. package/kmip/secretBackend.js.map +1 -1
  280. package/kmip/secretRole.d.ts +21 -0
  281. package/kmip/secretRole.js +2 -0
  282. package/kmip/secretRole.js.map +1 -1
  283. package/kmip/secretScope.d.ts +21 -0
  284. package/kmip/secretScope.js +2 -0
  285. package/kmip/secretScope.js.map +1 -1
  286. package/kubernetes/authBackendConfig.d.ts +21 -0
  287. package/kubernetes/authBackendConfig.js +5 -1
  288. package/kubernetes/authBackendConfig.js.map +1 -1
  289. package/kubernetes/authBackendRole.d.ts +21 -0
  290. package/kubernetes/authBackendRole.js +2 -0
  291. package/kubernetes/authBackendRole.js.map +1 -1
  292. package/kubernetes/getAuthBackendConfig.d.ts +15 -0
  293. package/kubernetes/getAuthBackendConfig.js +1 -0
  294. package/kubernetes/getAuthBackendConfig.js.map +1 -1
  295. package/kubernetes/getAuthBackendRole.d.ts +15 -0
  296. package/kubernetes/getAuthBackendRole.js +1 -0
  297. package/kubernetes/getAuthBackendRole.js.map +1 -1
  298. package/kubernetes/getServiceAccountToken.d.ts +156 -0
  299. package/kubernetes/getServiceAccountToken.js +67 -0
  300. package/kubernetes/getServiceAccountToken.js.map +1 -0
  301. package/kubernetes/index.d.ts +21 -4
  302. package/kubernetes/index.js +26 -24
  303. package/kubernetes/index.js.map +1 -1
  304. package/kubernetes/secretBackend.d.ts +303 -0
  305. package/kubernetes/secretBackend.js +114 -0
  306. package/kubernetes/secretBackend.js.map +1 -0
  307. package/kubernetes/secretBackendRole.d.ts +367 -0
  308. package/kubernetes/secretBackendRole.js +191 -0
  309. package/kubernetes/secretBackendRole.js.map +1 -0
  310. package/kv/getSecret.d.ts +104 -0
  311. package/kv/getSecret.js +53 -0
  312. package/kv/getSecret.js.map +1 -0
  313. package/kv/getSecretSubkeysV2.d.ts +132 -0
  314. package/kv/getSecretSubkeysV2.js +57 -0
  315. package/kv/getSecretSubkeysV2.js.map +1 -0
  316. package/kv/getSecretV2.d.ts +139 -0
  317. package/kv/getSecretV2.js +58 -0
  318. package/kv/getSecretV2.js.map +1 -0
  319. package/kv/getSecretsList.d.ts +85 -0
  320. package/kv/getSecretsList.js +58 -0
  321. package/kv/getSecretsList.js.map +1 -0
  322. package/kv/getSecretsListV2.d.ts +114 -0
  323. package/kv/getSecretsListV2.js +69 -0
  324. package/kv/getSecretsListV2.js.map +1 -0
  325. package/kv/index.d.ts +24 -0
  326. package/kv/index.js +47 -0
  327. package/kv/index.js.map +1 -0
  328. package/kv/secret.d.ts +145 -0
  329. package/kv/secret.js +106 -0
  330. package/kv/secret.js.map +1 -0
  331. package/kv/secretBackendV2.d.ts +154 -0
  332. package/kv/secretBackendV2.js +103 -0
  333. package/kv/secretBackendV2.js.map +1 -0
  334. package/kv/secretV2.d.ts +257 -0
  335. package/kv/secretV2.js +122 -0
  336. package/kv/secretV2.js.map +1 -0
  337. package/ldap/authBackend.d.ts +48 -0
  338. package/ldap/authBackend.js +10 -2
  339. package/ldap/authBackend.js.map +1 -1
  340. package/ldap/authBackendGroup.d.ts +21 -0
  341. package/ldap/authBackendGroup.js +2 -0
  342. package/ldap/authBackendGroup.js.map +1 -1
  343. package/ldap/authBackendUser.d.ts +21 -0
  344. package/ldap/authBackendUser.js +2 -0
  345. package/ldap/authBackendUser.js.map +1 -1
  346. package/ldap/index.d.ts +9 -3
  347. package/ldap/index.js +10 -25
  348. package/ldap/index.js.map +1 -1
  349. package/managed/index.d.ts +3 -0
  350. package/managed/index.js +22 -0
  351. package/managed/index.js.map +1 -0
  352. package/managed/keys.d.ts +104 -0
  353. package/managed/keys.js +64 -0
  354. package/managed/keys.js.map +1 -0
  355. package/mfaDuo.d.ts +21 -0
  356. package/mfaDuo.js +6 -2
  357. package/mfaDuo.js.map +1 -1
  358. package/mfaOkta.d.ts +21 -0
  359. package/mfaOkta.js +5 -1
  360. package/mfaOkta.js.map +1 -1
  361. package/mfaPingid.d.ts +21 -0
  362. package/mfaPingid.js +2 -0
  363. package/mfaPingid.js.map +1 -1
  364. package/mfaTotp.d.ts +21 -0
  365. package/mfaTotp.js +2 -0
  366. package/mfaTotp.js.map +1 -1
  367. package/mount.d.ts +33 -0
  368. package/mount.js +4 -0
  369. package/mount.js.map +1 -1
  370. package/namespace.d.ts +32 -18
  371. package/namespace.js +5 -16
  372. package/namespace.js.map +1 -1
  373. package/nomadSecretBackend.d.ts +36 -0
  374. package/nomadSecretBackend.js +9 -3
  375. package/nomadSecretBackend.js.map +1 -1
  376. package/nomadSecretRole.d.ts +21 -0
  377. package/nomadSecretRole.js +2 -0
  378. package/nomadSecretRole.js.map +1 -1
  379. package/okta/authBackend.d.ts +38 -1
  380. package/okta/authBackend.js +7 -1
  381. package/okta/authBackend.js.map +1 -1
  382. package/okta/authBackendGroup.d.ts +21 -0
  383. package/okta/authBackendGroup.js +2 -0
  384. package/okta/authBackendGroup.js.map +1 -1
  385. package/okta/authBackendUser.d.ts +21 -0
  386. package/okta/authBackendUser.js +2 -0
  387. package/okta/authBackendUser.js.map +1 -1
  388. package/okta/index.d.ts +9 -3
  389. package/okta/index.js +10 -25
  390. package/okta/index.js.map +1 -1
  391. package/package.json +2 -2
  392. package/package.json.dev +2 -2
  393. package/passwordPolicy.d.ts +21 -0
  394. package/passwordPolicy.js +2 -0
  395. package/passwordPolicy.js.map +1 -1
  396. package/pkisecret/index.d.ts +30 -10
  397. package/pkisecret/index.js +31 -46
  398. package/pkisecret/index.js.map +1 -1
  399. package/pkisecret/secretBackendCert.d.ts +29 -0
  400. package/pkisecret/secretBackendCert.js +6 -0
  401. package/pkisecret/secretBackendCert.js.map +1 -1
  402. package/pkisecret/secretBackendConfigCa.d.ts +21 -0
  403. package/pkisecret/secretBackendConfigCa.js +5 -1
  404. package/pkisecret/secretBackendConfigCa.js.map +1 -1
  405. package/pkisecret/secretBackendConfigUrls.d.ts +21 -0
  406. package/pkisecret/secretBackendConfigUrls.js +2 -0
  407. package/pkisecret/secretBackendConfigUrls.js.map +1 -1
  408. package/pkisecret/secretBackendCrlConfig.d.ts +21 -0
  409. package/pkisecret/secretBackendCrlConfig.js +2 -0
  410. package/pkisecret/secretBackendCrlConfig.js.map +1 -1
  411. package/pkisecret/secretBackendIntermediateCertRequest.d.ts +54 -0
  412. package/pkisecret/secretBackendIntermediateCertRequest.js +8 -0
  413. package/pkisecret/secretBackendIntermediateCertRequest.js.map +1 -1
  414. package/pkisecret/secretBackendIntermediateSetSigned.d.ts +21 -0
  415. package/pkisecret/secretBackendIntermediateSetSigned.js +2 -0
  416. package/pkisecret/secretBackendIntermediateSetSigned.js.map +1 -1
  417. package/pkisecret/secretBackendRole.d.ts +24 -3
  418. package/pkisecret/secretBackendRole.js +2 -0
  419. package/pkisecret/secretBackendRole.js.map +1 -1
  420. package/pkisecret/secretBackendRootCert.d.ts +57 -3
  421. package/pkisecret/secretBackendRootCert.js +6 -0
  422. package/pkisecret/secretBackendRootCert.js.map +1 -1
  423. package/pkisecret/secretBackendRootSignIntermediate.d.ts +21 -0
  424. package/pkisecret/secretBackendRootSignIntermediate.js +2 -0
  425. package/pkisecret/secretBackendRootSignIntermediate.js.map +1 -1
  426. package/pkisecret/secretBackendSign.d.ts +29 -0
  427. package/pkisecret/secretBackendSign.js +4 -0
  428. package/pkisecret/secretBackendSign.js.map +1 -1
  429. package/policy.d.ts +21 -0
  430. package/policy.js +2 -0
  431. package/policy.js.map +1 -1
  432. package/provider.d.ts +43 -3
  433. package/provider.js +12 -2
  434. package/provider.js.map +1 -1
  435. package/quotaLeaseCount.d.ts +21 -0
  436. package/quotaLeaseCount.js +2 -0
  437. package/quotaLeaseCount.js.map +1 -1
  438. package/quotaRateLimit.d.ts +48 -0
  439. package/quotaRateLimit.js +6 -0
  440. package/quotaRateLimit.js.map +1 -1
  441. package/rabbitmq/index.d.ts +6 -2
  442. package/rabbitmq/index.js +7 -22
  443. package/rabbitmq/index.js.map +1 -1
  444. package/rabbitmq/secretBackend.d.ts +36 -0
  445. package/rabbitmq/secretBackend.js +8 -2
  446. package/rabbitmq/secretBackend.js.map +1 -1
  447. package/rabbitmq/secretBackendRole.d.ts +23 -1
  448. package/rabbitmq/secretBackendRole.js +2 -0
  449. package/rabbitmq/secretBackendRole.js.map +1 -1
  450. package/raftAutopilot.d.ts +21 -0
  451. package/raftAutopilot.js +2 -0
  452. package/raftAutopilot.js.map +1 -1
  453. package/raftSnapshotAgentConfig.d.ts +62 -0
  454. package/raftSnapshotAgentConfig.js +43 -0
  455. package/raftSnapshotAgentConfig.js.map +1 -1
  456. package/rgpPolicy.d.ts +21 -0
  457. package/rgpPolicy.js +2 -0
  458. package/rgpPolicy.js.map +1 -1
  459. package/ssh/index.d.ts +6 -2
  460. package/ssh/index.js +7 -22
  461. package/ssh/index.js.map +1 -1
  462. package/ssh/secretBackendCa.d.ts +29 -0
  463. package/ssh/secretBackendCa.js +13 -1
  464. package/ssh/secretBackendCa.js.map +1 -1
  465. package/ssh/secretBackendRole.d.ts +23 -1
  466. package/ssh/secretBackendRole.js +2 -0
  467. package/ssh/secretBackendRole.js.map +1 -1
  468. package/terraformcloud/index.d.ts +9 -3
  469. package/terraformcloud/index.js +10 -25
  470. package/terraformcloud/index.js.map +1 -1
  471. package/terraformcloud/secretBackend.d.ts +36 -0
  472. package/terraformcloud/secretBackend.js +7 -1
  473. package/terraformcloud/secretBackend.js.map +1 -1
  474. package/terraformcloud/secretCreds.d.ts +21 -0
  475. package/terraformcloud/secretCreds.js +4 -0
  476. package/terraformcloud/secretCreds.js.map +1 -1
  477. package/terraformcloud/secretRole.d.ts +21 -0
  478. package/terraformcloud/secretRole.js +2 -0
  479. package/terraformcloud/secretRole.js.map +1 -1
  480. package/token.d.ts +42 -0
  481. package/token.js +9 -0
  482. package/token.js.map +1 -1
  483. package/tokenauth/authBackendRole.d.ts +21 -0
  484. package/tokenauth/authBackendRole.js +2 -0
  485. package/tokenauth/authBackendRole.js.map +1 -1
  486. package/tokenauth/index.d.ts +3 -1
  487. package/tokenauth/index.js +4 -19
  488. package/tokenauth/index.js.map +1 -1
  489. package/transform/index.d.ts +18 -6
  490. package/transform/index.js +19 -30
  491. package/transform/index.js.map +1 -1
  492. package/transform/transformation.d.ts +0 -25
  493. package/transform/transformation.js +0 -25
  494. package/transform/transformation.js.map +1 -1
  495. package/transit/getDecrypt.d.ts +3 -0
  496. package/transit/getDecrypt.js +1 -0
  497. package/transit/getDecrypt.js.map +1 -1
  498. package/transit/getEncrypt.d.ts +3 -0
  499. package/transit/getEncrypt.js +1 -0
  500. package/transit/getEncrypt.js.map +1 -1
  501. package/transit/index.d.ts +12 -4
  502. package/transit/index.js +13 -24
  503. package/transit/index.js.map +1 -1
  504. package/transit/secretBackendKey.d.ts +21 -0
  505. package/transit/secretBackendKey.js +2 -0
  506. package/transit/secretBackendKey.js.map +1 -1
  507. package/transit/secretCacheConfig.d.ts +21 -0
  508. package/transit/secretCacheConfig.js +2 -0
  509. package/transit/secretCacheConfig.js.map +1 -1
  510. package/types/index.js.map +1 -1
  511. package/types/input.d.ts +408 -4
  512. package/types/output.d.ts +409 -5
  513. package/utilities.js +13 -1
  514. package/utilities.js.map +1 -1
  515. package/approle/authBackendRoleSecretID.js.map +0 -1
@@ -0,0 +1,114 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * ```typescript
6
+ * import * as pulumi from "@pulumi/pulumi";
7
+ * import * as vault from "@pulumi/vault";
8
+ *
9
+ * const kvv2 = new vault.Mount("kvv2", {
10
+ * path: "kvv2",
11
+ * type: "kv",
12
+ * options: {
13
+ * version: "2",
14
+ * },
15
+ * description: "KV Version 2 secret engine mount",
16
+ * });
17
+ * const awsSecret = new vault.kv.SecretV2("awsSecret", {
18
+ * mount: kvv2.path,
19
+ * dataJson: JSON.stringify({
20
+ * zip: "zap",
21
+ * }),
22
+ * });
23
+ * const azureSecret = new vault.kv.SecretV2("azureSecret", {
24
+ * mount: kvv2.path,
25
+ * dataJson: JSON.stringify({
26
+ * foo: "bar",
27
+ * }),
28
+ * });
29
+ * const nestedSecret = new vault.kv.SecretV2("nestedSecret", {
30
+ * mount: kvv2.path,
31
+ * dataJson: JSON.stringify({
32
+ * password: "test",
33
+ * }),
34
+ * });
35
+ * const secrets = vault.kv.getSecretsListV2Output({
36
+ * mount: kvv2.path,
37
+ * });
38
+ * const nestedSecrets = kvv2.path.apply(path => vault.kv.getSecretsListV2Output({
39
+ * mount: path,
40
+ * name: vault_kv_secret_v2.test_2.name,
41
+ * }));
42
+ * ```
43
+ * ## Required Vault Capabilities
44
+ *
45
+ * Use of this resource requires the `read` capability on the given path.
46
+ */
47
+ export declare function getSecretsListV2(args: GetSecretsListV2Args, opts?: pulumi.InvokeOptions): Promise<GetSecretsListV2Result>;
48
+ /**
49
+ * A collection of arguments for invoking getSecretsListV2.
50
+ */
51
+ export interface GetSecretsListV2Args {
52
+ /**
53
+ * Path where KV-V2 engine is mounted.
54
+ */
55
+ mount: string;
56
+ /**
57
+ * Full name of the secret. For a nested secret
58
+ * the name is the nested path excluding the mount and data
59
+ * prefix. For example, for a secret at `kvv2/data/foo/bar/baz`
60
+ * the name is `foo/bar/baz`.
61
+ */
62
+ name?: string;
63
+ /**
64
+ * The namespace of the target resource.
65
+ * The value should not contain leading or trailing forward slashes.
66
+ * The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
67
+ * *Available only for Vault Enterprise*.
68
+ */
69
+ namespace?: string;
70
+ }
71
+ /**
72
+ * A collection of values returned by getSecretsListV2.
73
+ */
74
+ export interface GetSecretsListV2Result {
75
+ /**
76
+ * The provider-assigned unique ID for this managed resource.
77
+ */
78
+ readonly id: string;
79
+ readonly mount: string;
80
+ readonly name?: string;
81
+ /**
82
+ * List of all secret names listed under the given path.
83
+ */
84
+ readonly names: string[];
85
+ readonly namespace?: string;
86
+ /**
87
+ * Full path where the KV-V2 secrets are listed.
88
+ */
89
+ readonly path: string;
90
+ }
91
+ export declare function getSecretsListV2Output(args: GetSecretsListV2OutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSecretsListV2Result>;
92
+ /**
93
+ * A collection of arguments for invoking getSecretsListV2.
94
+ */
95
+ export interface GetSecretsListV2OutputArgs {
96
+ /**
97
+ * Path where KV-V2 engine is mounted.
98
+ */
99
+ mount: pulumi.Input<string>;
100
+ /**
101
+ * Full name of the secret. For a nested secret
102
+ * the name is the nested path excluding the mount and data
103
+ * prefix. For example, for a secret at `kvv2/data/foo/bar/baz`
104
+ * the name is `foo/bar/baz`.
105
+ */
106
+ name?: pulumi.Input<string>;
107
+ /**
108
+ * The namespace of the target resource.
109
+ * The value should not contain leading or trailing forward slashes.
110
+ * The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
111
+ * *Available only for Vault Enterprise*.
112
+ */
113
+ namespace?: pulumi.Input<string>;
114
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getSecretsListV2Output = exports.getSecretsListV2 = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as vault from "@pulumi/vault";
14
+ *
15
+ * const kvv2 = new vault.Mount("kvv2", {
16
+ * path: "kvv2",
17
+ * type: "kv",
18
+ * options: {
19
+ * version: "2",
20
+ * },
21
+ * description: "KV Version 2 secret engine mount",
22
+ * });
23
+ * const awsSecret = new vault.kv.SecretV2("awsSecret", {
24
+ * mount: kvv2.path,
25
+ * dataJson: JSON.stringify({
26
+ * zip: "zap",
27
+ * }),
28
+ * });
29
+ * const azureSecret = new vault.kv.SecretV2("azureSecret", {
30
+ * mount: kvv2.path,
31
+ * dataJson: JSON.stringify({
32
+ * foo: "bar",
33
+ * }),
34
+ * });
35
+ * const nestedSecret = new vault.kv.SecretV2("nestedSecret", {
36
+ * mount: kvv2.path,
37
+ * dataJson: JSON.stringify({
38
+ * password: "test",
39
+ * }),
40
+ * });
41
+ * const secrets = vault.kv.getSecretsListV2Output({
42
+ * mount: kvv2.path,
43
+ * });
44
+ * const nestedSecrets = kvv2.path.apply(path => vault.kv.getSecretsListV2Output({
45
+ * mount: path,
46
+ * name: vault_kv_secret_v2.test_2.name,
47
+ * }));
48
+ * ```
49
+ * ## Required Vault Capabilities
50
+ *
51
+ * Use of this resource requires the `read` capability on the given path.
52
+ */
53
+ function getSecretsListV2(args, opts) {
54
+ if (!opts) {
55
+ opts = {};
56
+ }
57
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
58
+ return pulumi.runtime.invoke("vault:kv/getSecretsListV2:getSecretsListV2", {
59
+ "mount": args.mount,
60
+ "name": args.name,
61
+ "namespace": args.namespace,
62
+ }, opts);
63
+ }
64
+ exports.getSecretsListV2 = getSecretsListV2;
65
+ function getSecretsListV2Output(args, opts) {
66
+ return pulumi.output(args).apply(a => getSecretsListV2(a, opts));
67
+ }
68
+ exports.getSecretsListV2Output = getSecretsListV2Output;
69
+ //# sourceMappingURL=getSecretsListV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSecretsListV2.js","sourceRoot":"","sources":["../../kv/getSecretsListV2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4CAWC;AA+CD,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,wDAEC"}
package/kv/index.d.ts ADDED
@@ -0,0 +1,24 @@
1
+ export { GetSecretArgs, GetSecretResult, GetSecretOutputArgs } from "./getSecret";
2
+ export declare const getSecret: typeof import("./getSecret").getSecret;
3
+ export declare const getSecretOutput: typeof import("./getSecret").getSecretOutput;
4
+ export { GetSecretSubkeysV2Args, GetSecretSubkeysV2Result, GetSecretSubkeysV2OutputArgs } from "./getSecretSubkeysV2";
5
+ export declare const getSecretSubkeysV2: typeof import("./getSecretSubkeysV2").getSecretSubkeysV2;
6
+ export declare const getSecretSubkeysV2Output: typeof import("./getSecretSubkeysV2").getSecretSubkeysV2Output;
7
+ export { GetSecretV2Args, GetSecretV2Result, GetSecretV2OutputArgs } from "./getSecretV2";
8
+ export declare const getSecretV2: typeof import("./getSecretV2").getSecretV2;
9
+ export declare const getSecretV2Output: typeof import("./getSecretV2").getSecretV2Output;
10
+ export { GetSecretsListArgs, GetSecretsListResult, GetSecretsListOutputArgs } from "./getSecretsList";
11
+ export declare const getSecretsList: typeof import("./getSecretsList").getSecretsList;
12
+ export declare const getSecretsListOutput: typeof import("./getSecretsList").getSecretsListOutput;
13
+ export { GetSecretsListV2Args, GetSecretsListV2Result, GetSecretsListV2OutputArgs } from "./getSecretsListV2";
14
+ export declare const getSecretsListV2: typeof import("./getSecretsListV2").getSecretsListV2;
15
+ export declare const getSecretsListV2Output: typeof import("./getSecretsListV2").getSecretsListV2Output;
16
+ export { SecretArgs, SecretState } from "./secret";
17
+ export declare type Secret = import("./secret").Secret;
18
+ export declare const Secret: typeof import("./secret").Secret;
19
+ export { SecretBackendV2Args, SecretBackendV2State } from "./secretBackendV2";
20
+ export declare type SecretBackendV2 = import("./secretBackendV2").SecretBackendV2;
21
+ export declare const SecretBackendV2: typeof import("./secretBackendV2").SecretBackendV2;
22
+ export { SecretV2Args, SecretV2State } from "./secretV2";
23
+ export declare type SecretV2 = import("./secretV2").SecretV2;
24
+ export declare const SecretV2: typeof import("./secretV2").SecretV2;
package/kv/index.js ADDED
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.SecretV2 = exports.SecretBackendV2 = exports.Secret = exports.getSecretsListV2Output = exports.getSecretsListV2 = exports.getSecretsListOutput = exports.getSecretsList = exports.getSecretV2Output = exports.getSecretV2 = exports.getSecretSubkeysV2Output = exports.getSecretSubkeysV2 = exports.getSecretOutput = exports.getSecret = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.getSecret = null;
9
+ exports.getSecretOutput = null;
10
+ exports.getSecretSubkeysV2 = null;
11
+ exports.getSecretSubkeysV2Output = null;
12
+ exports.getSecretV2 = null;
13
+ exports.getSecretV2Output = null;
14
+ exports.getSecretsList = null;
15
+ exports.getSecretsListOutput = null;
16
+ exports.getSecretsListV2 = null;
17
+ exports.getSecretsListV2Output = null;
18
+ exports.Secret = null;
19
+ exports.SecretBackendV2 = null;
20
+ exports.SecretV2 = null;
21
+ utilities.lazyLoad(exports, ["getSecret", "getSecretOutput"], () => require("./getSecret"));
22
+ utilities.lazyLoad(exports, ["getSecretSubkeysV2", "getSecretSubkeysV2Output"], () => require("./getSecretSubkeysV2"));
23
+ utilities.lazyLoad(exports, ["getSecretV2", "getSecretV2Output"], () => require("./getSecretV2"));
24
+ utilities.lazyLoad(exports, ["getSecretsList", "getSecretsListOutput"], () => require("./getSecretsList"));
25
+ utilities.lazyLoad(exports, ["getSecretsListV2", "getSecretsListV2Output"], () => require("./getSecretsListV2"));
26
+ utilities.lazyLoad(exports, ["Secret"], () => require("./secret"));
27
+ utilities.lazyLoad(exports, ["SecretBackendV2"], () => require("./secretBackendV2"));
28
+ utilities.lazyLoad(exports, ["SecretV2"], () => require("./secretV2"));
29
+ const _module = {
30
+ version: utilities.getVersion(),
31
+ construct: (name, type, urn) => {
32
+ switch (type) {
33
+ case "vault:kv/secret:Secret":
34
+ return new exports.Secret(name, undefined, { urn });
35
+ case "vault:kv/secretBackendV2:SecretBackendV2":
36
+ return new exports.SecretBackendV2(name, undefined, { urn });
37
+ case "vault:kv/secretV2:SecretV2":
38
+ return new exports.SecretV2(name, undefined, { urn });
39
+ default:
40
+ throw new Error(`unknown resource type ${type}`);
41
+ }
42
+ },
43
+ };
44
+ pulumi.runtime.registerResourceModule("vault", "kv/secret", _module);
45
+ pulumi.runtime.registerResourceModule("vault", "kv/secretBackendV2", _module);
46
+ pulumi.runtime.registerResourceModule("vault", "kv/secretV2", _module);
47
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1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AA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA"}
package/kv/secret.d.ts ADDED
@@ -0,0 +1,145 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Writes a KV-V1 secret to a given path in Vault.
4
+ *
5
+ * For more information on Vault's KV-V1 secret backend
6
+ * [see here](https://www.vaultproject.io/docs/secrets/kv/kv-v1).
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as vault from "@pulumi/vault";
13
+ *
14
+ * const kvv1 = new vault.Mount("kvv1", {
15
+ * path: "kvv1",
16
+ * type: "kv",
17
+ * options: {
18
+ * version: "1",
19
+ * },
20
+ * description: "KV Version 1 secret engine mount",
21
+ * });
22
+ * const secret = new vault.kv.Secret("secret", {
23
+ * path: pulumi.interpolate`${kvv1.path}/secret`,
24
+ * dataJson: JSON.stringify({
25
+ * zip: "zap",
26
+ * foo: "bar",
27
+ * }),
28
+ * });
29
+ * ```
30
+ * ## Required Vault Capabilities
31
+ *
32
+ * Use of this resource requires the `create` or `update` capability
33
+ * (depending on whether the resource already exists) on the given path,
34
+ * the `delete` capability if the resource is removed from configuration,
35
+ * and the `read` capability for drift detection (by default).
36
+ *
37
+ * ## Import
38
+ *
39
+ * KV-V1 secrets can be imported using the `path`, e.g.
40
+ *
41
+ * ```sh
42
+ * $ pulumi import vault:kv/secret:Secret secret kvv1/secret
43
+ * ```
44
+ */
45
+ export declare class Secret extends pulumi.CustomResource {
46
+ /**
47
+ * Get an existing Secret resource's state with the given name, ID, and optional extra
48
+ * properties used to qualify the lookup.
49
+ *
50
+ * @param name The _unique_ name of the resulting resource.
51
+ * @param id The _unique_ provider ID of the resource to lookup.
52
+ * @param state Any extra arguments used during the lookup.
53
+ * @param opts Optional settings to control the behavior of the CustomResource.
54
+ */
55
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecretState, opts?: pulumi.CustomResourceOptions): Secret;
56
+ /**
57
+ * Returns true if the given object is an instance of Secret. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj: any): obj is Secret;
61
+ /**
62
+ * A mapping whose keys are the top-level data keys returned from
63
+ * Vault and whose values are the corresponding values. This map can only
64
+ * represent string data, so any non-string values returned from Vault are
65
+ * serialized as JSON.
66
+ */
67
+ readonly data: pulumi.Output<{
68
+ [key: string]: any;
69
+ }>;
70
+ /**
71
+ * JSON-encoded string that will be
72
+ * written as the secret data at the given path.
73
+ */
74
+ readonly dataJson: pulumi.Output<string>;
75
+ /**
76
+ * The namespace to provision the resource in.
77
+ * The value should not contain leading or trailing forward slashes.
78
+ * The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
79
+ * *Available only for Vault Enterprise*.
80
+ */
81
+ readonly namespace: pulumi.Output<string | undefined>;
82
+ /**
83
+ * Full path of the KV-V1 secret.
84
+ */
85
+ readonly path: pulumi.Output<string>;
86
+ /**
87
+ * Create a Secret resource with the given unique name, arguments, and options.
88
+ *
89
+ * @param name The _unique_ name of the resource.
90
+ * @param args The arguments to use to populate this resource's properties.
91
+ * @param opts A bag of options that control this resource's behavior.
92
+ */
93
+ constructor(name: string, args: SecretArgs, opts?: pulumi.CustomResourceOptions);
94
+ }
95
+ /**
96
+ * Input properties used for looking up and filtering Secret resources.
97
+ */
98
+ export interface SecretState {
99
+ /**
100
+ * A mapping whose keys are the top-level data keys returned from
101
+ * Vault and whose values are the corresponding values. This map can only
102
+ * represent string data, so any non-string values returned from Vault are
103
+ * serialized as JSON.
104
+ */
105
+ data?: pulumi.Input<{
106
+ [key: string]: any;
107
+ }>;
108
+ /**
109
+ * JSON-encoded string that will be
110
+ * written as the secret data at the given path.
111
+ */
112
+ dataJson?: pulumi.Input<string>;
113
+ /**
114
+ * The namespace to provision the resource in.
115
+ * The value should not contain leading or trailing forward slashes.
116
+ * The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
117
+ * *Available only for Vault Enterprise*.
118
+ */
119
+ namespace?: pulumi.Input<string>;
120
+ /**
121
+ * Full path of the KV-V1 secret.
122
+ */
123
+ path?: pulumi.Input<string>;
124
+ }
125
+ /**
126
+ * The set of arguments for constructing a Secret resource.
127
+ */
128
+ export interface SecretArgs {
129
+ /**
130
+ * JSON-encoded string that will be
131
+ * written as the secret data at the given path.
132
+ */
133
+ dataJson: pulumi.Input<string>;
134
+ /**
135
+ * The namespace to provision the resource in.
136
+ * The value should not contain leading or trailing forward slashes.
137
+ * The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
138
+ * *Available only for Vault Enterprise*.
139
+ */
140
+ namespace?: pulumi.Input<string>;
141
+ /**
142
+ * Full path of the KV-V1 secret.
143
+ */
144
+ path: pulumi.Input<string>;
145
+ }
package/kv/secret.js ADDED
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Secret = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Writes a KV-V1 secret to a given path in Vault.
10
+ *
11
+ * For more information on Vault's KV-V1 secret backend
12
+ * [see here](https://www.vaultproject.io/docs/secrets/kv/kv-v1).
13
+ *
14
+ * ## Example Usage
15
+ *
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as vault from "@pulumi/vault";
19
+ *
20
+ * const kvv1 = new vault.Mount("kvv1", {
21
+ * path: "kvv1",
22
+ * type: "kv",
23
+ * options: {
24
+ * version: "1",
25
+ * },
26
+ * description: "KV Version 1 secret engine mount",
27
+ * });
28
+ * const secret = new vault.kv.Secret("secret", {
29
+ * path: pulumi.interpolate`${kvv1.path}/secret`,
30
+ * dataJson: JSON.stringify({
31
+ * zip: "zap",
32
+ * foo: "bar",
33
+ * }),
34
+ * });
35
+ * ```
36
+ * ## Required Vault Capabilities
37
+ *
38
+ * Use of this resource requires the `create` or `update` capability
39
+ * (depending on whether the resource already exists) on the given path,
40
+ * the `delete` capability if the resource is removed from configuration,
41
+ * and the `read` capability for drift detection (by default).
42
+ *
43
+ * ## Import
44
+ *
45
+ * KV-V1 secrets can be imported using the `path`, e.g.
46
+ *
47
+ * ```sh
48
+ * $ pulumi import vault:kv/secret:Secret secret kvv1/secret
49
+ * ```
50
+ */
51
+ class Secret extends pulumi.CustomResource {
52
+ constructor(name, argsOrState, opts) {
53
+ let resourceInputs = {};
54
+ opts = opts || {};
55
+ if (opts.id) {
56
+ const state = argsOrState;
57
+ resourceInputs["data"] = state ? state.data : undefined;
58
+ resourceInputs["dataJson"] = state ? state.dataJson : undefined;
59
+ resourceInputs["namespace"] = state ? state.namespace : undefined;
60
+ resourceInputs["path"] = state ? state.path : undefined;
61
+ }
62
+ else {
63
+ const args = argsOrState;
64
+ if ((!args || args.dataJson === undefined) && !opts.urn) {
65
+ throw new Error("Missing required property 'dataJson'");
66
+ }
67
+ if ((!args || args.path === undefined) && !opts.urn) {
68
+ throw new Error("Missing required property 'path'");
69
+ }
70
+ resourceInputs["dataJson"] = (args === null || args === void 0 ? void 0 : args.dataJson) ? pulumi.secret(args.dataJson) : undefined;
71
+ resourceInputs["namespace"] = args ? args.namespace : undefined;
72
+ resourceInputs["path"] = args ? args.path : undefined;
73
+ resourceInputs["data"] = undefined /*out*/;
74
+ }
75
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
76
+ const secretOpts = { additionalSecretOutputs: ["data", "dataJson"] };
77
+ opts = pulumi.mergeOptions(opts, secretOpts);
78
+ super(Secret.__pulumiType, name, resourceInputs, opts);
79
+ }
80
+ /**
81
+ * Get an existing Secret resource's state with the given name, ID, and optional extra
82
+ * properties used to qualify the lookup.
83
+ *
84
+ * @param name The _unique_ name of the resulting resource.
85
+ * @param id The _unique_ provider ID of the resource to lookup.
86
+ * @param state Any extra arguments used during the lookup.
87
+ * @param opts Optional settings to control the behavior of the CustomResource.
88
+ */
89
+ static get(name, id, state, opts) {
90
+ return new Secret(name, state, Object.assign(Object.assign({}, opts), { id: id }));
91
+ }
92
+ /**
93
+ * Returns true if the given object is an instance of Secret. This is designed to work even
94
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
95
+ */
96
+ static isInstance(obj) {
97
+ if (obj === undefined || obj === null) {
98
+ return false;
99
+ }
100
+ return obj['__pulumiType'] === Secret.__pulumiType;
101
+ }
102
+ }
103
+ exports.Secret = Secret;
104
+ /** @internal */
105
+ Secret.__pulumiType = 'vault:kv/secret:Secret';
106
+ //# sourceMappingURL=secret.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secret.js","sourceRoot":"","sources":["../../kv/secret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IA4D7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC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AC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IArFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBAuFC;AAzEG,gBAAgB;AACO,mBAAY,GAAG,wBAAwB,CAAC"}
@@ -0,0 +1,154 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Configures KV-V2 backend level settings that are applied to
4
+ * every key in the key-value store.
5
+ *
6
+ * For more information on Vault's KV-V2 secret backend
7
+ * [see here](https://www.vaultproject.io/docs/secrets/kv/kv-v2).
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as vault from "@pulumi/vault";
14
+ *
15
+ * const kvv2 = new vault.Mount("kvv2", {
16
+ * path: "kvv2",
17
+ * type: "kv",
18
+ * options: {
19
+ * version: "2",
20
+ * },
21
+ * description: "KV Version 2 secret engine mount",
22
+ * });
23
+ * const config = new vault.kv.SecretBackendV2("config", {
24
+ * mount: kvv2.path,
25
+ * maxVersions: 5,
26
+ * deleteVersionAfter: 12600,
27
+ * casRequired: true,
28
+ * });
29
+ * ```
30
+ * ## Required Vault Capabilities
31
+ *
32
+ * Use of this resource requires the `create` or `update` capability
33
+ * (depending on whether the resource already exists) on the given path,
34
+ * the `delete` capability if the resource is removed from configuration,
35
+ * and the `read` capability for drift detection (by default).
36
+ *
37
+ * ## Import
38
+ *
39
+ * The KV-V2 secret backend can be imported using the `path`, e.g.
40
+ *
41
+ * ```sh
42
+ * $ pulumi import vault:kv/secretBackendV2:SecretBackendV2 config kvv2/config
43
+ * ```
44
+ */
45
+ export declare class SecretBackendV2 extends pulumi.CustomResource {
46
+ /**
47
+ * Get an existing SecretBackendV2 resource's state with the given name, ID, and optional extra
48
+ * properties used to qualify the lookup.
49
+ *
50
+ * @param name The _unique_ name of the resulting resource.
51
+ * @param id The _unique_ provider ID of the resource to lookup.
52
+ * @param state Any extra arguments used during the lookup.
53
+ * @param opts Optional settings to control the behavior of the CustomResource.
54
+ */
55
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecretBackendV2State, opts?: pulumi.CustomResourceOptions): SecretBackendV2;
56
+ /**
57
+ * Returns true if the given object is an instance of SecretBackendV2. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj: any): obj is SecretBackendV2;
61
+ /**
62
+ * If true, all keys will require the cas
63
+ * parameter to be set on all write requests.
64
+ */
65
+ readonly casRequired: pulumi.Output<boolean>;
66
+ /**
67
+ * If set, specifies the length of time before
68
+ * a version is deleted. Accepts duration in integer seconds.
69
+ */
70
+ readonly deleteVersionAfter: pulumi.Output<number | undefined>;
71
+ /**
72
+ * The number of versions to keep per key.
73
+ */
74
+ readonly maxVersions: pulumi.Output<number>;
75
+ /**
76
+ * Path where KV-V2 engine is mounted.
77
+ */
78
+ readonly mount: pulumi.Output<string>;
79
+ /**
80
+ * The namespace to provision the resource in.
81
+ * The value should not contain leading or trailing forward slashes.
82
+ * The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
83
+ * *Available only for Vault Enterprise*.
84
+ */
85
+ readonly namespace: pulumi.Output<string | undefined>;
86
+ /**
87
+ * Create a SecretBackendV2 resource with the given unique name, arguments, and options.
88
+ *
89
+ * @param name The _unique_ name of the resource.
90
+ * @param args The arguments to use to populate this resource's properties.
91
+ * @param opts A bag of options that control this resource's behavior.
92
+ */
93
+ constructor(name: string, args: SecretBackendV2Args, opts?: pulumi.CustomResourceOptions);
94
+ }
95
+ /**
96
+ * Input properties used for looking up and filtering SecretBackendV2 resources.
97
+ */
98
+ export interface SecretBackendV2State {
99
+ /**
100
+ * If true, all keys will require the cas
101
+ * parameter to be set on all write requests.
102
+ */
103
+ casRequired?: pulumi.Input<boolean>;
104
+ /**
105
+ * If set, specifies the length of time before
106
+ * a version is deleted. Accepts duration in integer seconds.
107
+ */
108
+ deleteVersionAfter?: pulumi.Input<number>;
109
+ /**
110
+ * The number of versions to keep per key.
111
+ */
112
+ maxVersions?: pulumi.Input<number>;
113
+ /**
114
+ * Path where KV-V2 engine is mounted.
115
+ */
116
+ mount?: pulumi.Input<string>;
117
+ /**
118
+ * The namespace to provision the resource in.
119
+ * The value should not contain leading or trailing forward slashes.
120
+ * The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
121
+ * *Available only for Vault Enterprise*.
122
+ */
123
+ namespace?: pulumi.Input<string>;
124
+ }
125
+ /**
126
+ * The set of arguments for constructing a SecretBackendV2 resource.
127
+ */
128
+ export interface SecretBackendV2Args {
129
+ /**
130
+ * If true, all keys will require the cas
131
+ * parameter to be set on all write requests.
132
+ */
133
+ casRequired?: pulumi.Input<boolean>;
134
+ /**
135
+ * If set, specifies the length of time before
136
+ * a version is deleted. Accepts duration in integer seconds.
137
+ */
138
+ deleteVersionAfter?: pulumi.Input<number>;
139
+ /**
140
+ * The number of versions to keep per key.
141
+ */
142
+ maxVersions?: pulumi.Input<number>;
143
+ /**
144
+ * Path where KV-V2 engine is mounted.
145
+ */
146
+ mount: pulumi.Input<string>;
147
+ /**
148
+ * The namespace to provision the resource in.
149
+ * The value should not contain leading or trailing forward slashes.
150
+ * The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
151
+ * *Available only for Vault Enterprise*.
152
+ */
153
+ namespace?: pulumi.Input<string>;
154
+ }