@homeflare/distilled-openbao 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (313) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +78 -0
  3. package/dist/credentials.d.ts +32 -0
  4. package/dist/credentials.d.ts.map +1 -0
  5. package/dist/credentials.js +66 -0
  6. package/dist/credentials.js.map +1 -0
  7. package/dist/credentials.test.d.ts +2 -0
  8. package/dist/credentials.test.d.ts.map +1 -0
  9. package/dist/credentials.test.js +29 -0
  10. package/dist/credentials.test.js.map +1 -0
  11. package/dist/errors.d.ts +57 -0
  12. package/dist/errors.d.ts.map +1 -0
  13. package/dist/errors.js +37 -0
  14. package/dist/errors.js.map +1 -0
  15. package/dist/index.d.ts +30 -0
  16. package/dist/index.d.ts.map +1 -0
  17. package/dist/index.js +30 -0
  18. package/dist/index.js.map +1 -0
  19. package/dist/protocol.d.ts +18 -0
  20. package/dist/protocol.d.ts.map +1 -0
  21. package/dist/protocol.js +96 -0
  22. package/dist/protocol.js.map +1 -0
  23. package/dist/protocol.test.d.ts +2 -0
  24. package/dist/protocol.test.d.ts.map +1 -0
  25. package/dist/protocol.test.js +78 -0
  26. package/dist/protocol.test.js.map +1 -0
  27. package/dist/retry.d.ts +60 -0
  28. package/dist/retry.d.ts.map +1 -0
  29. package/dist/retry.js +53 -0
  30. package/dist/retry.js.map +1 -0
  31. package/dist/services/alias.d.ts +73 -0
  32. package/dist/services/alias.d.ts.map +1 -0
  33. package/dist/services/alias.js +91 -0
  34. package/dist/services/alias.js.map +1 -0
  35. package/dist/services/approle.d.ts +918 -0
  36. package/dist/services/approle.d.ts.map +1 -0
  37. package/dist/services/approle.js +1206 -0
  38. package/dist/services/approle.js.map +1 -0
  39. package/dist/services/auditing.d.ts +97 -0
  40. package/dist/services/auditing.d.ts.map +1 -0
  41. package/dist/services/auditing.js +158 -0
  42. package/dist/services/auditing.js.map +1 -0
  43. package/dist/services/auth.d.ts +160 -0
  44. package/dist/services/auth.d.ts.map +1 -0
  45. package/dist/services/auth.js +169 -0
  46. package/dist/services/auth.js.map +1 -0
  47. package/dist/services/collect.d.ts +35 -0
  48. package/dist/services/collect.d.ts.map +1 -0
  49. package/dist/services/collect.js +46 -0
  50. package/dist/services/collect.js.map +1 -0
  51. package/dist/services/configure.d.ts +35 -0
  52. package/dist/services/configure.d.ts.map +1 -0
  53. package/dist/services/configure.js +43 -0
  54. package/dist/services/configure.js.map +1 -0
  55. package/dist/services/cors.d.ts +54 -0
  56. package/dist/services/cors.d.ts.map +1 -0
  57. package/dist/services/cors.js +65 -0
  58. package/dist/services/cors.js.map +1 -0
  59. package/dist/services/cubbyhole.d.ts +40 -0
  60. package/dist/services/cubbyhole.d.ts.map +1 -0
  61. package/dist/services/cubbyhole.js +56 -0
  62. package/dist/services/cubbyhole.js.map +1 -0
  63. package/dist/services/database.d.ts +278 -0
  64. package/dist/services/database.d.ts.map +1 -0
  65. package/dist/services/database.js +384 -0
  66. package/dist/services/database.js.map +1 -0
  67. package/dist/services/decode.d.ts +18 -0
  68. package/dist/services/decode.d.ts.map +1 -0
  69. package/dist/services/decode.js +24 -0
  70. package/dist/services/decode.js.map +1 -0
  71. package/dist/services/entity.d.ts +257 -0
  72. package/dist/services/entity.d.ts.map +1 -0
  73. package/dist/services/entity.js +313 -0
  74. package/dist/services/entity.js.map +1 -0
  75. package/dist/services/generate.d.ts +136 -0
  76. package/dist/services/generate.d.ts.map +1 -0
  77. package/dist/services/generate.js +188 -0
  78. package/dist/services/generate.js.map +1 -0
  79. package/dist/services/group.d.ts +244 -0
  80. package/dist/services/group.d.ts.map +1 -0
  81. package/dist/services/group.js +277 -0
  82. package/dist/services/group.js.map +1 -0
  83. package/dist/services/ha.d.ts +17 -0
  84. package/dist/services/ha.d.ts.map +1 -0
  85. package/dist/services/ha.js +24 -0
  86. package/dist/services/ha.js.map +1 -0
  87. package/dist/services/index.d.ts +54 -0
  88. package/dist/services/index.d.ts.map +1 -0
  89. package/dist/services/index.js +55 -0
  90. package/dist/services/index.js.map +1 -0
  91. package/dist/services/initialize.d.ts +34 -0
  92. package/dist/services/initialize.d.ts.map +1 -0
  93. package/dist/services/initialize.js +31 -0
  94. package/dist/services/initialize.js.map +1 -0
  95. package/dist/services/internal.d.ts +131 -0
  96. package/dist/services/internal.d.ts.map +1 -0
  97. package/dist/services/internal.js +199 -0
  98. package/dist/services/internal.js.map +1 -0
  99. package/dist/services/jwt.d.ts +684 -0
  100. package/dist/services/jwt.d.ts.map +1 -0
  101. package/dist/services/jwt.js +801 -0
  102. package/dist/services/jwt.js.map +1 -0
  103. package/dist/services/kubernetes.d.ts +166 -0
  104. package/dist/services/kubernetes.d.ts.map +1 -0
  105. package/dist/services/kubernetes.js +187 -0
  106. package/dist/services/kubernetes.js.map +1 -0
  107. package/dist/services/kv.d.ts +519 -0
  108. package/dist/services/kv.d.ts.map +1 -0
  109. package/dist/services/kv.js +655 -0
  110. package/dist/services/kv.js.map +1 -0
  111. package/dist/services/leader.d.ts +21 -0
  112. package/dist/services/leader.d.ts.map +1 -0
  113. package/dist/services/leader.js +29 -0
  114. package/dist/services/leader.js.map +1 -0
  115. package/dist/services/leases.d.ts +185 -0
  116. package/dist/services/leases.d.ts.map +1 -0
  117. package/dist/services/leases.js +238 -0
  118. package/dist/services/leases.js.map +1 -0
  119. package/dist/services/locked.d.ts +27 -0
  120. package/dist/services/locked.d.ts.map +1 -0
  121. package/dist/services/locked.js +42 -0
  122. package/dist/services/locked.js.map +1 -0
  123. package/dist/services/loggers.d.ts +69 -0
  124. package/dist/services/loggers.d.ts.map +1 -0
  125. package/dist/services/loggers.js +100 -0
  126. package/dist/services/loggers.js.map +1 -0
  127. package/dist/services/mfa.d.ts +386 -0
  128. package/dist/services/mfa.d.ts.map +1 -0
  129. package/dist/services/mfa.js +553 -0
  130. package/dist/services/mfa.js.map +1 -0
  131. package/dist/services/misc.d.ts +103 -0
  132. package/dist/services/misc.d.ts.map +1 -0
  133. package/dist/services/misc.js +120 -0
  134. package/dist/services/misc.js.map +1 -0
  135. package/dist/services/mounts.d.ts +173 -0
  136. package/dist/services/mounts.d.ts.map +1 -0
  137. package/dist/services/mounts.js +168 -0
  138. package/dist/services/mounts.js.map +1 -0
  139. package/dist/services/namespaces.d.ts +257 -0
  140. package/dist/services/namespaces.d.ts.map +1 -0
  141. package/dist/services/namespaces.js +320 -0
  142. package/dist/services/namespaces.js.map +1 -0
  143. package/dist/services/oidc.d.ts +509 -0
  144. package/dist/services/oidc.d.ts.map +1 -0
  145. package/dist/services/oidc.js +718 -0
  146. package/dist/services/oidc.js.map +1 -0
  147. package/dist/services/persona.d.ts +73 -0
  148. package/dist/services/persona.d.ts.map +1 -0
  149. package/dist/services/persona.js +91 -0
  150. package/dist/services/persona.js.map +1 -0
  151. package/dist/services/pki.d.ts +5783 -0
  152. package/dist/services/pki.d.ts.map +1 -0
  153. package/dist/services/pki.js +4995 -0
  154. package/dist/services/pki.js.map +1 -0
  155. package/dist/services/plugins.d.ts +203 -0
  156. package/dist/services/plugins.d.ts.map +1 -0
  157. package/dist/services/plugins.js +237 -0
  158. package/dist/services/plugins.js.map +1 -0
  159. package/dist/services/policies.d.ts +250 -0
  160. package/dist/services/policies.d.ts.map +1 -0
  161. package/dist/services/policies.js +312 -0
  162. package/dist/services/policies.js.map +1 -0
  163. package/dist/services/pprof.d.ts +104 -0
  164. package/dist/services/pprof.d.ts.map +1 -0
  165. package/dist/services/pprof.js +161 -0
  166. package/dist/services/pprof.js.map +1 -0
  167. package/dist/services/query.d.ts +65 -0
  168. package/dist/services/query.d.ts.map +1 -0
  169. package/dist/services/query.js +66 -0
  170. package/dist/services/query.js.map +1 -0
  171. package/dist/services/rate.d.ts +102 -0
  172. package/dist/services/rate.d.ts.map +1 -0
  173. package/dist/services/rate.js +129 -0
  174. package/dist/services/rate.js.map +1 -0
  175. package/dist/services/raw.d.ts +85 -0
  176. package/dist/services/raw.d.ts.map +1 -0
  177. package/dist/services/raw.js +116 -0
  178. package/dist/services/raw.js.map +1 -0
  179. package/dist/services/read.d.ts +87 -0
  180. package/dist/services/read.d.ts.map +1 -0
  181. package/dist/services/read.js +123 -0
  182. package/dist/services/read.js.map +1 -0
  183. package/dist/services/rekey.d.ts +184 -0
  184. package/dist/services/rekey.d.ts.map +1 -0
  185. package/dist/services/rekey.js +243 -0
  186. package/dist/services/rekey.js.map +1 -0
  187. package/dist/services/reload.d.ts +15 -0
  188. package/dist/services/reload.d.ts.map +1 -0
  189. package/dist/services/reload.js +27 -0
  190. package/dist/services/reload.js.map +1 -0
  191. package/dist/services/remount.d.ts +18 -0
  192. package/dist/services/remount.d.ts.map +1 -0
  193. package/dist/services/remount.js +30 -0
  194. package/dist/services/remount.js.map +1 -0
  195. package/dist/services/root.d.ts +134 -0
  196. package/dist/services/root.d.ts.map +1 -0
  197. package/dist/services/root.js +180 -0
  198. package/dist/services/root.js.map +1 -0
  199. package/dist/services/rotate.d.ts +367 -0
  200. package/dist/services/rotate.d.ts.map +1 -0
  201. package/dist/services/rotate.js +473 -0
  202. package/dist/services/rotate.js.map +1 -0
  203. package/dist/services/seal.d.ts +29 -0
  204. package/dist/services/seal.d.ts.map +1 -0
  205. package/dist/services/seal.js +37 -0
  206. package/dist/services/seal.js.map +1 -0
  207. package/dist/services/ssh.d.ts +491 -0
  208. package/dist/services/ssh.d.ts.map +1 -0
  209. package/dist/services/ssh.js +582 -0
  210. package/dist/services/ssh.js.map +1 -0
  211. package/dist/services/status.d.ts +17 -0
  212. package/dist/services/status.d.ts.map +1 -0
  213. package/dist/services/status.js +25 -0
  214. package/dist/services/status.js.map +1 -0
  215. package/dist/services/step.d.ts +14 -0
  216. package/dist/services/step.d.ts.map +1 -0
  217. package/dist/services/step.js +21 -0
  218. package/dist/services/step.js.map +1 -0
  219. package/dist/services/system.d.ts +33 -0
  220. package/dist/services/system.d.ts.map +1 -0
  221. package/dist/services/system.js +47 -0
  222. package/dist/services/system.js.map +1 -0
  223. package/dist/services/token.d.ts +408 -0
  224. package/dist/services/token.d.ts.map +1 -0
  225. package/dist/services/token.js +415 -0
  226. package/dist/services/token.js.map +1 -0
  227. package/dist/services/ui.d.ts +70 -0
  228. package/dist/services/ui.d.ts.map +1 -0
  229. package/dist/services/ui.js +95 -0
  230. package/dist/services/ui.js.map +1 -0
  231. package/dist/services/update.d.ts +25 -0
  232. package/dist/services/update.d.ts.map +1 -0
  233. package/dist/services/update.js +36 -0
  234. package/dist/services/update.js.map +1 -0
  235. package/dist/services/userpass.d.ts +151 -0
  236. package/dist/services/userpass.d.ts.map +1 -0
  237. package/dist/services/userpass.js +177 -0
  238. package/dist/services/userpass.js.map +1 -0
  239. package/dist/services/version.d.ts +22 -0
  240. package/dist/services/version.d.ts.map +1 -0
  241. package/dist/services/version.js +28 -0
  242. package/dist/services/version.js.map +1 -0
  243. package/dist/services/workflows.d.ts +122 -0
  244. package/dist/services/workflows.d.ts.map +1 -0
  245. package/dist/services/workflows.js +149 -0
  246. package/dist/services/workflows.js.map +1 -0
  247. package/dist/traits.d.ts +11 -0
  248. package/dist/traits.d.ts.map +1 -0
  249. package/dist/traits.js +12 -0
  250. package/dist/traits.js.map +1 -0
  251. package/package.json +75 -0
  252. package/src/credentials.test.ts +36 -0
  253. package/src/credentials.ts +100 -0
  254. package/src/errors.ts +73 -0
  255. package/src/index.ts +33 -0
  256. package/src/protocol.test.ts +123 -0
  257. package/src/protocol.ts +120 -0
  258. package/src/retry.ts +84 -0
  259. package/src/services/alias.ts +208 -0
  260. package/src/services/approle.ts +2750 -0
  261. package/src/services/auditing.ts +318 -0
  262. package/src/services/auth.ts +416 -0
  263. package/src/services/collect.ts +103 -0
  264. package/src/services/configure.ts +94 -0
  265. package/src/services/cors.ts +155 -0
  266. package/src/services/cubbyhole.ts +117 -0
  267. package/src/services/database.ts +854 -0
  268. package/src/services/decode.ts +49 -0
  269. package/src/services/entity.ts +744 -0
  270. package/src/services/generate.ts +409 -0
  271. package/src/services/group.ts +677 -0
  272. package/src/services/ha.ts +52 -0
  273. package/src/services/index.ts +54 -0
  274. package/src/services/initialize.ts +76 -0
  275. package/src/services/internal.ts +425 -0
  276. package/src/services/jwt.ts +1838 -0
  277. package/src/services/kubernetes.ts +446 -0
  278. package/src/services/kv.ts +1480 -0
  279. package/src/services/leader.ts +57 -0
  280. package/src/services/leases.ts +532 -0
  281. package/src/services/locked.ts +86 -0
  282. package/src/services/loggers.ts +215 -0
  283. package/src/services/mfa.ts +1193 -0
  284. package/src/services/misc.ts +286 -0
  285. package/src/services/mounts.ts +428 -0
  286. package/src/services/namespaces.ts +707 -0
  287. package/src/services/oidc.ts +1613 -0
  288. package/src/services/persona.ts +210 -0
  289. package/src/services/pki.ts +13320 -0
  290. package/src/services/plugins.ts +549 -0
  291. package/src/services/policies.ts +689 -0
  292. package/src/services/pprof.ts +351 -0
  293. package/src/services/query.ts +170 -0
  294. package/src/services/rate.ts +303 -0
  295. package/src/services/raw.ts +244 -0
  296. package/src/services/read.ts +266 -0
  297. package/src/services/rekey.ts +540 -0
  298. package/src/services/reload.ts +51 -0
  299. package/src/services/remount.ts +58 -0
  300. package/src/services/root.ts +393 -0
  301. package/src/services/rotate.ts +1088 -0
  302. package/src/services/seal.ts +75 -0
  303. package/src/services/ssh.ts +1351 -0
  304. package/src/services/status.ts +51 -0
  305. package/src/services/step.ts +43 -0
  306. package/src/services/system.ts +98 -0
  307. package/src/services/token.ts +1046 -0
  308. package/src/services/ui.ts +207 -0
  309. package/src/services/update.ts +73 -0
  310. package/src/services/userpass.ts +410 -0
  311. package/src/services/version.ts +60 -0
  312. package/src/services/workflows.ts +327 -0
  313. package/src/traits.ts +45 -0
@@ -0,0 +1,278 @@
1
+ import * as S from "@distilled.cloud/core/schema";
2
+ import * as API from "@distilled.cloud/core/api";
3
+ import { type OpenBaoOpError, type OpenBaoOpContext } from "../protocol.ts";
4
+ export type { OpenBaoOpError, OpenBaoOpContext };
5
+ /** Comma separated string or array of the role names allowed to get creds from this database connection. If empty no roles are allowed. If "*" all roles are allowed. */
6
+ export type DatabaseConfigureConnectionRequestAllowedRolesList = Array<string>;
7
+ export declare const DatabaseConfigureConnectionRequestAllowedRolesList: S.Schema<DatabaseConfigureConnectionRequestAllowedRolesList>;
8
+ /** Specifies the database statements to be executed to rotate the root user's credentials. See the plugin's API page for more information on support and formatting for this parameter. */
9
+ export type DatabaseConfigureConnectionRequestRootRotationStatementsList = Array<string>;
10
+ export declare const DatabaseConfigureConnectionRequestRootRotationStatementsList: S.Schema<DatabaseConfigureConnectionRequestRootRotationStatementsList>;
11
+ export interface DatabaseConfigureConnectionRequest {
12
+ /** Path that the backend was mounted at */
13
+ database_mount_path: string;
14
+ /** Name of this database connection */
15
+ name: string;
16
+ /** Comma separated string or array of the role names allowed to get creds from this database connection. If empty no roles are allowed. If "*" all roles are allowed. */
17
+ allowed_roles?: DatabaseConfigureConnectionRequestAllowedRolesList;
18
+ /** Password policy to use when generating passwords. */
19
+ password_policy?: string;
20
+ /** The name of a builtin or previously registered plugin known to OpenBao. This endpoint will create an instance of that plugin type. */
21
+ plugin_name?: string;
22
+ /** The version of the plugin to use. */
23
+ plugin_version?: string;
24
+ /** Specifies the database statements to be executed to rotate the root user's credentials. See the plugin's API page for more information on support and formatting for this parameter. */
25
+ root_rotation_statements?: DatabaseConfigureConnectionRequestRootRotationStatementsList;
26
+ /** If true, the connection details are verified by actually connecting to the database. Defaults to true. */
27
+ verify_connection?: boolean;
28
+ }
29
+ export declare const DatabaseConfigureConnectionRequest: S.Schema<DatabaseConfigureConnectionRequest>;
30
+ export interface DatabaseConfigureConnectionResponse {
31
+ }
32
+ export declare const DatabaseConfigureConnectionResponse: S.Schema<DatabaseConfigureConnectionResponse>;
33
+ export interface DatabaseDeleteConnectionConfigurationRequest {
34
+ /** Path that the backend was mounted at */
35
+ database_mount_path: string;
36
+ /** Name of this database connection */
37
+ name: string;
38
+ }
39
+ export declare const DatabaseDeleteConnectionConfigurationRequest: S.Schema<DatabaseDeleteConnectionConfigurationRequest>;
40
+ export interface DatabaseDeleteConnectionConfigurationResponse {
41
+ }
42
+ export declare const DatabaseDeleteConnectionConfigurationResponse: S.Schema<DatabaseDeleteConnectionConfigurationResponse>;
43
+ export interface DatabaseDeleteRoleRequest {
44
+ /** Path that the backend was mounted at */
45
+ database_mount_path: string;
46
+ /** Name of the role. */
47
+ name: string;
48
+ }
49
+ export declare const DatabaseDeleteRoleRequest: S.Schema<DatabaseDeleteRoleRequest>;
50
+ export interface DatabaseDeleteRoleResponse {
51
+ }
52
+ export declare const DatabaseDeleteRoleResponse: S.Schema<DatabaseDeleteRoleResponse>;
53
+ export interface DatabaseDeleteStaticRoleRequest {
54
+ /** Path that the backend was mounted at */
55
+ database_mount_path: string;
56
+ /** Name of the role. */
57
+ name: string;
58
+ }
59
+ export declare const DatabaseDeleteStaticRoleRequest: S.Schema<DatabaseDeleteStaticRoleRequest>;
60
+ export interface DatabaseDeleteStaticRoleResponse {
61
+ }
62
+ export declare const DatabaseDeleteStaticRoleResponse: S.Schema<DatabaseDeleteStaticRoleResponse>;
63
+ export interface DatabaseGenerateCredentialsRequest {
64
+ /** Path that the backend was mounted at */
65
+ database_mount_path: string;
66
+ /** Name of the role. */
67
+ name: string;
68
+ }
69
+ export declare const DatabaseGenerateCredentialsRequest: S.Schema<DatabaseGenerateCredentialsRequest>;
70
+ export interface DatabaseGenerateCredentialsResponse {
71
+ }
72
+ export declare const DatabaseGenerateCredentialsResponse: S.Schema<DatabaseGenerateCredentialsResponse>;
73
+ export type DatabaseListConnectionsRequestList = "true";
74
+ export declare const DatabaseListConnectionsRequestList: any;
75
+ export interface DatabaseListConnectionsRequest {
76
+ /** Path that the backend was mounted at */
77
+ database_mount_path: string;
78
+ /** Must be set to `true` */
79
+ list: DatabaseListConnectionsRequestList | (string & {});
80
+ }
81
+ export declare const DatabaseListConnectionsRequest: S.Schema<DatabaseListConnectionsRequest>;
82
+ export interface DatabaseListConnectionsResponse {
83
+ }
84
+ export declare const DatabaseListConnectionsResponse: S.Schema<DatabaseListConnectionsResponse>;
85
+ export type DatabaseListRolesRequestList = "true";
86
+ export declare const DatabaseListRolesRequestList: any;
87
+ export interface DatabaseListRolesRequest {
88
+ /** Path that the backend was mounted at */
89
+ database_mount_path: string;
90
+ /** Must be set to `true` */
91
+ list: DatabaseListRolesRequestList | (string & {});
92
+ }
93
+ export declare const DatabaseListRolesRequest: S.Schema<DatabaseListRolesRequest>;
94
+ export interface DatabaseListRolesResponse {
95
+ }
96
+ export declare const DatabaseListRolesResponse: S.Schema<DatabaseListRolesResponse>;
97
+ export type DatabaseListStaticRolesRequestList = "true";
98
+ export declare const DatabaseListStaticRolesRequestList: any;
99
+ export interface DatabaseListStaticRolesRequest {
100
+ /** Path that the backend was mounted at */
101
+ database_mount_path: string;
102
+ /** Must be set to `true` */
103
+ list: DatabaseListStaticRolesRequestList | (string & {});
104
+ }
105
+ export declare const DatabaseListStaticRolesRequest: S.Schema<DatabaseListStaticRolesRequest>;
106
+ export interface DatabaseListStaticRolesResponse {
107
+ }
108
+ export declare const DatabaseListStaticRolesResponse: S.Schema<DatabaseListStaticRolesResponse>;
109
+ export interface DatabaseReadConnectionConfigurationRequest {
110
+ /** Path that the backend was mounted at */
111
+ database_mount_path: string;
112
+ /** Name of this database connection */
113
+ name: string;
114
+ }
115
+ export declare const DatabaseReadConnectionConfigurationRequest: S.Schema<DatabaseReadConnectionConfigurationRequest>;
116
+ export interface DatabaseReadConnectionConfigurationResponse {
117
+ }
118
+ export declare const DatabaseReadConnectionConfigurationResponse: S.Schema<DatabaseReadConnectionConfigurationResponse>;
119
+ export interface DatabaseReadRoleRequest {
120
+ /** Path that the backend was mounted at */
121
+ database_mount_path: string;
122
+ /** Name of the role. */
123
+ name: string;
124
+ }
125
+ export declare const DatabaseReadRoleRequest: S.Schema<DatabaseReadRoleRequest>;
126
+ export interface DatabaseReadRoleResponse {
127
+ }
128
+ export declare const DatabaseReadRoleResponse: S.Schema<DatabaseReadRoleResponse>;
129
+ export interface DatabaseReadStaticRoleRequest {
130
+ /** Path that the backend was mounted at */
131
+ database_mount_path: string;
132
+ /** Name of the role. */
133
+ name: string;
134
+ }
135
+ export declare const DatabaseReadStaticRoleRequest: S.Schema<DatabaseReadStaticRoleRequest>;
136
+ export interface DatabaseReadStaticRoleResponse {
137
+ }
138
+ export declare const DatabaseReadStaticRoleResponse: S.Schema<DatabaseReadStaticRoleResponse>;
139
+ export interface DatabaseReadStaticRoleCredentialsRequest {
140
+ /** Path that the backend was mounted at */
141
+ database_mount_path: string;
142
+ /** Name of the static role. */
143
+ name: string;
144
+ }
145
+ export declare const DatabaseReadStaticRoleCredentialsRequest: S.Schema<DatabaseReadStaticRoleCredentialsRequest>;
146
+ export interface DatabaseReadStaticRoleCredentialsResponse {
147
+ }
148
+ export declare const DatabaseReadStaticRoleCredentialsResponse: S.Schema<DatabaseReadStaticRoleCredentialsResponse>;
149
+ export interface DatabaseResetConnectionRequest {
150
+ /** Path that the backend was mounted at */
151
+ database_mount_path: string;
152
+ /** Name of this database connection */
153
+ name: string;
154
+ }
155
+ export declare const DatabaseResetConnectionRequest: S.Schema<DatabaseResetConnectionRequest>;
156
+ export interface DatabaseResetConnectionResponse {
157
+ }
158
+ export declare const DatabaseResetConnectionResponse: S.Schema<DatabaseResetConnectionResponse>;
159
+ export interface DatabaseRotateRootCredentialsRequest {
160
+ /** Path that the backend was mounted at */
161
+ database_mount_path: string;
162
+ /** Name of this database connection */
163
+ name: string;
164
+ }
165
+ export declare const DatabaseRotateRootCredentialsRequest: S.Schema<DatabaseRotateRootCredentialsRequest>;
166
+ export interface DatabaseRotateRootCredentialsResponse {
167
+ }
168
+ export declare const DatabaseRotateRootCredentialsResponse: S.Schema<DatabaseRotateRootCredentialsResponse>;
169
+ export interface DatabaseRotateStaticRoleCredentialsRequest {
170
+ /** Path that the backend was mounted at */
171
+ database_mount_path: string;
172
+ /** Name of the static role */
173
+ name: string;
174
+ }
175
+ export declare const DatabaseRotateStaticRoleCredentialsRequest: S.Schema<DatabaseRotateStaticRoleCredentialsRequest>;
176
+ export interface DatabaseRotateStaticRoleCredentialsResponse {
177
+ }
178
+ export declare const DatabaseRotateStaticRoleCredentialsResponse: S.Schema<DatabaseRotateStaticRoleCredentialsResponse>;
179
+ /** Specifies the database statements executed to create and configure a user. See the plugin's API page for more information on support and formatting for this parameter. */
180
+ export type DatabaseWriteRoleRequestCreationStatementsList = Array<string>;
181
+ export declare const DatabaseWriteRoleRequestCreationStatementsList: S.Schema<DatabaseWriteRoleRequestCreationStatementsList>;
182
+ /** Specifies the database statements to be executed to renew a user. Not every plugin type will support this functionality. See the plugin's API page for more information on support and formatting for this parameter. */
183
+ export type DatabaseWriteRoleRequestRenewStatementsList = Array<string>;
184
+ export declare const DatabaseWriteRoleRequestRenewStatementsList: S.Schema<DatabaseWriteRoleRequestRenewStatementsList>;
185
+ /** Specifies the database statements to be executed to revoke a user. See the plugin's API page for more information on support and formatting for this parameter. */
186
+ export type DatabaseWriteRoleRequestRevocationStatementsList = Array<string>;
187
+ export declare const DatabaseWriteRoleRequestRevocationStatementsList: S.Schema<DatabaseWriteRoleRequestRevocationStatementsList>;
188
+ /** Specifies the database statements to be executed rollback a create operation in the event of an error. Not every plugin type will support this functionality. See the plugin's API page for more information on support and formatting for this parameter. */
189
+ export type DatabaseWriteRoleRequestRollbackStatementsList = Array<string>;
190
+ export declare const DatabaseWriteRoleRequestRollbackStatementsList: S.Schema<DatabaseWriteRoleRequestRollbackStatementsList>;
191
+ export interface DatabaseWriteRoleRequest {
192
+ /** Path that the backend was mounted at */
193
+ database_mount_path: string;
194
+ /** Name of the role. */
195
+ name: string;
196
+ /** Specifies the database statements executed to create and configure a user. See the plugin's API page for more information on support and formatting for this parameter. */
197
+ creation_statements?: DatabaseWriteRoleRequestCreationStatementsList;
198
+ /** The configuration for the given credential_type. */
199
+ credential_config?: unknown;
200
+ /** The type of credential to manage. Options include: 'password', 'rsa_private_key'. Defaults to 'password'. */
201
+ credential_type?: string;
202
+ /** Name of the database this role acts on. */
203
+ db_name?: string;
204
+ /** Default ttl for role. */
205
+ default_ttl?: number;
206
+ /** Maximum time a credential is valid for */
207
+ max_ttl?: number;
208
+ /** Specifies the database statements to be executed to renew a user. Not every plugin type will support this functionality. See the plugin's API page for more information on support and formatting for this parameter. */
209
+ renew_statements?: DatabaseWriteRoleRequestRenewStatementsList;
210
+ /** Specifies the database statements to be executed to revoke a user. See the plugin's API page for more information on support and formatting for this parameter. */
211
+ revocation_statements?: DatabaseWriteRoleRequestRevocationStatementsList;
212
+ /** Specifies the database statements to be executed rollback a create operation in the event of an error. Not every plugin type will support this functionality. See the plugin's API page for more information on support and formatting for this parameter. */
213
+ rollback_statements?: DatabaseWriteRoleRequestRollbackStatementsList;
214
+ }
215
+ export declare const DatabaseWriteRoleRequest: S.Schema<DatabaseWriteRoleRequest>;
216
+ export interface DatabaseWriteRoleResponse {
217
+ }
218
+ export declare const DatabaseWriteRoleResponse: S.Schema<DatabaseWriteRoleResponse>;
219
+ /** Specifies the database statements to be executed to rotate the accounts credentials. Not every plugin type will support this functionality. See the plugin's API page for more information on support and formatting for this parameter. */
220
+ export type DatabaseWriteStaticRoleRequestRotationStatementsList = Array<string>;
221
+ export declare const DatabaseWriteStaticRoleRequestRotationStatementsList: S.Schema<DatabaseWriteStaticRoleRequestRotationStatementsList>;
222
+ export interface DatabaseWriteStaticRoleRequest {
223
+ /** Path that the backend was mounted at */
224
+ database_mount_path: string;
225
+ /** Name of the role. */
226
+ name: string;
227
+ /** The configuration for the given credential_type. */
228
+ credential_config?: unknown;
229
+ /** The type of credential to manage. Options include: 'password', 'rsa_private_key'. Defaults to 'password'. */
230
+ credential_type?: string;
231
+ /** Name of the database this role acts on. */
232
+ db_name?: string;
233
+ /** Period for automatic credential rotation of the given username. Not valid unless used with "username". */
234
+ rotation_period?: number;
235
+ /** Specifies the database statements to be executed to rotate the accounts credentials. Not every plugin type will support this functionality. See the plugin's API page for more information on support and formatting for this parameter. */
236
+ rotation_statements?: DatabaseWriteStaticRoleRequestRotationStatementsList;
237
+ /** Name of the static user account for OpenBao to manage. Requires "rotation_period" to be specified */
238
+ username?: string;
239
+ }
240
+ export declare const DatabaseWriteStaticRoleRequest: S.Schema<DatabaseWriteStaticRoleRequest>;
241
+ export interface DatabaseWriteStaticRoleResponse {
242
+ }
243
+ export declare const DatabaseWriteStaticRoleResponse: S.Schema<DatabaseWriteStaticRoleResponse>;
244
+ export type DatabaseConfigureConnectionError = OpenBaoOpError;
245
+ export declare const databaseConfigureConnection: API.OperationMethod<DatabaseConfigureConnectionRequest, DatabaseConfigureConnectionResponse, DatabaseConfigureConnectionError, OpenBaoOpContext>;
246
+ export type DatabaseDeleteConnectionConfigurationError = OpenBaoOpError;
247
+ export declare const databaseDeleteConnectionConfiguration: API.OperationMethod<DatabaseDeleteConnectionConfigurationRequest, DatabaseDeleteConnectionConfigurationResponse, DatabaseDeleteConnectionConfigurationError, OpenBaoOpContext>;
248
+ export type DatabaseDeleteRoleError = OpenBaoOpError;
249
+ export declare const databaseDeleteRole: API.OperationMethod<DatabaseDeleteRoleRequest, DatabaseDeleteRoleResponse, DatabaseDeleteRoleError, OpenBaoOpContext>;
250
+ export type DatabaseDeleteStaticRoleError = OpenBaoOpError;
251
+ export declare const databaseDeleteStaticRole: API.OperationMethod<DatabaseDeleteStaticRoleRequest, DatabaseDeleteStaticRoleResponse, DatabaseDeleteStaticRoleError, OpenBaoOpContext>;
252
+ export type DatabaseGenerateCredentialsError = OpenBaoOpError;
253
+ export declare const databaseGenerateCredentials: API.OperationMethod<DatabaseGenerateCredentialsRequest, DatabaseGenerateCredentialsResponse, DatabaseGenerateCredentialsError, OpenBaoOpContext>;
254
+ export type DatabaseListConnectionsError = OpenBaoOpError;
255
+ export declare const databaseListConnections: API.OperationMethod<DatabaseListConnectionsRequest, DatabaseListConnectionsResponse, DatabaseListConnectionsError, OpenBaoOpContext>;
256
+ export type DatabaseListRolesError = OpenBaoOpError;
257
+ export declare const databaseListRoles: API.OperationMethod<DatabaseListRolesRequest, DatabaseListRolesResponse, DatabaseListRolesError, OpenBaoOpContext>;
258
+ export type DatabaseListStaticRolesError = OpenBaoOpError;
259
+ export declare const databaseListStaticRoles: API.OperationMethod<DatabaseListStaticRolesRequest, DatabaseListStaticRolesResponse, DatabaseListStaticRolesError, OpenBaoOpContext>;
260
+ export type DatabaseReadConnectionConfigurationError = OpenBaoOpError;
261
+ export declare const databaseReadConnectionConfiguration: API.OperationMethod<DatabaseReadConnectionConfigurationRequest, DatabaseReadConnectionConfigurationResponse, DatabaseReadConnectionConfigurationError, OpenBaoOpContext>;
262
+ export type DatabaseReadRoleError = OpenBaoOpError;
263
+ export declare const databaseReadRole: API.OperationMethod<DatabaseReadRoleRequest, DatabaseReadRoleResponse, DatabaseReadRoleError, OpenBaoOpContext>;
264
+ export type DatabaseReadStaticRoleError = OpenBaoOpError;
265
+ export declare const databaseReadStaticRole: API.OperationMethod<DatabaseReadStaticRoleRequest, DatabaseReadStaticRoleResponse, DatabaseReadStaticRoleError, OpenBaoOpContext>;
266
+ export type DatabaseReadStaticRoleCredentialsError = OpenBaoOpError;
267
+ export declare const databaseReadStaticRoleCredentials: API.OperationMethod<DatabaseReadStaticRoleCredentialsRequest, DatabaseReadStaticRoleCredentialsResponse, DatabaseReadStaticRoleCredentialsError, OpenBaoOpContext>;
268
+ export type DatabaseResetConnectionError = OpenBaoOpError;
269
+ export declare const databaseResetConnection: API.OperationMethod<DatabaseResetConnectionRequest, DatabaseResetConnectionResponse, DatabaseResetConnectionError, OpenBaoOpContext>;
270
+ export type DatabaseRotateRootCredentialsError = OpenBaoOpError;
271
+ export declare const databaseRotateRootCredentials: API.OperationMethod<DatabaseRotateRootCredentialsRequest, DatabaseRotateRootCredentialsResponse, DatabaseRotateRootCredentialsError, OpenBaoOpContext>;
272
+ export type DatabaseRotateStaticRoleCredentialsError = OpenBaoOpError;
273
+ export declare const databaseRotateStaticRoleCredentials: API.OperationMethod<DatabaseRotateStaticRoleCredentialsRequest, DatabaseRotateStaticRoleCredentialsResponse, DatabaseRotateStaticRoleCredentialsError, OpenBaoOpContext>;
274
+ export type DatabaseWriteRoleError = OpenBaoOpError;
275
+ export declare const databaseWriteRole: API.OperationMethod<DatabaseWriteRoleRequest, DatabaseWriteRoleResponse, DatabaseWriteRoleError, OpenBaoOpContext>;
276
+ export type DatabaseWriteStaticRoleError = OpenBaoOpError;
277
+ export declare const databaseWriteStaticRole: API.OperationMethod<DatabaseWriteStaticRoleRequest, DatabaseWriteStaticRoleResponse, DatabaseWriteStaticRoleError, OpenBaoOpContext>;
278
+ //# sourceMappingURL=database.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../src/services/database.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAEjD,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAC;AAEjD,yKAAyK;AACzK,MAAM,MAAM,kDAAkD,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAC/E,eAAO,MAAM,kDAAkD,EAGjD,CAAC,CAAC,MAAM,CAAC,kDAAkD,CAAC,CAAC;AAE3E,2LAA2L;AAC3L,MAAM,MAAM,4DAA4D,GACtE,KAAK,CAAC,MAAM,CAAC,CAAC;AAChB,eAAO,MAAM,4DAA4D,EAG3D,CAAC,CAAC,MAAM,CAAC,4DAA4D,CAAC,CAAC;AAErF,MAAM,WAAW,kCAAkC;IACjD,2CAA2C;IAC3C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,yKAAyK;IACzK,aAAa,CAAC,EAAE,kDAAkD,CAAC;IACnE,wDAAwD;IACxD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yIAAyI;IACzI,WAAW,CA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