@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,918 @@
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
+ export interface AppRoleDeleteBindSecretIdRequest {
6
+ /** Path that the backend was mounted at */
7
+ approle_mount_path: string;
8
+ /** Name of the role. Must be less than 4096 bytes. */
9
+ role_name: string;
10
+ }
11
+ export declare const AppRoleDeleteBindSecretIdRequest: S.Schema<AppRoleDeleteBindSecretIdRequest>;
12
+ export interface AppRoleDeleteBindSecretIdResponse {
13
+ }
14
+ export declare const AppRoleDeleteBindSecretIdResponse: S.Schema<AppRoleDeleteBindSecretIdResponse>;
15
+ export interface AppRoleDeleteBoundCidrListRequest {
16
+ /** Path that the backend was mounted at */
17
+ approle_mount_path: string;
18
+ /** Name of the role. Must be less than 4096 bytes. */
19
+ role_name: string;
20
+ }
21
+ export declare const AppRoleDeleteBoundCidrListRequest: S.Schema<AppRoleDeleteBoundCidrListRequest>;
22
+ export interface AppRoleDeleteBoundCidrListResponse {
23
+ }
24
+ export declare const AppRoleDeleteBoundCidrListResponse: S.Schema<AppRoleDeleteBoundCidrListResponse>;
25
+ export interface AppRoleDeletePeriodRequest {
26
+ /** Path that the backend was mounted at */
27
+ approle_mount_path: string;
28
+ /** Name of the role. Must be less than 4096 bytes. */
29
+ role_name: string;
30
+ }
31
+ export declare const AppRoleDeletePeriodRequest: S.Schema<AppRoleDeletePeriodRequest>;
32
+ export interface AppRoleDeletePeriodResponse {
33
+ }
34
+ export declare const AppRoleDeletePeriodResponse: S.Schema<AppRoleDeletePeriodResponse>;
35
+ export interface AppRoleDeletePoliciesRequest {
36
+ /** Path that the backend was mounted at */
37
+ approle_mount_path: string;
38
+ /** Name of the role. Must be less than 4096 bytes. */
39
+ role_name: string;
40
+ }
41
+ export declare const AppRoleDeletePoliciesRequest: S.Schema<AppRoleDeletePoliciesRequest>;
42
+ export interface AppRoleDeletePoliciesResponse {
43
+ }
44
+ export declare const AppRoleDeletePoliciesResponse: S.Schema<AppRoleDeletePoliciesResponse>;
45
+ export interface AppRoleDeleteRoleRequest {
46
+ /** Path that the backend was mounted at */
47
+ approle_mount_path: string;
48
+ /** Name of the role. Must be less than 4096 bytes. */
49
+ role_name: string;
50
+ }
51
+ export declare const AppRoleDeleteRoleRequest: S.Schema<AppRoleDeleteRoleRequest>;
52
+ export interface AppRoleDeleteRoleResponse {
53
+ }
54
+ export declare const AppRoleDeleteRoleResponse: S.Schema<AppRoleDeleteRoleResponse>;
55
+ export interface AppRoleDeleteSecretIdBoundCidrsRequest {
56
+ /** Path that the backend was mounted at */
57
+ approle_mount_path: string;
58
+ /** Name of the role. Must be less than 4096 bytes. */
59
+ role_name: string;
60
+ }
61
+ export declare const AppRoleDeleteSecretIdBoundCidrsRequest: S.Schema<AppRoleDeleteSecretIdBoundCidrsRequest>;
62
+ export interface AppRoleDeleteSecretIdBoundCidrsResponse {
63
+ }
64
+ export declare const AppRoleDeleteSecretIdBoundCidrsResponse: S.Schema<AppRoleDeleteSecretIdBoundCidrsResponse>;
65
+ export interface AppRoleDeleteSecretIdNumUsesRequest {
66
+ /** Path that the backend was mounted at */
67
+ approle_mount_path: string;
68
+ /** Name of the role. Must be less than 4096 bytes. */
69
+ role_name: string;
70
+ }
71
+ export declare const AppRoleDeleteSecretIdNumUsesRequest: S.Schema<AppRoleDeleteSecretIdNumUsesRequest>;
72
+ export interface AppRoleDeleteSecretIdNumUsesResponse {
73
+ }
74
+ export declare const AppRoleDeleteSecretIdNumUsesResponse: S.Schema<AppRoleDeleteSecretIdNumUsesResponse>;
75
+ export interface AppRoleDeleteSecretIdTtlRequest {
76
+ /** Path that the backend was mounted at */
77
+ approle_mount_path: string;
78
+ /** Name of the role. Must be less than 4096 bytes. */
79
+ role_name: string;
80
+ }
81
+ export declare const AppRoleDeleteSecretIdTtlRequest: S.Schema<AppRoleDeleteSecretIdTtlRequest>;
82
+ export interface AppRoleDeleteSecretIdTtlResponse {
83
+ }
84
+ export declare const AppRoleDeleteSecretIdTtlResponse: S.Schema<AppRoleDeleteSecretIdTtlResponse>;
85
+ export interface AppRoleDeleteTokenBoundCidrsRequest {
86
+ /** Path that the backend was mounted at */
87
+ approle_mount_path: string;
88
+ /** Name of the role. Must be less than 4096 bytes. */
89
+ role_name: string;
90
+ }
91
+ export declare const AppRoleDeleteTokenBoundCidrsRequest: S.Schema<AppRoleDeleteTokenBoundCidrsRequest>;
92
+ export interface AppRoleDeleteTokenBoundCidrsResponse {
93
+ }
94
+ export declare const AppRoleDeleteTokenBoundCidrsResponse: S.Schema<AppRoleDeleteTokenBoundCidrsResponse>;
95
+ export interface AppRoleDeleteTokenMaxTtlRequest {
96
+ /** Path that the backend was mounted at */
97
+ approle_mount_path: string;
98
+ /** Name of the role. Must be less than 4096 bytes. */
99
+ role_name: string;
100
+ }
101
+ export declare const AppRoleDeleteTokenMaxTtlRequest: S.Schema<AppRoleDeleteTokenMaxTtlRequest>;
102
+ export interface AppRoleDeleteTokenMaxTtlResponse {
103
+ }
104
+ export declare const AppRoleDeleteTokenMaxTtlResponse: S.Schema<AppRoleDeleteTokenMaxTtlResponse>;
105
+ export interface AppRoleDeleteTokenNumUsesRequest {
106
+ /** Path that the backend was mounted at */
107
+ approle_mount_path: string;
108
+ /** Name of the role. Must be less than 4096 bytes. */
109
+ role_name: string;
110
+ }
111
+ export declare const AppRoleDeleteTokenNumUsesRequest: S.Schema<AppRoleDeleteTokenNumUsesRequest>;
112
+ export interface AppRoleDeleteTokenNumUsesResponse {
113
+ }
114
+ export declare const AppRoleDeleteTokenNumUsesResponse: S.Schema<AppRoleDeleteTokenNumUsesResponse>;
115
+ export interface AppRoleDeleteTokenTtlRequest {
116
+ /** Path that the backend was mounted at */
117
+ approle_mount_path: string;
118
+ /** Name of the role. Must be less than 4096 bytes. */
119
+ role_name: string;
120
+ }
121
+ export declare const AppRoleDeleteTokenTtlRequest: S.Schema<AppRoleDeleteTokenTtlRequest>;
122
+ export interface AppRoleDeleteTokenTtlResponse {
123
+ }
124
+ export declare const AppRoleDeleteTokenTtlResponse: S.Schema<AppRoleDeleteTokenTtlResponse>;
125
+ export interface AppRoleDestroySecretIdRequest {
126
+ /** Path that the backend was mounted at */
127
+ approle_mount_path: string;
128
+ /** Name of the role. Must be less than 4096 bytes. */
129
+ role_name: string;
130
+ /** SecretID attached to the role. */
131
+ secret_id?: string;
132
+ }
133
+ export declare const AppRoleDestroySecretIdRequest: S.Schema<AppRoleDestroySecretIdRequest>;
134
+ export interface AppRoleDestroySecretIdResponse {
135
+ }
136
+ export declare const AppRoleDestroySecretIdResponse: S.Schema<AppRoleDestroySecretIdResponse>;
137
+ export interface AppRoleDestroySecretId2Request {
138
+ /** Path that the backend was mounted at */
139
+ approle_mount_path: string;
140
+ /** Name of the role. Must be less than 4096 bytes. */
141
+ role_name: string;
142
+ }
143
+ export declare const AppRoleDestroySecretId2Request: S.Schema<AppRoleDestroySecretId2Request>;
144
+ export interface AppRoleDestroySecretId2Response {
145
+ }
146
+ export declare const AppRoleDestroySecretId2Response: S.Schema<AppRoleDestroySecretId2Response>;
147
+ export interface AppRoleDestroySecretIdByAccessorRequest {
148
+ /** Path that the backend was mounted at */
149
+ approle_mount_path: string;
150
+ /** Name of the role. Must be less than 4096 bytes. */
151
+ role_name: string;
152
+ /** Accessor of the SecretID */
153
+ secret_id_accessor?: string;
154
+ }
155
+ export declare const AppRoleDestroySecretIdByAccessorRequest: S.Schema<AppRoleDestroySecretIdByAccessorRequest>;
156
+ export interface AppRoleDestroySecretIdByAccessorResponse {
157
+ }
158
+ export declare const AppRoleDestroySecretIdByAccessorResponse: S.Schema<AppRoleDestroySecretIdByAccessorResponse>;
159
+ export interface AppRoleDestroySecretIdByAccessor2Request {
160
+ /** Path that the backend was mounted at */
161
+ approle_mount_path: string;
162
+ /** Name of the role. Must be less than 4096 bytes. */
163
+ role_name: string;
164
+ }
165
+ export declare const AppRoleDestroySecretIdByAccessor2Request: S.Schema<AppRoleDestroySecretIdByAccessor2Request>;
166
+ export interface AppRoleDestroySecretIdByAccessor2Response {
167
+ }
168
+ export declare const AppRoleDestroySecretIdByAccessor2Response: S.Schema<AppRoleDestroySecretIdByAccessor2Response>;
169
+ export type AppRoleListRolesRequestList = "true";
170
+ export declare const AppRoleListRolesRequestList: any;
171
+ export interface AppRoleListRolesRequest {
172
+ /** Path that the backend was mounted at */
173
+ approle_mount_path: string;
174
+ /** Must be set to `true` */
175
+ list: AppRoleListRolesRequestList | (string & {});
176
+ }
177
+ export declare const AppRoleListRolesRequest: S.Schema<AppRoleListRolesRequest>;
178
+ export type AppRoleListRolesResponseKeysList = Array<string>;
179
+ export declare const AppRoleListRolesResponseKeysList: S.Schema<AppRoleListRolesResponseKeysList>;
180
+ export interface AppRoleListRolesResponse {
181
+ keys?: AppRoleListRolesResponseKeysList;
182
+ }
183
+ export declare const AppRoleListRolesResponse: S.Schema<AppRoleListRolesResponse>;
184
+ export type AppRoleListSecretIdsRequestList = "true";
185
+ export declare const AppRoleListSecretIdsRequestList: any;
186
+ export interface AppRoleListSecretIdsRequest {
187
+ /** Path that the backend was mounted at */
188
+ approle_mount_path: string;
189
+ /** Name of the role. Must be less than 4096 bytes. */
190
+ role_name: string;
191
+ /** Must be set to `true` */
192
+ list: AppRoleListSecretIdsRequestList | (string & {});
193
+ }
194
+ export declare const AppRoleListSecretIdsRequest: S.Schema<AppRoleListSecretIdsRequest>;
195
+ export type AppRoleListSecretIdsResponseKeysList = Array<string>;
196
+ export declare const AppRoleListSecretIdsResponseKeysList: S.Schema<AppRoleListSecretIdsResponseKeysList>;
197
+ export interface AppRoleListSecretIdsResponse {
198
+ keys?: AppRoleListSecretIdsResponseKeysList;
199
+ }
200
+ export declare const AppRoleListSecretIdsResponse: S.Schema<AppRoleListSecretIdsResponse>;
201
+ export interface AppRoleLookUpSecretIdRequest {
202
+ /** Path that the backend was mounted at */
203
+ approle_mount_path: string;
204
+ /** Name of the role. Must be less than 4096 bytes. */
205
+ role_name: string;
206
+ /** SecretID attached to the role. */
207
+ secret_id?: string;
208
+ }
209
+ export declare const AppRoleLookUpSecretIdRequest: S.Schema<AppRoleLookUpSecretIdRequest>;
210
+ /** List of CIDR blocks enforcing secret IDs to be used from specific set of IP addresses. If 'bound_cidr_list' is set on the role, then the list of CIDR blocks listed here should be a subset of the CIDR blocks listed on the role. */
211
+ export type AppRoleLookUpSecretIdResponseCidrListList = Array<string>;
212
+ export declare const AppRoleLookUpSecretIdResponseCidrListList: S.Schema<AppRoleLookUpSecretIdResponseCidrListList>;
213
+ /** List of CIDR blocks. If set, specifies the blocks of IP addresses which can use the returned token. Should be a subset of the token CIDR blocks listed on the role, if any. */
214
+ export type AppRoleLookUpSecretIdResponseTokenBoundCidrsList = Array<string>;
215
+ export declare const AppRoleLookUpSecretIdResponseTokenBoundCidrsList: S.Schema<AppRoleLookUpSecretIdResponseTokenBoundCidrsList>;
216
+ export interface AppRoleLookUpSecretIdResponse {
217
+ /** List of CIDR blocks enforcing secret IDs to be used from specific set of IP addresses. If 'bound_cidr_list' is set on the role, then the list of CIDR blocks listed here should be a subset of the CIDR blocks listed on the role. */
218
+ cidr_list?: AppRoleLookUpSecretIdResponseCidrListList;
219
+ creation_time?: string;
220
+ expiration_time?: string;
221
+ last_updated_time?: string;
222
+ metadata?: unknown;
223
+ /** Accessor of the secret ID */
224
+ secret_id_accessor?: string;
225
+ /** Number of times a secret ID can access the role, after which the secret ID will expire. */
226
+ secret_id_num_uses?: number;
227
+ /** Duration in seconds after which the issued secret ID expires. */
228
+ secret_id_ttl?: number;
229
+ /** List of CIDR blocks. If set, specifies the blocks of IP addresses which can use the returned token. Should be a subset of the token CIDR blocks listed on the role, if any. */
230
+ token_bound_cidrs?: AppRoleLookUpSecretIdResponseTokenBoundCidrsList;
231
+ }
232
+ export declare const AppRoleLookUpSecretIdResponse: S.Schema<AppRoleLookUpSecretIdResponse>;
233
+ export interface AppRoleLookUpSecretIdByAccessorRequest {
234
+ /** Path that the backend was mounted at */
235
+ approle_mount_path: string;
236
+ /** Name of the role. Must be less than 4096 bytes. */
237
+ role_name: string;
238
+ /** Accessor of the SecretID */
239
+ secret_id_accessor?: string;
240
+ }
241
+ export declare const AppRoleLookUpSecretIdByAccessorRequest: S.Schema<AppRoleLookUpSecretIdByAccessorRequest>;
242
+ /** List of CIDR blocks enforcing secret IDs to be used from specific set of IP addresses. If 'bound_cidr_list' is set on the role, then the list of CIDR blocks listed here should be a subset of the CIDR blocks listed on the role. */
243
+ export type AppRoleLookUpSecretIdByAccessorResponseCidrListList = Array<string>;
244
+ export declare const AppRoleLookUpSecretIdByAccessorResponseCidrListList: S.Schema<AppRoleLookUpSecretIdByAccessorResponseCidrListList>;
245
+ /** List of CIDR blocks. If set, specifies the blocks of IP addresses which can use the returned token. Should be a subset of the token CIDR blocks listed on the role, if any. */
246
+ export type AppRoleLookUpSecretIdByAccessorResponseTokenBoundCidrsList = Array<string>;
247
+ export declare const AppRoleLookUpSecretIdByAccessorResponseTokenBoundCidrsList: S.Schema<AppRoleLookUpSecretIdByAccessorResponseTokenBoundCidrsList>;
248
+ export interface AppRoleLookUpSecretIdByAccessorResponse {
249
+ /** List of CIDR blocks enforcing secret IDs to be used from specific set of IP addresses. If 'bound_cidr_list' is set on the role, then the list of CIDR blocks listed here should be a subset of the CIDR blocks listed on the role. */
250
+ cidr_list?: AppRoleLookUpSecretIdByAccessorResponseCidrListList;
251
+ creation_time?: string;
252
+ expiration_time?: string;
253
+ last_updated_time?: string;
254
+ metadata?: unknown;
255
+ /** Accessor of the secret ID */
256
+ secret_id_accessor?: string;
257
+ /** Number of times a secret ID can access the role, after which the secret ID will expire. */
258
+ secret_id_num_uses?: number;
259
+ /** Duration in seconds after which the issued secret ID expires. */
260
+ secret_id_ttl?: number;
261
+ /** List of CIDR blocks. If set, specifies the blocks of IP addresses which can use the returned token. Should be a subset of the token CIDR blocks listed on the role, if any. */
262
+ token_bound_cidrs?: AppRoleLookUpSecretIdByAccessorResponseTokenBoundCidrsList;
263
+ }
264
+ export declare const AppRoleLookUpSecretIdByAccessorResponse: S.Schema<AppRoleLookUpSecretIdByAccessorResponse>;
265
+ export interface AppRoleReadBindSecretIdRequest {
266
+ /** Path that the backend was mounted at */
267
+ approle_mount_path: string;
268
+ /** Name of the role. Must be less than 4096 bytes. */
269
+ role_name: string;
270
+ }
271
+ export declare const AppRoleReadBindSecretIdRequest: S.Schema<AppRoleReadBindSecretIdRequest>;
272
+ export interface AppRoleReadBindSecretIdResponse {
273
+ /** Impose secret_id to be presented when logging in using this role. Defaults to 'true'. */
274
+ bind_secret_id?: boolean;
275
+ }
276
+ export declare const AppRoleReadBindSecretIdResponse: S.Schema<AppRoleReadBindSecretIdResponse>;
277
+ export interface AppRoleReadBoundCidrListRequest {
278
+ /** Path that the backend was mounted at */
279
+ approle_mount_path: string;
280
+ /** Name of the role. Must be less than 4096 bytes. */
281
+ role_name: string;
282
+ }
283
+ export declare const AppRoleReadBoundCidrListRequest: S.Schema<AppRoleReadBoundCidrListRequest>;
284
+ /** Deprecated: Please use "secret_id_bound_cidrs" instead. Comma separated string or list of CIDR blocks. If set, specifies the blocks of IP addresses which can perform the login operation. */
285
+ export type AppRoleReadBoundCidrListResponseBoundCidrListList = Array<string>;
286
+ export declare const AppRoleReadBoundCidrListResponseBoundCidrListList: S.Schema<AppRoleReadBoundCidrListResponseBoundCidrListList>;
287
+ export interface AppRoleReadBoundCidrListResponse {
288
+ /** Deprecated: Please use "secret_id_bound_cidrs" instead. Comma separated string or list of CIDR blocks. If set, specifies the blocks of IP addresses which can perform the login operation. */
289
+ bound_cidr_list?: AppRoleReadBoundCidrListResponseBoundCidrListList;
290
+ }
291
+ export declare const AppRoleReadBoundCidrListResponse: S.Schema<AppRoleReadBoundCidrListResponse>;
292
+ export interface AppRoleReadLocalSecretIdsRequest {
293
+ /** Path that the backend was mounted at */
294
+ approle_mount_path: string;
295
+ /** Name of the role. Must be less than 4096 bytes. */
296
+ role_name: string;
297
+ }
298
+ export declare const AppRoleReadLocalSecretIdsRequest: S.Schema<AppRoleReadLocalSecretIdsRequest>;
299
+ export interface AppRoleReadLocalSecretIdsResponse {
300
+ /** If true, the secret identifiers generated using this role will be cluster local. This can only be set during role creation and once set, it can't be reset later */
301
+ local_secret_ids?: boolean;
302
+ }
303
+ export declare const AppRoleReadLocalSecretIdsResponse: S.Schema<AppRoleReadLocalSecretIdsResponse>;
304
+ export interface AppRoleReadPeriodRequest {
305
+ /** Path that the backend was mounted at */
306
+ approle_mount_path: string;
307
+ /** Name of the role. Must be less than 4096 bytes. */
308
+ role_name: string;
309
+ }
310
+ export declare const AppRoleReadPeriodRequest: S.Schema<AppRoleReadPeriodRequest>;
311
+ export interface AppRoleReadPeriodResponse {
312
+ /** Use "token_period" instead. If this and "token_period" are both specified, only "token_period" will be used. */
313
+ period?: number;
314
+ /** If set, tokens created via this role will have no max lifetime; instead, their renewal period will be fixed to this value. This takes an integer number of seconds, or a string duration (e.g. "24h"). */
315
+ token_period?: number;
316
+ }
317
+ export declare const AppRoleReadPeriodResponse: S.Schema<AppRoleReadPeriodResponse>;
318
+ export interface AppRoleReadPoliciesRequest {
319
+ /** Path that the backend was mounted at */
320
+ approle_mount_path: string;
321
+ /** Name of the role. Must be less than 4096 bytes. */
322
+ role_name: string;
323
+ }
324
+ export declare const AppRoleReadPoliciesRequest: S.Schema<AppRoleReadPoliciesRequest>;
325
+ /** Use "token_policies" instead. If this and "token_policies" are both specified, only "token_policies" will be used. */
326
+ export type AppRoleReadPoliciesResponsePoliciesList = Array<string>;
327
+ export declare const AppRoleReadPoliciesResponsePoliciesList: S.Schema<AppRoleReadPoliciesResponsePoliciesList>;
328
+ /** Comma-separated list of policies */
329
+ export type AppRoleReadPoliciesResponseTokenPoliciesList = Array<string>;
330
+ export declare const AppRoleReadPoliciesResponseTokenPoliciesList: S.Schema<AppRoleReadPoliciesResponseTokenPoliciesList>;
331
+ export interface AppRoleReadPoliciesResponse {
332
+ /** Use "token_policies" instead. If this and "token_policies" are both specified, only "token_policies" will be used. */
333
+ policies?: AppRoleReadPoliciesResponsePoliciesList;
334
+ /** Comma-separated list of policies */
335
+ token_policies?: AppRoleReadPoliciesResponseTokenPoliciesList;
336
+ }
337
+ export declare const AppRoleReadPoliciesResponse: S.Schema<AppRoleReadPoliciesResponse>;
338
+ export interface AppRoleReadRoleRequest {
339
+ /** Path that the backend was mounted at */
340
+ approle_mount_path: string;
341
+ /** Name of the role. Must be less than 4096 bytes. */
342
+ role_name: string;
343
+ }
344
+ export declare const AppRoleReadRoleRequest: S.Schema<AppRoleReadRoleRequest>;
345
+ /** Use "token_policies" instead. If this and "token_policies" are both specified, only "token_policies" will be used. */
346
+ export type AppRoleReadRoleResponsePoliciesList = Array<string>;
347
+ export declare const AppRoleReadRoleResponsePoliciesList: S.Schema<AppRoleReadRoleResponsePoliciesList>;
348
+ /** Comma separated string or list of CIDR blocks. If set, specifies the blocks of IP addresses which can perform the login operation. */
349
+ export type AppRoleReadRoleResponseSecretIdBoundCidrsList = Array<string>;
350
+ export declare const AppRoleReadRoleResponseSecretIdBoundCidrsList: S.Schema<AppRoleReadRoleResponseSecretIdBoundCidrsList>;
351
+ /** Comma separated string or JSON list of CIDR blocks. If set, specifies the blocks of IP addresses which are allowed to use the generated token. */
352
+ export type AppRoleReadRoleResponseTokenBoundCidrsList = Array<string>;
353
+ export declare const AppRoleReadRoleResponseTokenBoundCidrsList: S.Schema<AppRoleReadRoleResponseTokenBoundCidrsList>;
354
+ /** Comma-separated list of policies */
355
+ export type AppRoleReadRoleResponseTokenPoliciesList = Array<string>;
356
+ export declare const AppRoleReadRoleResponseTokenPoliciesList: S.Schema<AppRoleReadRoleResponseTokenPoliciesList>;
357
+ export interface AppRoleReadRoleResponse {
358
+ /** Impose secret ID to be presented when logging in using this role. */
359
+ bind_secret_id?: boolean;
360
+ /** If true, the secret identifiers generated using this role will be cluster local. This can only be set during role creation and once set, it can't be reset later */
361
+ local_secret_ids?: boolean;
362
+ /** Use "token_period" instead. If this and "token_period" are both specified, only "token_period" will be used. */
363
+ period?: number;
364
+ /** Use "token_policies" instead. If this and "token_policies" are both specified, only "token_policies" will be used. */
365
+ policies?: AppRoleReadRoleResponsePoliciesList;
366
+ /** Comma separated string or list of CIDR blocks. If set, specifies the blocks of IP addresses which can perform the login operation. */
367
+ secret_id_bound_cidrs?: AppRoleReadRoleResponseSecretIdBoundCidrsList;
368
+ /** Number of times a secret ID can access the role, after which the secret ID will expire. */
369
+ secret_id_num_uses?: number;
370
+ /** Duration in seconds after which the issued secret ID expires. */
371
+ secret_id_ttl?: number;
372
+ /** Comma separated string or JSON list of CIDR blocks. If set, specifies the blocks of IP addresses which are allowed to use the generated token. */
373
+ token_bound_cidrs?: AppRoleReadRoleResponseTokenBoundCidrsList;
374
+ /** If set, tokens created via this role carry an explicit maximum TTL. During renewal, the current maximum TTL values of the role and the mount are not checked for changes, and any updates to these values will have no effect on the token being renewed. */
375
+ token_explicit_max_ttl?: number;
376
+ /** The maximum lifetime of the generated token */
377
+ token_max_ttl?: number;
378
+ /** If true, the 'default' policy will not automatically be added to generated tokens */
379
+ token_no_default_policy?: boolean;
380
+ /** The maximum number of times a token may be used, a value of zero means unlimited */
381
+ token_num_uses?: number;
382
+ /** If set, tokens created via this role will have no max lifetime; instead, their renewal period will be fixed to this value. */
383
+ token_period?: number;
384
+ /** Comma-separated list of policies */
385
+ token_policies?: AppRoleReadRoleResponseTokenPoliciesList;
386
+ /** If true, CIDRs for the token will be strictly bound to the source IP address of the login request */
387
+ token_strictly_bind_ip?: boolean;
388
+ /** The initial ttl of the token to generate */
389
+ token_ttl?: number;
390
+ /** The type of token to generate, service or batch */
391
+ token_type?: string;
392
+ }
393
+ export declare const AppRoleReadRoleResponse: S.Schema<AppRoleReadRoleResponse>;
394
+ export interface AppRoleReadRoleIdRequest {
395
+ /** Path that the backend was mounted at */
396
+ approle_mount_path: string;
397
+ /** Name of the role. Must be less than 4096 bytes. */
398
+ role_name: string;
399
+ }
400
+ export declare const AppRoleReadRoleIdRequest: S.Schema<AppRoleReadRoleIdRequest>;
401
+ export interface AppRoleReadRoleIdResponse {
402
+ /** Identifier of the role. Defaults to a UUID. */
403
+ role_id?: string;
404
+ }
405
+ export declare const AppRoleReadRoleIdResponse: S.Schema<AppRoleReadRoleIdResponse>;
406
+ export interface AppRoleReadSecretIdBoundCidrsRequest {
407
+ /** Path that the backend was mounted at */
408
+ approle_mount_path: string;
409
+ /** Name of the role. Must be less than 4096 bytes. */
410
+ role_name: string;
411
+ }
412
+ export declare const AppRoleReadSecretIdBoundCidrsRequest: S.Schema<AppRoleReadSecretIdBoundCidrsRequest>;
413
+ /** Comma separated string or list of CIDR blocks. If set, specifies the blocks of IP addresses which can perform the login operation. */
414
+ export type AppRoleReadSecretIdBoundCidrsResponseSecretIdBoundCidrsList = Array<string>;
415
+ export declare const AppRoleReadSecretIdBoundCidrsResponseSecretIdBoundCidrsList: S.Schema<AppRoleReadSecretIdBoundCidrsResponseSecretIdBoundCidrsList>;
416
+ export interface AppRoleReadSecretIdBoundCidrsResponse {
417
+ /** Comma separated string or list of CIDR blocks. If set, specifies the blocks of IP addresses which can perform the login operation. */
418
+ secret_id_bound_cidrs?: AppRoleReadSecretIdBoundCidrsResponseSecretIdBoundCidrsList;
419
+ }
420
+ export declare const AppRoleReadSecretIdBoundCidrsResponse: S.Schema<AppRoleReadSecretIdBoundCidrsResponse>;
421
+ export interface AppRoleReadSecretIdNumUsesRequest {
422
+ /** Path that the backend was mounted at */
423
+ approle_mount_path: string;
424
+ /** Name of the role. Must be less than 4096 bytes. */
425
+ role_name: string;
426
+ }
427
+ export declare const AppRoleReadSecretIdNumUsesRequest: S.Schema<AppRoleReadSecretIdNumUsesRequest>;
428
+ export interface AppRoleReadSecretIdNumUsesResponse {
429
+ /** Number of times a secret ID can access the role, after which the SecretID will expire. Defaults to 0 meaning that the secret ID is of unlimited use. */
430
+ secret_id_num_uses?: number;
431
+ }
432
+ export declare const AppRoleReadSecretIdNumUsesResponse: S.Schema<AppRoleReadSecretIdNumUsesResponse>;
433
+ export interface AppRoleReadSecretIdTtlRequest {
434
+ /** Path that the backend was mounted at */
435
+ approle_mount_path: string;
436
+ /** Name of the role. Must be less than 4096 bytes. */
437
+ role_name: string;
438
+ }
439
+ export declare const AppRoleReadSecretIdTtlRequest: S.Schema<AppRoleReadSecretIdTtlRequest>;
440
+ export interface AppRoleReadSecretIdTtlResponse {
441
+ /** Duration in seconds after which the issued secret ID should expire. Defaults to 0, meaning no expiration. */
442
+ secret_id_ttl?: number;
443
+ }
444
+ export declare const AppRoleReadSecretIdTtlResponse: S.Schema<AppRoleReadSecretIdTtlResponse>;
445
+ export interface AppRoleReadTokenBoundCidrsRequest {
446
+ /** Path that the backend was mounted at */
447
+ approle_mount_path: string;
448
+ /** Name of the role. Must be less than 4096 bytes. */
449
+ role_name: string;
450
+ }
451
+ export declare const AppRoleReadTokenBoundCidrsRequest: S.Schema<AppRoleReadTokenBoundCidrsRequest>;
452
+ /** Comma separated string or list of CIDR blocks. If set, specifies the blocks of IP addresses which can use the returned token. Should be a subset of the token CIDR blocks listed on the role, if any. */
453
+ export type AppRoleReadTokenBoundCidrsResponseTokenBoundCidrsList = Array<string>;
454
+ export declare const AppRoleReadTokenBoundCidrsResponseTokenBoundCidrsList: S.Schema<AppRoleReadTokenBoundCidrsResponseTokenBoundCidrsList>;
455
+ export interface AppRoleReadTokenBoundCidrsResponse {
456
+ /** Comma separated string or list of CIDR blocks. If set, specifies the blocks of IP addresses which can use the returned token. Should be a subset of the token CIDR blocks listed on the role, if any. */
457
+ token_bound_cidrs?: AppRoleReadTokenBoundCidrsResponseTokenBoundCidrsList;
458
+ }
459
+ export declare const AppRoleReadTokenBoundCidrsResponse: S.Schema<AppRoleReadTokenBoundCidrsResponse>;
460
+ export interface AppRoleReadTokenMaxTtlRequest {
461
+ /** Path that the backend was mounted at */
462
+ approle_mount_path: string;
463
+ /** Name of the role. Must be less than 4096 bytes. */
464
+ role_name: string;
465
+ }
466
+ export declare const AppRoleReadTokenMaxTtlRequest: S.Schema<AppRoleReadTokenMaxTtlRequest>;
467
+ export interface AppRoleReadTokenMaxTtlResponse {
468
+ /** The maximum lifetime of the generated token */
469
+ token_max_ttl?: number;
470
+ }
471
+ export declare const AppRoleReadTokenMaxTtlResponse: S.Schema<AppRoleReadTokenMaxTtlResponse>;
472
+ export interface AppRoleReadTokenNumUsesRequest {
473
+ /** Path that the backend was mounted at */
474
+ approle_mount_path: string;
475
+ /** Name of the role. Must be less than 4096 bytes. */
476
+ role_name: string;
477
+ }
478
+ export declare const AppRoleReadTokenNumUsesRequest: S.Schema<AppRoleReadTokenNumUsesRequest>;
479
+ export interface AppRoleReadTokenNumUsesResponse {
480
+ /** The maximum number of times a token may be used, a value of zero means unlimited */
481
+ token_num_uses?: number;
482
+ }
483
+ export declare const AppRoleReadTokenNumUsesResponse: S.Schema<AppRoleReadTokenNumUsesResponse>;
484
+ export interface AppRoleReadTokenTtlRequest {
485
+ /** Path that the backend was mounted at */
486
+ approle_mount_path: string;
487
+ /** Name of the role. Must be less than 4096 bytes. */
488
+ role_name: string;
489
+ }
490
+ export declare const AppRoleReadTokenTtlRequest: S.Schema<AppRoleReadTokenTtlRequest>;
491
+ export interface AppRoleReadTokenTtlResponse {
492
+ /** The initial ttl of the token to generate */
493
+ token_ttl?: number;
494
+ }
495
+ export declare const AppRoleReadTokenTtlResponse: S.Schema<AppRoleReadTokenTtlResponse>;
496
+ export interface AppRoleTidySecretIdRequest {
497
+ /** Path that the backend was mounted at */
498
+ approle_mount_path: string;
499
+ }
500
+ export declare const AppRoleTidySecretIdRequest: S.Schema<AppRoleTidySecretIdRequest>;
501
+ export interface AppRoleTidySecretIdResponse {
502
+ }
503
+ export declare const AppRoleTidySecretIdResponse: S.Schema<AppRoleTidySecretIdResponse>;
504
+ export interface AppRoleWriteBindSecretIdRequest {
505
+ /** Path that the backend was mounted at */
506
+ approle_mount_path: string;
507
+ /** Name of the role. Must be less than 4096 bytes. */
508
+ role_name: string;
509
+ /** Impose secret_id to be presented when logging in using this role. */
510
+ bind_secret_id?: boolean;
511
+ }
512
+ export declare const AppRoleWriteBindSecretIdRequest: S.Schema<AppRoleWriteBindSecretIdRequest>;
513
+ export interface AppRoleWriteBindSecretIdResponse {
514
+ }
515
+ export declare const AppRoleWriteBindSecretIdResponse: S.Schema<AppRoleWriteBindSecretIdResponse>;
516
+ /** Comma separated string or list of CIDR blocks enforcing secret IDs to be used from specific set of IP addresses. If 'bound_cidr_list' is set on the role, then the list of CIDR blocks listed here should be a subset of the CIDR blocks listed on the role. */
517
+ export type AppRoleWriteCustomSecretIdRequestCidrListList = Array<string>;
518
+ export declare const AppRoleWriteCustomSecretIdRequestCidrListList: S.Schema<AppRoleWriteCustomSecretIdRequestCidrListList>;
519
+ /** Comma separated string or list of CIDR blocks. If set, specifies the blocks of IP addresses which can use the returned token. Should be a subset of the token CIDR blocks listed on the role, if any. */
520
+ export type AppRoleWriteCustomSecretIdRequestTokenBoundCidrsList = Array<string>;
521
+ export declare const AppRoleWriteCustomSecretIdRequestTokenBoundCidrsList: S.Schema<AppRoleWriteCustomSecretIdRequestTokenBoundCidrsList>;
522
+ export interface AppRoleWriteCustomSecretIdRequest {
523
+ /** Path that the backend was mounted at */
524
+ approle_mount_path: string;
525
+ /** Name of the role. Must be less than 4096 bytes. */
526
+ role_name: string;
527
+ /** Comma separated string or list of CIDR blocks enforcing secret IDs to be used from specific set of IP addresses. If 'bound_cidr_list' is set on the role, then the list of CIDR blocks listed here should be a subset of the CIDR blocks listed on the role. */
528
+ cidr_list?: AppRoleWriteCustomSecretIdRequestCidrListList;
529
+ /** Metadata to be tied to the SecretID. This should be a JSON formatted string containing metadata in key value pairs. */
530
+ metadata?: string;
531
+ /** Number of times this SecretID can be used, after which the SecretID expires. Overrides secret_id_num_uses role option when supplied. May not be higher than role's secret_id_num_uses. */
532
+ num_uses?: number;
533
+ /** SecretID to be attached to the role. */
534
+ secret_id?: string;
535
+ /** Comma separated string or list of CIDR blocks. If set, specifies the blocks of IP addresses which can use the returned token. Should be a subset of the token CIDR blocks listed on the role, if any. */
536
+ token_bound_cidrs?: AppRoleWriteCustomSecretIdRequestTokenBoundCidrsList;
537
+ /** Duration in seconds after which this SecretID expires. Overrides secret_id_ttl role option when supplied. May not be longer than role's secret_id_ttl. */
538
+ ttl?: number;
539
+ }
540
+ export declare const AppRoleWriteCustomSecretIdRequest: S.Schema<AppRoleWriteCustomSecretIdRequest>;
541
+ export interface AppRoleWriteCustomSecretIdResponse {
542
+ /** Secret ID attached to the role. */
543
+ secret_id?: string;
544
+ /** Accessor of the secret ID */
545
+ secret_id_accessor?: string;
546
+ /** Number of times a secret ID can access the role, after which the secret ID will expire. */
547
+ secret_id_num_uses?: number;
548
+ /** Duration in seconds after which the issued secret ID expires. */
549
+ secret_id_ttl?: number;
550
+ }
551
+ export declare const AppRoleWriteCustomSecretIdResponse: S.Schema<AppRoleWriteCustomSecretIdResponse>;
552
+ export interface AppRoleWritePeriodRequest {
553
+ /** Path that the backend was mounted at */
554
+ approle_mount_path: string;
555
+ /** Name of the role. Must be less than 4096 bytes. */
556
+ role_name: string;
557
+ /** Use "token_period" instead. If this and "token_period" are both specified, only "token_period" will be used. */
558
+ period?: number;
559
+ /** If set, tokens created via this role will have no max lifetime; instead, their renewal period will be fixed to this value. This takes an integer number of seconds, or a string duration (e.g. "24h"). */
560
+ token_period?: number;
561
+ }
562
+ export declare const AppRoleWritePeriodRequest: S.Schema<AppRoleWritePeriodRequest>;
563
+ export interface AppRoleWritePeriodResponse {
564
+ }
565
+ export declare const AppRoleWritePeriodResponse: S.Schema<AppRoleWritePeriodResponse>;
566
+ /** Use "token_policies" instead. If this and "token_policies" are both specified, only "token_policies" will be used. */
567
+ export type AppRoleWritePoliciesRequestPoliciesList = Array<string>;
568
+ export declare const AppRoleWritePoliciesRequestPoliciesList: S.Schema<AppRoleWritePoliciesRequestPoliciesList>;
569
+ /** Comma-separated list of policies */
570
+ export type AppRoleWritePoliciesRequestTokenPoliciesList = Array<string>;
571
+ export declare const AppRoleWritePoliciesRequestTokenPoliciesList: S.Schema<AppRoleWritePoliciesRequestTokenPoliciesList>;
572
+ export interface AppRoleWritePoliciesRequest {
573
+ /** Path that the backend was mounted at */
574
+ approle_mount_path: string;
575
+ /** Name of the role. Must be less than 4096 bytes. */
576
+ role_name: string;
577
+ /** Use "token_policies" instead. If this and "token_policies" are both specified, only "token_policies" will be used. */
578
+ policies?: AppRoleWritePoliciesRequestPoliciesList;
579
+ /** Comma-separated list of policies */
580
+ token_policies?: AppRoleWritePoliciesRequestTokenPoliciesList;
581
+ }
582
+ export declare const AppRoleWritePoliciesRequest: S.Schema<AppRoleWritePoliciesRequest>;
583
+ export interface AppRoleWritePoliciesResponse {
584
+ }
585
+ export declare const AppRoleWritePoliciesResponse: S.Schema<AppRoleWritePoliciesResponse>;
586
+ /** Use "secret_id_bound_cidrs" instead. */
587
+ export type AppRoleWriteRoleRequestBoundCidrListList = Array<string>;
588
+ export declare const AppRoleWriteRoleRequestBoundCidrListList: S.Schema<AppRoleWriteRoleRequestBoundCidrListList>;
589
+ /** Use "token_policies" instead. If this and "token_policies" are both specified, only "token_policies" will be used. */
590
+ export type AppRoleWriteRoleRequestPoliciesList = Array<string>;
591
+ export declare const AppRoleWriteRoleRequestPoliciesList: S.Schema<AppRoleWriteRoleRequestPoliciesList>;
592
+ /** Comma separated string or list of CIDR blocks. If set, specifies the blocks of IP addresses which can perform the login operation. */
593
+ export type AppRoleWriteRoleRequestSecretIdBoundCidrsList = Array<string>;
594
+ export declare const AppRoleWriteRoleRequestSecretIdBoundCidrsList: S.Schema<AppRoleWriteRoleRequestSecretIdBoundCidrsList>;
595
+ /** Comma separated string or JSON list of CIDR blocks. If set, specifies the blocks of IP addresses which are allowed to use the generated token. */
596
+ export type AppRoleWriteRoleRequestTokenBoundCidrsList = Array<string>;
597
+ export declare const AppRoleWriteRoleRequestTokenBoundCidrsList: S.Schema<AppRoleWriteRoleRequestTokenBoundCidrsList>;
598
+ /** Comma-separated list of policies */
599
+ export type AppRoleWriteRoleRequestTokenPoliciesList = Array<string>;
600
+ export declare const AppRoleWriteRoleRequestTokenPoliciesList: S.Schema<AppRoleWriteRoleRequestTokenPoliciesList>;
601
+ export interface AppRoleWriteRoleRequest {
602
+ /** Path that the backend was mounted at */
603
+ approle_mount_path: string;
604
+ /** Name of the role. Must be less than 4096 bytes. */
605
+ role_name: string;
606
+ /** Impose secret_id to be presented when logging in using this role. Defaults to 'true'. */
607
+ bind_secret_id?: boolean;
608
+ /** Use "secret_id_bound_cidrs" instead. */
609
+ bound_cidr_list?: AppRoleWriteRoleRequestBoundCidrListList;
610
+ /** If set, the secret IDs generated using this role will be cluster local. This can only be set during role creation and once set, it can't be reset later. */
611
+ local_secret_ids?: boolean;
612
+ /** Use "token_period" instead. If this and "token_period" are both specified, only "token_period" will be used. */
613
+ period?: number;
614
+ /** Use "token_policies" instead. If this and "token_policies" are both specified, only "token_policies" will be used. */
615
+ policies?: AppRoleWriteRoleRequestPoliciesList;
616
+ /** Identifier of the role. Defaults to a UUID. */
617
+ role_id?: string;
618
+ /** Comma separated string or list of CIDR blocks. If set, specifies the blocks of IP addresses which can perform the login operation. */
619
+ secret_id_bound_cidrs?: AppRoleWriteRoleRequestSecretIdBoundCidrsList;
620
+ /** Number of times a SecretID can access the role, after which the SecretID will expire. Defaults to 0 meaning that the the secret_id is of unlimited use. */
621
+ secret_id_num_uses?: number;
622
+ /** Duration in seconds after which the issued SecretID should expire. Defaults to 0, meaning no expiration. */
623
+ secret_id_ttl?: number;
624
+ /** Comma separated string or JSON list of CIDR blocks. If set, specifies the blocks of IP addresses which are allowed to use the generated token. */
625
+ token_bound_cidrs?: AppRoleWriteRoleRequestTokenBoundCidrsList;
626
+ /** If set, tokens created via this role carry an explicit maximum TTL. During renewal, the current maximum TTL values of the role and the mount are not checked for changes, and any updates to these values will have no effect on the token being renewed. */
627
+ token_explicit_max_ttl?: number;
628
+ /** The maximum lifetime of the generated token */
629
+ token_max_ttl?: number;
630
+ /** If true, the 'default' policy will not automatically be added to generated tokens */
631
+ token_no_default_policy?: boolean;
632
+ /** The maximum number of times a token may be used, a value of zero means unlimited */
633
+ token_num_uses?: number;
634
+ /** If set, tokens created via this role will have no max lifetime; instead, their renewal period will be fixed to this value. This takes an integer number of seconds, or a string duration (e.g. "24h"). */
635
+ token_period?: number;
636
+ /** Comma-separated list of policies */
637
+ token_policies?: AppRoleWriteRoleRequestTokenPoliciesList;
638
+ /** If true, CIDRs for the token will be strictly bound to the source IP address of the login request */
639
+ token_strictly_bind_ip?: boolean;
640
+ /** The initial ttl of the token to generate */
641
+ token_ttl?: number;
642
+ /** The type of token to generate, service or batch */
643
+ token_type?: string;
644
+ }
645
+ export declare const AppRoleWriteRoleRequest: S.Schema<AppRoleWriteRoleRequest>;
646
+ export interface AppRoleWriteRoleResponse {
647
+ }
648
+ export declare const AppRoleWriteRoleResponse: S.Schema<AppRoleWriteRoleResponse>;
649
+ export interface AppRoleWriteRoleIdRequest {
650
+ /** Path that the backend was mounted at */
651
+ approle_mount_path: string;
652
+ /** Name of the role. Must be less than 4096 bytes. */
653
+ role_name: string;
654
+ /** Identifier of the role. Defaults to a UUID. */
655
+ role_id?: string;
656
+ }
657
+ export declare const AppRoleWriteRoleIdRequest: S.Schema<AppRoleWriteRoleIdRequest>;
658
+ export interface AppRoleWriteRoleIdResponse {
659
+ }
660
+ export declare const AppRoleWriteRoleIdResponse: S.Schema<AppRoleWriteRoleIdResponse>;
661
+ /** Comma separated string or list of CIDR blocks enforcing secret IDs to be used from specific set of IP addresses. If 'bound_cidr_list' is set on the role, then the list of CIDR blocks listed here should be a subset of the CIDR blocks listed on the role. */
662
+ export type AppRoleWriteSecretIdRequestCidrListList = Array<string>;
663
+ export declare const AppRoleWriteSecretIdRequestCidrListList: S.Schema<AppRoleWriteSecretIdRequestCidrListList>;
664
+ /** Comma separated string or JSON list of CIDR blocks. If set, specifies the blocks of IP addresses which are allowed to use the generated token. */
665
+ export type AppRoleWriteSecretIdRequestTokenBoundCidrsList = Array<string>;
666
+ export declare const AppRoleWriteSecretIdRequestTokenBoundCidrsList: S.Schema<AppRoleWriteSecretIdRequestTokenBoundCidrsList>;
667
+ export interface AppRoleWriteSecretIdRequest {
668
+ /** Path that the backend was mounted at */
669
+ approle_mount_path: string;
670
+ /** Name of the role. Must be less than 4096 bytes. */
671
+ role_name: string;
672
+ /** Optional entry to list begin listing after, not required to exist. Only used in list operations. */
673
+ after?: string;
674
+ /** Comma separated string or list of CIDR blocks enforcing secret IDs to be used from specific set of IP addresses. If 'bound_cidr_list' is set on the role, then the list of CIDR blocks listed here should be a subset of the CIDR blocks listed on the role. */
675
+ cidr_list?: AppRoleWriteSecretIdRequestCidrListList;
676
+ /** Optional number of entries to return; defaults to all entries. Only used in list operations. */
677
+ limit?: number;
678
+ /** Metadata to be tied to the SecretID. This should be a JSON formatted string containing the metadata in key value pairs. */
679
+ metadata?: string;
680
+ /** Number of times this SecretID can be used, after which the SecretID expires. Overrides secret_id_num_uses role option when supplied. May not be higher than role's secret_id_num_uses. */
681
+ num_uses?: number;
682
+ /** Comma separated string or JSON list of CIDR blocks. If set, specifies the blocks of IP addresses which are allowed to use the generated token. */
683
+ token_bound_cidrs?: AppRoleWriteSecretIdRequestTokenBoundCidrsList;
684
+ /** Duration in seconds after which this SecretID expires. Overrides secret_id_ttl role option when supplied. May not be longer than role's secret_id_ttl. */
685
+ ttl?: number;
686
+ }
687
+ export declare const AppRoleWriteSecretIdRequest: S.Schema<AppRoleWriteSecretIdRequest>;
688
+ export interface AppRoleWriteSecretIdResponse {
689
+ /** Secret ID attached to the role. */
690
+ secret_id?: string;
691
+ /** Accessor of the secret ID */
692
+ secret_id_accessor?: string;
693
+ /** Number of times a secret ID can access the role, after which the secret ID will expire. */
694
+ secret_id_num_uses?: number;
695
+ /** Duration in seconds after which the issued secret ID expires. */
696
+ secret_id_ttl?: number;
697
+ }
698
+ export declare const AppRoleWriteSecretIdResponse: S.Schema<AppRoleWriteSecretIdResponse>;
699
+ /** Comma separated string or list of CIDR blocks. If set, specifies the blocks of IP addresses which can perform the login operation. */
700
+ export type AppRoleWriteSecretIdBoundCidrsRequestSecretIdBoundCidrsList = Array<string>;
701
+ export declare const AppRoleWriteSecretIdBoundCidrsRequestSecretIdBoundCidrsList: S.Schema<AppRoleWriteSecretIdBoundCidrsRequestSecretIdBoundCidrsList>;
702
+ export interface AppRoleWriteSecretIdBoundCidrsRequest {
703
+ /** Path that the backend was mounted at */
704
+ approle_mount_path: string;
705
+ /** Name of the role. Must be less than 4096 bytes. */
706
+ role_name: string;
707
+ /** Comma separated string or list of CIDR blocks. If set, specifies the blocks of IP addresses which can perform the login operation. */
708
+ secret_id_bound_cidrs?: AppRoleWriteSecretIdBoundCidrsRequestSecretIdBoundCidrsList;
709
+ }
710
+ export declare const AppRoleWriteSecretIdBoundCidrsRequest: S.Schema<AppRoleWriteSecretIdBoundCidrsRequest>;
711
+ export interface AppRoleWriteSecretIdBoundCidrsResponse {
712
+ }
713
+ export declare const AppRoleWriteSecretIdBoundCidrsResponse: S.Schema<AppRoleWriteSecretIdBoundCidrsResponse>;
714
+ export interface AppRoleWriteSecretIdNumUsesRequest {
715
+ /** Path that the backend was mounted at */
716
+ approle_mount_path: string;
717
+ /** Name of the role. Must be less than 4096 bytes. */
718
+ role_name: string;
719
+ /** Number of times a SecretID can access the role, after which the SecretID will expire. */
720
+ secret_id_num_uses?: number;
721
+ }
722
+ export declare const AppRoleWriteSecretIdNumUsesRequest: S.Schema<AppRoleWriteSecretIdNumUsesRequest>;
723
+ export interface AppRoleWriteSecretIdNumUsesResponse {
724
+ }
725
+ export declare const AppRoleWriteSecretIdNumUsesResponse: S.Schema<AppRoleWriteSecretIdNumUsesResponse>;
726
+ export interface AppRoleWriteSecretIdTtlRequest {
727
+ /** Path that the backend was mounted at */
728
+ approle_mount_path: string;
729
+ /** Name of the role. Must be less than 4096 bytes. */
730
+ role_name: string;
731
+ /** Duration in seconds after which the issued SecretID should expire. Defaults to 0, meaning no expiration. */
732
+ secret_id_ttl?: number;
733
+ }
734
+ export declare const AppRoleWriteSecretIdTtlRequest: S.Schema<AppRoleWriteSecretIdTtlRequest>;
735
+ export interface AppRoleWriteSecretIdTtlResponse {
736
+ }
737
+ export declare const AppRoleWriteSecretIdTtlResponse: S.Schema<AppRoleWriteSecretIdTtlResponse>;
738
+ /** Comma separated string or JSON list of CIDR blocks. If set, specifies the blocks of IP addresses which are allowed to use the generated token. */
739
+ export type AppRoleWriteTokenBoundCidrsRequestTokenBoundCidrsList = Array<string>;
740
+ export declare const AppRoleWriteTokenBoundCidrsRequestTokenBoundCidrsList: S.Schema<AppRoleWriteTokenBoundCidrsRequestTokenBoundCidrsList>;
741
+ export interface AppRoleWriteTokenBoundCidrsRequest {
742
+ /** Path that the backend was mounted at */
743
+ approle_mount_path: string;
744
+ /** Name of the role. Must be less than 4096 bytes. */
745
+ role_name: string;
746
+ /** Comma separated string or JSON list of CIDR blocks. If set, specifies the blocks of IP addresses which are allowed to use the generated token. */
747
+ token_bound_cidrs?: AppRoleWriteTokenBoundCidrsRequestTokenBoundCidrsList;
748
+ }
749
+ export declare const AppRoleWriteTokenBoundCidrsRequest: S.Schema<AppRoleWriteTokenBoundCidrsRequest>;
750
+ export interface AppRoleWriteTokenBoundCidrsResponse {
751
+ }
752
+ export declare const AppRoleWriteTokenBoundCidrsResponse: S.Schema<AppRoleWriteTokenBoundCidrsResponse>;
753
+ export interface AppRoleWriteTokenMaxTtlRequest {
754
+ /** Path that the backend was mounted at */
755
+ approle_mount_path: string;
756
+ /** Name of the role. Must be less than 4096 bytes. */
757
+ role_name: string;
758
+ /** The maximum lifetime of the generated token */
759
+ token_max_ttl?: number;
760
+ }
761
+ export declare const AppRoleWriteTokenMaxTtlRequest: S.Schema<AppRoleWriteTokenMaxTtlRequest>;
762
+ export interface AppRoleWriteTokenMaxTtlResponse {
763
+ }
764
+ export declare const AppRoleWriteTokenMaxTtlResponse: S.Schema<AppRoleWriteTokenMaxTtlResponse>;
765
+ export interface AppRoleWriteTokenNumUsesRequest {
766
+ /** Path that the backend was mounted at */
767
+ approle_mount_path: string;
768
+ /** Name of the role. Must be less than 4096 bytes. */
769
+ role_name: string;
770
+ /** The maximum number of times a token may be used, a value of zero means unlimited */
771
+ token_num_uses?: number;
772
+ }
773
+ export declare const AppRoleWriteTokenNumUsesRequest: S.Schema<AppRoleWriteTokenNumUsesRequest>;
774
+ export interface AppRoleWriteTokenNumUsesResponse {
775
+ }
776
+ export declare const AppRoleWriteTokenNumUsesResponse: S.Schema<AppRoleWriteTokenNumUsesResponse>;
777
+ export interface AppRoleWriteTokenTtlRequest {
778
+ /** Path that the backend was mounted at */
779
+ approle_mount_path: string;
780
+ /** Name of the role. Must be less than 4096 bytes. */
781
+ role_name: string;
782
+ /** The initial ttl of the token to generate */
783
+ token_ttl?: number;
784
+ }
785
+ export declare const AppRoleWriteTokenTtlRequest: S.Schema<AppRoleWriteTokenTtlRequest>;
786
+ export interface AppRoleWriteTokenTtlResponse {
787
+ }
788
+ export declare const AppRoleWriteTokenTtlResponse: S.Schema<AppRoleWriteTokenTtlResponse>;
789
+ /** Deprecated: Please use "secret_id_bound_cidrs" instead. Comma separated string or list of CIDR blocks. If set, specifies the blocks of IP addresses which can perform the login operation. */
790
+ export type ListAppRoleWriteBoundCidrRequestBoundCidrListList = Array<string>;
791
+ export declare const ListAppRoleWriteBoundCidrRequestBoundCidrListList: S.Schema<ListAppRoleWriteBoundCidrRequestBoundCidrListList>;
792
+ export interface ListAppRoleWriteBoundCidrRequest {
793
+ /** Path that the backend was mounted at */
794
+ approle_mount_path: string;
795
+ /** Name of the role. Must be less than 4096 bytes. */
796
+ role_name: string;
797
+ /** Deprecated: Please use "secret_id_bound_cidrs" instead. Comma separated string or list of CIDR blocks. If set, specifies the blocks of IP addresses which can perform the login operation. */
798
+ bound_cidr_list?: ListAppRoleWriteBoundCidrRequestBoundCidrListList;
799
+ }
800
+ export declare const ListAppRoleWriteBoundCidrRequest: S.Schema<ListAppRoleWriteBoundCidrRequest>;
801
+ export interface ListAppRoleWriteBoundCidrResponse {
802
+ }
803
+ export declare const ListAppRoleWriteBoundCidrResponse: S.Schema<ListAppRoleWriteBoundCidrResponse>;
804
+ export interface LoginAppRoleRequest {
805
+ /** Path that the backend was mounted at */
806
+ approle_mount_path: string;
807
+ /** Unique identifier of the Role. Required to be supplied when the 'bind_secret_id' constraint is set. */
808
+ role_id?: string;
809
+ /** SecretID belong to the App role */
810
+ secret_id?: string;
811
+ }
812
+ export declare const LoginAppRoleRequest: S.Schema<LoginAppRoleRequest>;
813
+ export interface LoginAppRoleResponse {
814
+ }
815
+ export declare const LoginAppRoleResponse: S.Schema<LoginAppRoleResponse>;
816
+ export type AppRoleDeleteBindSecretIdError = OpenBaoOpError;
817
+ export declare const appRoleDeleteBindSecretId: API.OperationMethod<AppRoleDeleteBindSecretIdRequest, AppRoleDeleteBindSecretIdResponse, AppRoleDeleteBindSecretIdError, OpenBaoOpContext>;
818
+ export type AppRoleDeleteBoundCidrListError = OpenBaoOpError;
819
+ export declare const appRoleDeleteBoundCidrList: API.OperationMethod<AppRoleDeleteBoundCidrListRequest, AppRoleDeleteBoundCidrListResponse, AppRoleDeleteBoundCidrListError, OpenBaoOpContext>;
820
+ export type AppRoleDeletePeriodError = OpenBaoOpError;
821
+ export declare const appRoleDeletePeriod: API.OperationMethod<AppRoleDeletePeriodRequest, AppRoleDeletePeriodResponse, AppRoleDeletePeriodError, OpenBaoOpContext>;
822
+ export type AppRoleDeletePoliciesError = OpenBaoOpError;
823
+ export declare const appRoleDeletePolicies: API.OperationMethod<AppRoleDeletePoliciesRequest, AppRoleDeletePoliciesResponse, AppRoleDeletePoliciesError, OpenBaoOpContext>;
824
+ export type AppRoleDeleteRoleError = OpenBaoOpError;
825
+ export declare const appRoleDeleteRole: API.OperationMethod<AppRoleDeleteRoleRequest, AppRoleDeleteRoleResponse, AppRoleDeleteRoleError, OpenBaoOpContext>;
826
+ export type AppRoleDeleteSecretIdBoundCidrsError = OpenBaoOpError;
827
+ export declare const appRoleDeleteSecretIdBoundCidrs: API.OperationMethod<AppRoleDeleteSecretIdBoundCidrsRequest, AppRoleDeleteSecretIdBoundCidrsResponse, AppRoleDeleteSecretIdBoundCidrsError, OpenBaoOpContext>;
828
+ export type AppRoleDeleteSecretIdNumUsesError = OpenBaoOpError;
829
+ export declare const appRoleDeleteSecretIdNumUses: API.OperationMethod<AppRoleDeleteSecretIdNumUsesRequest, AppRoleDeleteSecretIdNumUsesResponse, AppRoleDeleteSecretIdNumUsesError, OpenBaoOpContext>;
830
+ export type AppRoleDeleteSecretIdTtlError = OpenBaoOpError;
831
+ export declare const appRoleDeleteSecretIdTtl: API.OperationMethod<AppRoleDeleteSecretIdTtlRequest, AppRoleDeleteSecretIdTtlResponse, AppRoleDeleteSecretIdTtlError, OpenBaoOpContext>;
832
+ export type AppRoleDeleteTokenBoundCidrsError = OpenBaoOpError;
833
+ export declare const appRoleDeleteTokenBoundCidrs: API.OperationMethod<AppRoleDeleteTokenBoundCidrsRequest, AppRoleDeleteTokenBoundCidrsResponse, AppRoleDeleteTokenBoundCidrsError, OpenBaoOpContext>;
834
+ export type AppRoleDeleteTokenMaxTtlError = OpenBaoOpError;
835
+ export declare const appRoleDeleteTokenMaxTtl: API.OperationMethod<AppRoleDeleteTokenMaxTtlRequest, AppRoleDeleteTokenMaxTtlResponse, AppRoleDeleteTokenMaxTtlError, OpenBaoOpContext>;
836
+ export type AppRoleDeleteTokenNumUsesError = OpenBaoOpError;
837
+ export declare const appRoleDeleteTokenNumUses: API.OperationMethod<AppRoleDeleteTokenNumUsesRequest, AppRoleDeleteTokenNumUsesResponse, AppRoleDeleteTokenNumUsesError, OpenBaoOpContext>;
838
+ export type AppRoleDeleteTokenTtlError = OpenBaoOpError;
839
+ export declare const appRoleDeleteTokenTtl: API.OperationMethod<AppRoleDeleteTokenTtlRequest, AppRoleDeleteTokenTtlResponse, AppRoleDeleteTokenTtlError, OpenBaoOpContext>;
840
+ export type AppRoleDestroySecretIdError = OpenBaoOpError;
841
+ export declare const appRoleDestroySecretId: API.OperationMethod<AppRoleDestroySecretIdRequest, AppRoleDestroySecretIdResponse, AppRoleDestroySecretIdError, OpenBaoOpContext>;
842
+ export type AppRoleDestroySecretId2Error = OpenBaoOpError;
843
+ export declare const appRoleDestroySecretId2: API.OperationMethod<AppRoleDestroySecretId2Request, AppRoleDestroySecretId2Response, AppRoleDestroySecretId2Error, OpenBaoOpContext>;
844
+ export type AppRoleDestroySecretIdByAccessorError = OpenBaoOpError;
845
+ export declare const appRoleDestroySecretIdByAccessor: API.OperationMethod<AppRoleDestroySecretIdByAccessorRequest, AppRoleDestroySecretIdByAccessorResponse, AppRoleDestroySecretIdByAccessorError, OpenBaoOpContext>;
846
+ export type AppRoleDestroySecretIdByAccessor2Error = OpenBaoOpError;
847
+ export declare const appRoleDestroySecretIdByAccessor2: API.OperationMethod<AppRoleDestroySecretIdByAccessor2Request, AppRoleDestroySecretIdByAccessor2Response, AppRoleDestroySecretIdByAccessor2Error, OpenBaoOpContext>;
848
+ export type AppRoleListRolesError = OpenBaoOpError;
849
+ export declare const appRoleListRoles: API.OperationMethod<AppRoleListRolesRequest, AppRoleListRolesResponse, AppRoleListRolesError, OpenBaoOpContext>;
850
+ export type AppRoleListSecretIdsError = OpenBaoOpError;
851
+ export declare const appRoleListSecretIds: API.OperationMethod<AppRoleListSecretIdsRequest, AppRoleListSecretIdsResponse, AppRoleListSecretIdsError, OpenBaoOpContext>;
852
+ export type AppRoleLookUpSecretIdError = OpenBaoOpError;
853
+ export declare const appRoleLookUpSecretId: API.OperationMethod<AppRoleLookUpSecretIdRequest, AppRoleLookUpSecretIdResponse, AppRoleLookUpSecretIdError, OpenBaoOpContext>;
854
+ export type AppRoleLookUpSecretIdByAccessorError = OpenBaoOpError;
855
+ export declare const appRoleLookUpSecretIdByAccessor: API.OperationMethod<AppRoleLookUpSecretIdByAccessorRequest, AppRoleLookUpSecretIdByAccessorResponse, AppRoleLookUpSecretIdByAccessorError, OpenBaoOpContext>;
856
+ export type AppRoleReadBindSecretIdError = OpenBaoOpError;
857
+ export declare const appRoleReadBindSecretId: API.OperationMethod<AppRoleReadBindSecretIdRequest, AppRoleReadBindSecretIdResponse, AppRoleReadBindSecretIdError, OpenBaoOpContext>;
858
+ export type AppRoleReadBoundCidrListError = OpenBaoOpError;
859
+ export declare const appRoleReadBoundCidrList: API.OperationMethod<AppRoleReadBoundCidrListRequest, AppRoleReadBoundCidrListResponse, AppRoleReadBoundCidrListError, OpenBaoOpContext>;
860
+ export type AppRoleReadLocalSecretIdsError = OpenBaoOpError;
861
+ export declare const appRoleReadLocalSecretIds: API.OperationMethod<AppRoleReadLocalSecretIdsRequest, AppRoleReadLocalSecretIdsResponse, AppRoleReadLocalSecretIdsError, OpenBaoOpContext>;
862
+ export type AppRoleReadPeriodError = OpenBaoOpError;
863
+ export declare const appRoleReadPeriod: API.OperationMethod<AppRoleReadPeriodRequest, AppRoleReadPeriodResponse, AppRoleReadPeriodError, OpenBaoOpContext>;
864
+ export type AppRoleReadPoliciesError = OpenBaoOpError;
865
+ export declare const appRoleReadPolicies: API.OperationMethod<AppRoleReadPoliciesRequest, AppRoleReadPoliciesResponse, AppRoleReadPoliciesError, OpenBaoOpContext>;
866
+ export type AppRoleReadRoleError = OpenBaoOpError;
867
+ export declare const appRoleReadRole: API.OperationMethod<AppRoleReadRoleRequest, AppRoleReadRoleResponse, AppRoleReadRoleError, OpenBaoOpContext>;
868
+ export type AppRoleReadRoleIdError = OpenBaoOpError;
869
+ export declare const appRoleReadRoleId: API.OperationMethod<AppRoleReadRoleIdRequest, AppRoleReadRoleIdResponse, AppRoleReadRoleIdError, OpenBaoOpContext>;
870
+ export type AppRoleReadSecretIdBoundCidrsError = OpenBaoOpError;
871
+ export declare const appRoleReadSecretIdBoundCidrs: API.OperationMethod<AppRoleReadSecretIdBoundCidrsRequest, AppRoleReadSecretIdBoundCidrsResponse, AppRoleReadSecretIdBoundCidrsError, OpenBaoOpContext>;
872
+ export type AppRoleReadSecretIdNumUsesError = OpenBaoOpError;
873
+ export declare const appRoleReadSecretIdNumUses: API.OperationMethod<AppRoleReadSecretIdNumUsesRequest, AppRoleReadSecretIdNumUsesResponse, AppRoleReadSecretIdNumUsesError, OpenBaoOpContext>;
874
+ export type AppRoleReadSecretIdTtlError = OpenBaoOpError;
875
+ export declare const appRoleReadSecretIdTtl: API.OperationMethod<AppRoleReadSecretIdTtlRequest, AppRoleReadSecretIdTtlResponse, AppRoleReadSecretIdTtlError, OpenBaoOpContext>;
876
+ export type AppRoleReadTokenBoundCidrsError = OpenBaoOpError;
877
+ export declare const appRoleReadTokenBoundCidrs: API.OperationMethod<AppRoleReadTokenBoundCidrsRequest, AppRoleReadTokenBoundCidrsResponse, AppRoleReadTokenBoundCidrsError, OpenBaoOpContext>;
878
+ export type AppRoleReadTokenMaxTtlError = OpenBaoOpError;
879
+ export declare const appRoleReadTokenMaxTtl: API.OperationMethod<AppRoleReadTokenMaxTtlRequest, AppRoleReadTokenMaxTtlResponse, AppRoleReadTokenMaxTtlError, OpenBaoOpContext>;
880
+ export type AppRoleReadTokenNumUsesError = OpenBaoOpError;
881
+ export declare const appRoleReadTokenNumUses: API.OperationMethod<AppRoleReadTokenNumUsesRequest, AppRoleReadTokenNumUsesResponse, AppRoleReadTokenNumUsesError, OpenBaoOpContext>;
882
+ export type AppRoleReadTokenTtlError = OpenBaoOpError;
883
+ export declare const appRoleReadTokenTtl: API.OperationMethod<AppRoleReadTokenTtlRequest, AppRoleReadTokenTtlResponse, AppRoleReadTokenTtlError, OpenBaoOpContext>;
884
+ export type AppRoleTidySecretIdError = OpenBaoOpError;
885
+ export declare const appRoleTidySecretId: API.OperationMethod<AppRoleTidySecretIdRequest, AppRoleTidySecretIdResponse, AppRoleTidySecretIdError, OpenBaoOpContext>;
886
+ export type AppRoleWriteBindSecretIdError = OpenBaoOpError;
887
+ export declare const appRoleWriteBindSecretId: API.OperationMethod<AppRoleWriteBindSecretIdRequest, AppRoleWriteBindSecretIdResponse, AppRoleWriteBindSecretIdError, OpenBaoOpContext>;
888
+ export type AppRoleWriteCustomSecretIdError = OpenBaoOpError;
889
+ export declare const appRoleWriteCustomSecretId: API.OperationMethod<AppRoleWriteCustomSecretIdRequest, AppRoleWriteCustomSecretIdResponse, AppRoleWriteCustomSecretIdError, OpenBaoOpContext>;
890
+ export type AppRoleWritePeriodError = OpenBaoOpError;
891
+ export declare const appRoleWritePeriod: API.OperationMethod<AppRoleWritePeriodRequest, AppRoleWritePeriodResponse, AppRoleWritePeriodError, OpenBaoOpContext>;
892
+ export type AppRoleWritePoliciesError = OpenBaoOpError;
893
+ export declare const appRoleWritePolicies: API.OperationMethod<AppRoleWritePoliciesRequest, AppRoleWritePoliciesResponse, AppRoleWritePoliciesError, OpenBaoOpContext>;
894
+ export type AppRoleWriteRoleError = OpenBaoOpError;
895
+ export declare const appRoleWriteRole: API.OperationMethod<AppRoleWriteRoleRequest, AppRoleWriteRoleResponse, AppRoleWriteRoleError, OpenBaoOpContext>;
896
+ export type AppRoleWriteRoleIdError = OpenBaoOpError;
897
+ export declare const appRoleWriteRoleId: API.OperationMethod<AppRoleWriteRoleIdRequest, AppRoleWriteRoleIdResponse, AppRoleWriteRoleIdError, OpenBaoOpContext>;
898
+ export type AppRoleWriteSecretIdError = OpenBaoOpError;
899
+ export declare const appRoleWriteSecretId: API.OperationMethod<AppRoleWriteSecretIdRequest, AppRoleWriteSecretIdResponse, AppRoleWriteSecretIdError, OpenBaoOpContext>;
900
+ export type AppRoleWriteSecretIdBoundCidrsError = OpenBaoOpError;
901
+ export declare const appRoleWriteSecretIdBoundCidrs: API.OperationMethod<AppRoleWriteSecretIdBoundCidrsRequest, AppRoleWriteSecretIdBoundCidrsResponse, AppRoleWriteSecretIdBoundCidrsError, OpenBaoOpContext>;
902
+ export type AppRoleWriteSecretIdNumUsesError = OpenBaoOpError;
903
+ export declare const appRoleWriteSecretIdNumUses: API.OperationMethod<AppRoleWriteSecretIdNumUsesRequest, AppRoleWriteSecretIdNumUsesResponse, AppRoleWriteSecretIdNumUsesError, OpenBaoOpContext>;
904
+ export type AppRoleWriteSecretIdTtlError = OpenBaoOpError;
905
+ export declare const appRoleWriteSecretIdTtl: API.OperationMethod<AppRoleWriteSecretIdTtlRequest, AppRoleWriteSecretIdTtlResponse, AppRoleWriteSecretIdTtlError, OpenBaoOpContext>;
906
+ export type AppRoleWriteTokenBoundCidrsError = OpenBaoOpError;
907
+ export declare const appRoleWriteTokenBoundCidrs: API.OperationMethod<AppRoleWriteTokenBoundCidrsRequest, AppRoleWriteTokenBoundCidrsResponse, AppRoleWriteTokenBoundCidrsError, OpenBaoOpContext>;
908
+ export type AppRoleWriteTokenMaxTtlError = OpenBaoOpError;
909
+ export declare const appRoleWriteTokenMaxTtl: API.OperationMethod<AppRoleWriteTokenMaxTtlRequest, AppRoleWriteTokenMaxTtlResponse, AppRoleWriteTokenMaxTtlError, OpenBaoOpContext>;
910
+ export type AppRoleWriteTokenNumUsesError = OpenBaoOpError;
911
+ export declare const appRoleWriteTokenNumUses: API.OperationMethod<AppRoleWriteTokenNumUsesRequest, AppRoleWriteTokenNumUsesResponse, AppRoleWriteTokenNumUsesError, OpenBaoOpContext>;
912
+ export type AppRoleWriteTokenTtlError = OpenBaoOpError;
913
+ export declare const appRoleWriteTokenTtl: API.OperationMethod<AppRoleWriteTokenTtlRequest, AppRoleWriteTokenTtlResponse, AppRoleWriteTokenTtlError, OpenBaoOpContext>;
914
+ export type ListAppRoleWriteBoundCidrError = OpenBaoOpError;
915
+ export declare const listAppRoleWriteBoundCidr: API.OperationMethod<ListAppRoleWriteBoundCidrRequest, ListAppRoleWriteBoundCidrResponse, ListAppRoleWriteBoundCidrError, OpenBaoOpContext>;
916
+ export type LoginAppRoleError = OpenBaoOpError;
917
+ export declare const loginAppRole: API.OperationMethod<LoginAppRoleRequest, LoginAppRoleResponse, LoginAppRoleError, OpenBaoOpContext>;
918
+ //# sourceMappingURL=approle.d.ts.map