@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.
- package/LICENSE +201 -0
- package/README.md +78 -0
- package/dist/credentials.d.ts +32 -0
- package/dist/credentials.d.ts.map +1 -0
- package/dist/credentials.js +66 -0
- package/dist/credentials.js.map +1 -0
- package/dist/credentials.test.d.ts +2 -0
- package/dist/credentials.test.d.ts.map +1 -0
- package/dist/credentials.test.js +29 -0
- package/dist/credentials.test.js.map +1 -0
- package/dist/errors.d.ts +57 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +37 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -0
- package/dist/protocol.d.ts +18 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +96 -0
- package/dist/protocol.js.map +1 -0
- package/dist/protocol.test.d.ts +2 -0
- package/dist/protocol.test.d.ts.map +1 -0
- package/dist/protocol.test.js +78 -0
- package/dist/protocol.test.js.map +1 -0
- package/dist/retry.d.ts +60 -0
- package/dist/retry.d.ts.map +1 -0
- package/dist/retry.js +53 -0
- package/dist/retry.js.map +1 -0
- package/dist/services/alias.d.ts +73 -0
- package/dist/services/alias.d.ts.map +1 -0
- package/dist/services/alias.js +91 -0
- package/dist/services/alias.js.map +1 -0
- package/dist/services/approle.d.ts +918 -0
- package/dist/services/approle.d.ts.map +1 -0
- package/dist/services/approle.js +1206 -0
- package/dist/services/approle.js.map +1 -0
- package/dist/services/auditing.d.ts +97 -0
- package/dist/services/auditing.d.ts.map +1 -0
- package/dist/services/auditing.js +158 -0
- package/dist/services/auditing.js.map +1 -0
- package/dist/services/auth.d.ts +160 -0
- package/dist/services/auth.d.ts.map +1 -0
- package/dist/services/auth.js +169 -0
- package/dist/services/auth.js.map +1 -0
- package/dist/services/collect.d.ts +35 -0
- package/dist/services/collect.d.ts.map +1 -0
- package/dist/services/collect.js +46 -0
- package/dist/services/collect.js.map +1 -0
- package/dist/services/configure.d.ts +35 -0
- package/dist/services/configure.d.ts.map +1 -0
- package/dist/services/configure.js +43 -0
- package/dist/services/configure.js.map +1 -0
- package/dist/services/cors.d.ts +54 -0
- package/dist/services/cors.d.ts.map +1 -0
- package/dist/services/cors.js +65 -0
- package/dist/services/cors.js.map +1 -0
- package/dist/services/cubbyhole.d.ts +40 -0
- package/dist/services/cubbyhole.d.ts.map +1 -0
- package/dist/services/cubbyhole.js +56 -0
- package/dist/services/cubbyhole.js.map +1 -0
- package/dist/services/database.d.ts +278 -0
- package/dist/services/database.d.ts.map +1 -0
- package/dist/services/database.js +384 -0
- package/dist/services/database.js.map +1 -0
- package/dist/services/decode.d.ts +18 -0
- package/dist/services/decode.d.ts.map +1 -0
- package/dist/services/decode.js +24 -0
- package/dist/services/decode.js.map +1 -0
- package/dist/services/entity.d.ts +257 -0
- package/dist/services/entity.d.ts.map +1 -0
- package/dist/services/entity.js +313 -0
- package/dist/services/entity.js.map +1 -0
- package/dist/services/generate.d.ts +136 -0
- package/dist/services/generate.d.ts.map +1 -0
- package/dist/services/generate.js +188 -0
- package/dist/services/generate.js.map +1 -0
- package/dist/services/group.d.ts +244 -0
- package/dist/services/group.d.ts.map +1 -0
- package/dist/services/group.js +277 -0
- package/dist/services/group.js.map +1 -0
- package/dist/services/ha.d.ts +17 -0
- package/dist/services/ha.d.ts.map +1 -0
- package/dist/services/ha.js +24 -0
- package/dist/services/ha.js.map +1 -0
- package/dist/services/index.d.ts +54 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +55 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/initialize.d.ts +34 -0
- package/dist/services/initialize.d.ts.map +1 -0
- package/dist/services/initialize.js +31 -0
- package/dist/services/initialize.js.map +1 -0
- package/dist/services/internal.d.ts +131 -0
- package/dist/services/internal.d.ts.map +1 -0
- package/dist/services/internal.js +199 -0
- package/dist/services/internal.js.map +1 -0
- package/dist/services/jwt.d.ts +684 -0
- package/dist/services/jwt.d.ts.map +1 -0
- package/dist/services/jwt.js +801 -0
- package/dist/services/jwt.js.map +1 -0
- package/dist/services/kubernetes.d.ts +166 -0
- package/dist/services/kubernetes.d.ts.map +1 -0
- package/dist/services/kubernetes.js +187 -0
- package/dist/services/kubernetes.js.map +1 -0
- package/dist/services/kv.d.ts +519 -0
- package/dist/services/kv.d.ts.map +1 -0
- package/dist/services/kv.js +655 -0
- package/dist/services/kv.js.map +1 -0
- package/dist/services/leader.d.ts +21 -0
- package/dist/services/leader.d.ts.map +1 -0
- package/dist/services/leader.js +29 -0
- package/dist/services/leader.js.map +1 -0
- package/dist/services/leases.d.ts +185 -0
- package/dist/services/leases.d.ts.map +1 -0
- package/dist/services/leases.js +238 -0
- package/dist/services/leases.js.map +1 -0
- package/dist/services/locked.d.ts +27 -0
- package/dist/services/locked.d.ts.map +1 -0
- package/dist/services/locked.js +42 -0
- package/dist/services/locked.js.map +1 -0
- package/dist/services/loggers.d.ts +69 -0
- package/dist/services/loggers.d.ts.map +1 -0
- package/dist/services/loggers.js +100 -0
- package/dist/services/loggers.js.map +1 -0
- package/dist/services/mfa.d.ts +386 -0
- package/dist/services/mfa.d.ts.map +1 -0
- package/dist/services/mfa.js +553 -0
- package/dist/services/mfa.js.map +1 -0
- package/dist/services/misc.d.ts +103 -0
- package/dist/services/misc.d.ts.map +1 -0
- package/dist/services/misc.js +120 -0
- package/dist/services/misc.js.map +1 -0
- package/dist/services/mounts.d.ts +173 -0
- package/dist/services/mounts.d.ts.map +1 -0
- package/dist/services/mounts.js +168 -0
- package/dist/services/mounts.js.map +1 -0
- package/dist/services/namespaces.d.ts +257 -0
- package/dist/services/namespaces.d.ts.map +1 -0
- package/dist/services/namespaces.js +320 -0
- package/dist/services/namespaces.js.map +1 -0
- package/dist/services/oidc.d.ts +509 -0
- package/dist/services/oidc.d.ts.map +1 -0
- package/dist/services/oidc.js +718 -0
- package/dist/services/oidc.js.map +1 -0
- package/dist/services/persona.d.ts +73 -0
- package/dist/services/persona.d.ts.map +1 -0
- package/dist/services/persona.js +91 -0
- package/dist/services/persona.js.map +1 -0
- package/dist/services/pki.d.ts +5783 -0
- package/dist/services/pki.d.ts.map +1 -0
- package/dist/services/pki.js +4995 -0
- package/dist/services/pki.js.map +1 -0
- package/dist/services/plugins.d.ts +203 -0
- package/dist/services/plugins.d.ts.map +1 -0
- package/dist/services/plugins.js +237 -0
- package/dist/services/plugins.js.map +1 -0
- package/dist/services/policies.d.ts +250 -0
- package/dist/services/policies.d.ts.map +1 -0
- package/dist/services/policies.js +312 -0
- package/dist/services/policies.js.map +1 -0
- package/dist/services/pprof.d.ts +104 -0
- package/dist/services/pprof.d.ts.map +1 -0
- package/dist/services/pprof.js +161 -0
- package/dist/services/pprof.js.map +1 -0
- package/dist/services/query.d.ts +65 -0
- package/dist/services/query.d.ts.map +1 -0
- package/dist/services/query.js +66 -0
- package/dist/services/query.js.map +1 -0
- package/dist/services/rate.d.ts +102 -0
- package/dist/services/rate.d.ts.map +1 -0
- package/dist/services/rate.js +129 -0
- package/dist/services/rate.js.map +1 -0
- package/dist/services/raw.d.ts +85 -0
- package/dist/services/raw.d.ts.map +1 -0
- package/dist/services/raw.js +116 -0
- package/dist/services/raw.js.map +1 -0
- package/dist/services/read.d.ts +87 -0
- package/dist/services/read.d.ts.map +1 -0
- package/dist/services/read.js +123 -0
- package/dist/services/read.js.map +1 -0
- package/dist/services/rekey.d.ts +184 -0
- package/dist/services/rekey.d.ts.map +1 -0
- package/dist/services/rekey.js +243 -0
- package/dist/services/rekey.js.map +1 -0
- package/dist/services/reload.d.ts +15 -0
- package/dist/services/reload.d.ts.map +1 -0
- package/dist/services/reload.js +27 -0
- package/dist/services/reload.js.map +1 -0
- package/dist/services/remount.d.ts +18 -0
- package/dist/services/remount.d.ts.map +1 -0
- package/dist/services/remount.js +30 -0
- package/dist/services/remount.js.map +1 -0
- package/dist/services/root.d.ts +134 -0
- package/dist/services/root.d.ts.map +1 -0
- package/dist/services/root.js +180 -0
- package/dist/services/root.js.map +1 -0
- package/dist/services/rotate.d.ts +367 -0
- package/dist/services/rotate.d.ts.map +1 -0
- package/dist/services/rotate.js +473 -0
- package/dist/services/rotate.js.map +1 -0
- package/dist/services/seal.d.ts +29 -0
- package/dist/services/seal.d.ts.map +1 -0
- package/dist/services/seal.js +37 -0
- package/dist/services/seal.js.map +1 -0
- package/dist/services/ssh.d.ts +491 -0
- package/dist/services/ssh.d.ts.map +1 -0
- package/dist/services/ssh.js +582 -0
- package/dist/services/ssh.js.map +1 -0
- package/dist/services/status.d.ts +17 -0
- package/dist/services/status.d.ts.map +1 -0
- package/dist/services/status.js +25 -0
- package/dist/services/status.js.map +1 -0
- package/dist/services/step.d.ts +14 -0
- package/dist/services/step.d.ts.map +1 -0
- package/dist/services/step.js +21 -0
- package/dist/services/step.js.map +1 -0
- package/dist/services/system.d.ts +33 -0
- package/dist/services/system.d.ts.map +1 -0
- package/dist/services/system.js +47 -0
- package/dist/services/system.js.map +1 -0
- package/dist/services/token.d.ts +408 -0
- package/dist/services/token.d.ts.map +1 -0
- package/dist/services/token.js +415 -0
- package/dist/services/token.js.map +1 -0
- package/dist/services/ui.d.ts +70 -0
- package/dist/services/ui.d.ts.map +1 -0
- package/dist/services/ui.js +95 -0
- package/dist/services/ui.js.map +1 -0
- package/dist/services/update.d.ts +25 -0
- package/dist/services/update.d.ts.map +1 -0
- package/dist/services/update.js +36 -0
- package/dist/services/update.js.map +1 -0
- package/dist/services/userpass.d.ts +151 -0
- package/dist/services/userpass.d.ts.map +1 -0
- package/dist/services/userpass.js +177 -0
- package/dist/services/userpass.js.map +1 -0
- package/dist/services/version.d.ts +22 -0
- package/dist/services/version.d.ts.map +1 -0
- package/dist/services/version.js +28 -0
- package/dist/services/version.js.map +1 -0
- package/dist/services/workflows.d.ts +122 -0
- package/dist/services/workflows.d.ts.map +1 -0
- package/dist/services/workflows.js +149 -0
- package/dist/services/workflows.js.map +1 -0
- package/dist/traits.d.ts +11 -0
- package/dist/traits.d.ts.map +1 -0
- package/dist/traits.js +12 -0
- package/dist/traits.js.map +1 -0
- package/package.json +75 -0
- package/src/credentials.test.ts +36 -0
- package/src/credentials.ts +100 -0
- package/src/errors.ts +73 -0
- package/src/index.ts +33 -0
- package/src/protocol.test.ts +123 -0
- package/src/protocol.ts +120 -0
- package/src/retry.ts +84 -0
- package/src/services/alias.ts +208 -0
- package/src/services/approle.ts +2750 -0
- package/src/services/auditing.ts +318 -0
- package/src/services/auth.ts +416 -0
- package/src/services/collect.ts +103 -0
- package/src/services/configure.ts +94 -0
- package/src/services/cors.ts +155 -0
- package/src/services/cubbyhole.ts +117 -0
- package/src/services/database.ts +854 -0
- package/src/services/decode.ts +49 -0
- package/src/services/entity.ts +744 -0
- package/src/services/generate.ts +409 -0
- package/src/services/group.ts +677 -0
- package/src/services/ha.ts +52 -0
- package/src/services/index.ts +54 -0
- package/src/services/initialize.ts +76 -0
- package/src/services/internal.ts +425 -0
- package/src/services/jwt.ts +1838 -0
- package/src/services/kubernetes.ts +446 -0
- package/src/services/kv.ts +1480 -0
- package/src/services/leader.ts +57 -0
- package/src/services/leases.ts +532 -0
- package/src/services/locked.ts +86 -0
- package/src/services/loggers.ts +215 -0
- package/src/services/mfa.ts +1193 -0
- package/src/services/misc.ts +286 -0
- package/src/services/mounts.ts +428 -0
- package/src/services/namespaces.ts +707 -0
- package/src/services/oidc.ts +1613 -0
- package/src/services/persona.ts +210 -0
- package/src/services/pki.ts +13320 -0
- package/src/services/plugins.ts +549 -0
- package/src/services/policies.ts +689 -0
- package/src/services/pprof.ts +351 -0
- package/src/services/query.ts +170 -0
- package/src/services/rate.ts +303 -0
- package/src/services/raw.ts +244 -0
- package/src/services/read.ts +266 -0
- package/src/services/rekey.ts +540 -0
- package/src/services/reload.ts +51 -0
- package/src/services/remount.ts +58 -0
- package/src/services/root.ts +393 -0
- package/src/services/rotate.ts +1088 -0
- package/src/services/seal.ts +75 -0
- package/src/services/ssh.ts +1351 -0
- package/src/services/status.ts +51 -0
- package/src/services/step.ts +43 -0
- package/src/services/system.ts +98 -0
- package/src/services/token.ts +1046 -0
- package/src/services/ui.ts +207 -0
- package/src/services/update.ts +73 -0
- package/src/services/userpass.ts +410 -0
- package/src/services/version.ts +60 -0
- package/src/services/workflows.ts +327 -0
- package/src/traits.ts +45 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-openbao, generated — see fetch-specs.ts). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as T from "../traits.ts";
|
|
5
|
+
import {
|
|
6
|
+
OpenBaoProtocol,
|
|
7
|
+
type OpenBaoOpError,
|
|
8
|
+
type OpenBaoOpContext,
|
|
9
|
+
} from "../protocol.ts";
|
|
10
|
+
import * as Retry from "../retry.ts";
|
|
11
|
+
|
|
12
|
+
export type { OpenBaoOpError, OpenBaoOpContext };
|
|
13
|
+
|
|
14
|
+
export interface HaStatusRequest {}
|
|
15
|
+
export const HaStatusRequest = /*@__PURE__*/ S.suspend(() =>
|
|
16
|
+
S.Struct({}).pipe(
|
|
17
|
+
T.Http({ method: "GET", uri: "/sys/ha-status", code: 200 }),
|
|
18
|
+
),
|
|
19
|
+
).annotate({
|
|
20
|
+
identifier: "HaStatusRequest",
|
|
21
|
+
}) as any as S.Schema<HaStatusRequest>;
|
|
22
|
+
|
|
23
|
+
export type HaStatusResponseNodesList = Array<unknown>;
|
|
24
|
+
export const HaStatusResponseNodesList = /*@__PURE__*/ S.Array(
|
|
25
|
+
S.Unknown,
|
|
26
|
+
) as any as S.Schema<HaStatusResponseNodesList>;
|
|
27
|
+
|
|
28
|
+
export interface HaStatusResponse {
|
|
29
|
+
nodes?: HaStatusResponseNodesList;
|
|
30
|
+
}
|
|
31
|
+
export const HaStatusResponse = /*@__PURE__*/ S.suspend(() =>
|
|
32
|
+
S.Struct({
|
|
33
|
+
nodes: S.optional(HaStatusResponseNodesList),
|
|
34
|
+
}),
|
|
35
|
+
).annotate({
|
|
36
|
+
identifier: "HaStatusResponse",
|
|
37
|
+
}) as any as S.Schema<HaStatusResponse>;
|
|
38
|
+
|
|
39
|
+
export type HaStatusError = OpenBaoOpError;
|
|
40
|
+
/** Check the HA status of an OpenBao cluster */
|
|
41
|
+
export const haStatus: API.OperationMethod<
|
|
42
|
+
HaStatusRequest,
|
|
43
|
+
HaStatusResponse,
|
|
44
|
+
HaStatusError,
|
|
45
|
+
OpenBaoOpContext
|
|
46
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
47
|
+
input: HaStatusRequest,
|
|
48
|
+
output: HaStatusResponse,
|
|
49
|
+
errors: [],
|
|
50
|
+
protocol: OpenBaoProtocol,
|
|
51
|
+
retry: Retry.Retry,
|
|
52
|
+
}));
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts. Do not edit.
|
|
2
|
+
export * as alias from "./alias.ts";
|
|
3
|
+
export * as approle from "./approle.ts";
|
|
4
|
+
export * as auditing from "./auditing.ts";
|
|
5
|
+
export * as auth from "./auth.ts";
|
|
6
|
+
export * as collect from "./collect.ts";
|
|
7
|
+
export * as configure from "./configure.ts";
|
|
8
|
+
export * as cors from "./cors.ts";
|
|
9
|
+
export * as cubbyhole from "./cubbyhole.ts";
|
|
10
|
+
export * as database from "./database.ts";
|
|
11
|
+
export * as decode from "./decode.ts";
|
|
12
|
+
export * as entity from "./entity.ts";
|
|
13
|
+
export * as generate from "./generate.ts";
|
|
14
|
+
export * as group from "./group.ts";
|
|
15
|
+
export * as ha from "./ha.ts";
|
|
16
|
+
export * as initialize from "./initialize.ts";
|
|
17
|
+
export * as internal from "./internal.ts";
|
|
18
|
+
export * as jwt from "./jwt.ts";
|
|
19
|
+
export * as kubernetes from "./kubernetes.ts";
|
|
20
|
+
export * as kv from "./kv.ts";
|
|
21
|
+
export * as leader from "./leader.ts";
|
|
22
|
+
export * as leases from "./leases.ts";
|
|
23
|
+
export * as locked from "./locked.ts";
|
|
24
|
+
export * as loggers from "./loggers.ts";
|
|
25
|
+
export * as mfa from "./mfa.ts";
|
|
26
|
+
export * as misc from "./misc.ts";
|
|
27
|
+
export * as mounts from "./mounts.ts";
|
|
28
|
+
export * as namespaces from "./namespaces.ts";
|
|
29
|
+
export * as oidc from "./oidc.ts";
|
|
30
|
+
export * as persona from "./persona.ts";
|
|
31
|
+
export * as pki from "./pki.ts";
|
|
32
|
+
export * as plugins from "./plugins.ts";
|
|
33
|
+
export * as policies from "./policies.ts";
|
|
34
|
+
export * as pprof from "./pprof.ts";
|
|
35
|
+
export * as query from "./query.ts";
|
|
36
|
+
export * as rate from "./rate.ts";
|
|
37
|
+
export * as raw from "./raw.ts";
|
|
38
|
+
export * as read from "./read.ts";
|
|
39
|
+
export * as rekey from "./rekey.ts";
|
|
40
|
+
export * as reload from "./reload.ts";
|
|
41
|
+
export * as remount from "./remount.ts";
|
|
42
|
+
export * as root from "./root.ts";
|
|
43
|
+
export * as rotate from "./rotate.ts";
|
|
44
|
+
export * as seal from "./seal.ts";
|
|
45
|
+
export * as ssh from "./ssh.ts";
|
|
46
|
+
export * as status from "./status.ts";
|
|
47
|
+
export * as step from "./step.ts";
|
|
48
|
+
export * as system from "./system.ts";
|
|
49
|
+
export * as token from "./token.ts";
|
|
50
|
+
export * as ui from "./ui.ts";
|
|
51
|
+
export * as update from "./update.ts";
|
|
52
|
+
export * as userpass from "./userpass.ts";
|
|
53
|
+
export * as version from "./version.ts";
|
|
54
|
+
export * as workflows from "./workflows.ts";
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-openbao, generated — see fetch-specs.ts). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as T from "../traits.ts";
|
|
5
|
+
import {
|
|
6
|
+
OpenBaoProtocol,
|
|
7
|
+
type OpenBaoOpError,
|
|
8
|
+
type OpenBaoOpContext,
|
|
9
|
+
} from "../protocol.ts";
|
|
10
|
+
import * as Retry from "../retry.ts";
|
|
11
|
+
|
|
12
|
+
export type { OpenBaoOpError, OpenBaoOpContext };
|
|
13
|
+
|
|
14
|
+
/** Specifies an array of PGP public keys used to encrypt the output unseal keys. Ordering is preserved. The keys must be base64-encoded from their original binary representation. The size of this array must be the same as `secret_shares`. */
|
|
15
|
+
export type InitializeSystemRequestPgpKeysList = Array<string>;
|
|
16
|
+
export const InitializeSystemRequestPgpKeysList = /*@__PURE__*/ S.Array(
|
|
17
|
+
S.String,
|
|
18
|
+
) as any as S.Schema<InitializeSystemRequestPgpKeysList>;
|
|
19
|
+
|
|
20
|
+
/** Specifies an array of PGP public keys used to encrypt the output recovery keys. Ordering is preserved. The keys must be base64-encoded from their original binary representation. The size of this array must be the same as `recovery_shares`. */
|
|
21
|
+
export type InitializeSystemRequestRecoveryPgpKeysList = Array<string>;
|
|
22
|
+
export const InitializeSystemRequestRecoveryPgpKeysList = /*@__PURE__*/ S.Array(
|
|
23
|
+
S.String,
|
|
24
|
+
) as any as S.Schema<InitializeSystemRequestRecoveryPgpKeysList>;
|
|
25
|
+
|
|
26
|
+
export interface InitializeSystemRequest {
|
|
27
|
+
/** Specifies an array of PGP public keys used to encrypt the output unseal keys. Ordering is preserved. The keys must be base64-encoded from their original binary representation. The size of this array must be the same as `secret_shares`. */
|
|
28
|
+
pgp_keys?: InitializeSystemRequestPgpKeysList;
|
|
29
|
+
/** Specifies an array of PGP public keys used to encrypt the output recovery keys. Ordering is preserved. The keys must be base64-encoded from their original binary representation. The size of this array must be the same as `recovery_shares`. */
|
|
30
|
+
recovery_pgp_keys?: InitializeSystemRequestRecoveryPgpKeysList;
|
|
31
|
+
/** Specifies the number of shares to split the recovery key into. */
|
|
32
|
+
recovery_shares?: number;
|
|
33
|
+
/** Specifies the number of shares required to reconstruct the recovery key. This must be less than or equal to `recovery_shares`. */
|
|
34
|
+
recovery_threshold?: number;
|
|
35
|
+
/** Specifies a PGP public key used to encrypt the initial root token. The key must be base64-encoded from its original binary representation. */
|
|
36
|
+
root_token_pgp_key?: string;
|
|
37
|
+
/** Specifies the number of shares to split the unseal key into. */
|
|
38
|
+
secret_shares?: number;
|
|
39
|
+
/** Specifies the number of shares required to reconstruct the unseal key. This must be less than or equal secret_shares. If using OpenBao HSM with auto-unsealing, this value must be the same as `secret_shares`. */
|
|
40
|
+
secret_threshold?: number;
|
|
41
|
+
}
|
|
42
|
+
export const InitializeSystemRequest = /*@__PURE__*/ S.suspend(() =>
|
|
43
|
+
S.Struct({
|
|
44
|
+
pgp_keys: S.optional(InitializeSystemRequestPgpKeysList),
|
|
45
|
+
recovery_pgp_keys: S.optional(InitializeSystemRequestRecoveryPgpKeysList),
|
|
46
|
+
recovery_shares: S.optional(S.Number),
|
|
47
|
+
recovery_threshold: S.optional(S.Number),
|
|
48
|
+
root_token_pgp_key: S.optional(S.String),
|
|
49
|
+
secret_shares: S.optional(S.Number),
|
|
50
|
+
secret_threshold: S.optional(S.Number),
|
|
51
|
+
}).pipe(T.Http({ method: "POST", uri: "/sys/init", code: 200 })),
|
|
52
|
+
).annotate({
|
|
53
|
+
identifier: "InitializeSystemRequest",
|
|
54
|
+
}) as any as S.Schema<InitializeSystemRequest>;
|
|
55
|
+
|
|
56
|
+
export interface InitializeSystemResponse {}
|
|
57
|
+
export const InitializeSystemResponse = /*@__PURE__*/ S.suspend(() =>
|
|
58
|
+
S.Struct({}),
|
|
59
|
+
).annotate({
|
|
60
|
+
identifier: "InitializeSystemResponse",
|
|
61
|
+
}) as any as S.Schema<InitializeSystemResponse>;
|
|
62
|
+
|
|
63
|
+
export type InitializeSystemError = OpenBaoOpError;
|
|
64
|
+
/** Initialize a new OpenBao instance. The OpenBao instance must not have been previously initialized. The recovery options are only available when using Auto Unseal. */
|
|
65
|
+
export const initializeSystem: API.OperationMethod<
|
|
66
|
+
InitializeSystemRequest,
|
|
67
|
+
InitializeSystemResponse,
|
|
68
|
+
InitializeSystemError,
|
|
69
|
+
OpenBaoOpContext
|
|
70
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
71
|
+
input: InitializeSystemRequest,
|
|
72
|
+
output: InitializeSystemResponse,
|
|
73
|
+
errors: [],
|
|
74
|
+
protocol: OpenBaoProtocol,
|
|
75
|
+
retry: Retry.Retry,
|
|
76
|
+
}));
|
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-openbao, generated — see fetch-specs.ts). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as T from "../traits.ts";
|
|
5
|
+
import {
|
|
6
|
+
OpenBaoProtocol,
|
|
7
|
+
type OpenBaoOpError,
|
|
8
|
+
type OpenBaoOpContext,
|
|
9
|
+
} from "../protocol.ts";
|
|
10
|
+
import * as Retry from "../retry.ts";
|
|
11
|
+
|
|
12
|
+
export type { OpenBaoOpError, OpenBaoOpContext };
|
|
13
|
+
|
|
14
|
+
export interface InternalCountEntitiesRequest {}
|
|
15
|
+
export const InternalCountEntitiesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
16
|
+
S.Struct({}).pipe(
|
|
17
|
+
T.Http({
|
|
18
|
+
method: "GET",
|
|
19
|
+
uri: "/sys/internal/counters/entities",
|
|
20
|
+
code: 200,
|
|
21
|
+
}),
|
|
22
|
+
),
|
|
23
|
+
).annotate({
|
|
24
|
+
identifier: "InternalCountEntitiesRequest",
|
|
25
|
+
}) as any as S.Schema<InternalCountEntitiesRequest>;
|
|
26
|
+
|
|
27
|
+
export interface InternalCountEntitiesResponse {
|
|
28
|
+
counters?: unknown;
|
|
29
|
+
}
|
|
30
|
+
export const InternalCountEntitiesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
31
|
+
S.Struct({
|
|
32
|
+
counters: S.optional(S.Unknown),
|
|
33
|
+
}),
|
|
34
|
+
).annotate({
|
|
35
|
+
identifier: "InternalCountEntitiesResponse",
|
|
36
|
+
}) as any as S.Schema<InternalCountEntitiesResponse>;
|
|
37
|
+
|
|
38
|
+
export interface InternalCountTokensRequest {}
|
|
39
|
+
export const InternalCountTokensRequest = /*@__PURE__*/ S.suspend(() =>
|
|
40
|
+
S.Struct({}).pipe(
|
|
41
|
+
T.Http({ method: "GET", uri: "/sys/internal/counters/tokens", code: 200 }),
|
|
42
|
+
),
|
|
43
|
+
).annotate({
|
|
44
|
+
identifier: "InternalCountTokensRequest",
|
|
45
|
+
}) as any as S.Schema<InternalCountTokensRequest>;
|
|
46
|
+
|
|
47
|
+
export interface InternalCountTokensResponse {
|
|
48
|
+
counters?: unknown;
|
|
49
|
+
}
|
|
50
|
+
export const InternalCountTokensResponse = /*@__PURE__*/ S.suspend(() =>
|
|
51
|
+
S.Struct({
|
|
52
|
+
counters: S.optional(S.Unknown),
|
|
53
|
+
}),
|
|
54
|
+
).annotate({
|
|
55
|
+
identifier: "InternalCountTokensResponse",
|
|
56
|
+
}) as any as S.Schema<InternalCountTokensResponse>;
|
|
57
|
+
|
|
58
|
+
export interface InternalGenerateOpenApiDocumentRequest {
|
|
59
|
+
/** Use generic mount paths */
|
|
60
|
+
generic_mount_paths?: boolean;
|
|
61
|
+
}
|
|
62
|
+
export const InternalGenerateOpenApiDocumentRequest = /*@__PURE__*/ S.suspend(
|
|
63
|
+
() =>
|
|
64
|
+
S.Struct({
|
|
65
|
+
generic_mount_paths: S.optional(S.Boolean.pipe(T.Query())),
|
|
66
|
+
}).pipe(
|
|
67
|
+
T.Http({ method: "GET", uri: "/sys/internal/specs/openapi", code: 200 }),
|
|
68
|
+
),
|
|
69
|
+
).annotate({
|
|
70
|
+
identifier: "InternalGenerateOpenApiDocumentRequest",
|
|
71
|
+
}) as any as S.Schema<InternalGenerateOpenApiDocumentRequest>;
|
|
72
|
+
|
|
73
|
+
export interface InternalGenerateOpenApiDocumentResponse {}
|
|
74
|
+
export const InternalGenerateOpenApiDocumentResponse = /*@__PURE__*/ S.suspend(
|
|
75
|
+
() => S.Struct({}),
|
|
76
|
+
).annotate({
|
|
77
|
+
identifier: "InternalGenerateOpenApiDocumentResponse",
|
|
78
|
+
}) as any as S.Schema<InternalGenerateOpenApiDocumentResponse>;
|
|
79
|
+
|
|
80
|
+
export interface InternalGenerateOpenApiDocumentWithParametersRequest {
|
|
81
|
+
/** Use generic mount paths */
|
|
82
|
+
generic_mount_paths?: boolean;
|
|
83
|
+
/** Context string appended to every operationId */
|
|
84
|
+
context?: string;
|
|
85
|
+
}
|
|
86
|
+
export const InternalGenerateOpenApiDocumentWithParametersRequest =
|
|
87
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
88
|
+
S.Struct({
|
|
89
|
+
generic_mount_paths: S.optional(S.Boolean.pipe(T.Query())),
|
|
90
|
+
context: S.optional(S.String),
|
|
91
|
+
}).pipe(
|
|
92
|
+
T.Http({ method: "POST", uri: "/sys/internal/specs/openapi", code: 200 }),
|
|
93
|
+
),
|
|
94
|
+
).annotate({
|
|
95
|
+
identifier: "InternalGenerateOpenApiDocumentWithParametersRequest",
|
|
96
|
+
}) as any as S.Schema<InternalGenerateOpenApiDocumentWithParametersRequest>;
|
|
97
|
+
|
|
98
|
+
export interface InternalGenerateOpenApiDocumentWithParametersResponse {}
|
|
99
|
+
export const InternalGenerateOpenApiDocumentWithParametersResponse =
|
|
100
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
101
|
+
identifier: "InternalGenerateOpenApiDocumentWithParametersResponse",
|
|
102
|
+
}) as any as S.Schema<InternalGenerateOpenApiDocumentWithParametersResponse>;
|
|
103
|
+
|
|
104
|
+
export interface InternalInspectRequestRequest {}
|
|
105
|
+
export const InternalInspectRequestRequest = /*@__PURE__*/ S.suspend(() =>
|
|
106
|
+
S.Struct({}).pipe(
|
|
107
|
+
T.Http({ method: "GET", uri: "/sys/internal/inspect/request", code: 200 }),
|
|
108
|
+
),
|
|
109
|
+
).annotate({
|
|
110
|
+
identifier: "InternalInspectRequestRequest",
|
|
111
|
+
}) as any as S.Schema<InternalInspectRequestRequest>;
|
|
112
|
+
|
|
113
|
+
export interface InternalInspectRequestResponse {}
|
|
114
|
+
export const InternalInspectRequestResponse = /*@__PURE__*/ S.suspend(() =>
|
|
115
|
+
S.Struct({}),
|
|
116
|
+
).annotate({
|
|
117
|
+
identifier: "InternalInspectRequestResponse",
|
|
118
|
+
}) as any as S.Schema<InternalInspectRequestResponse>;
|
|
119
|
+
|
|
120
|
+
export interface InternalInspectRouterRequest {
|
|
121
|
+
/** Name of subtree being observed */
|
|
122
|
+
tag: string;
|
|
123
|
+
}
|
|
124
|
+
export const InternalInspectRouterRequest = /*@__PURE__*/ S.suspend(() =>
|
|
125
|
+
S.Struct({
|
|
126
|
+
tag: S.String.pipe(T.Label()),
|
|
127
|
+
}).pipe(
|
|
128
|
+
T.Http({
|
|
129
|
+
method: "GET",
|
|
130
|
+
uri: "/sys/internal/inspect/router/{tag}",
|
|
131
|
+
code: 200,
|
|
132
|
+
}),
|
|
133
|
+
),
|
|
134
|
+
).annotate({
|
|
135
|
+
identifier: "InternalInspectRouterRequest",
|
|
136
|
+
}) as any as S.Schema<InternalInspectRouterRequest>;
|
|
137
|
+
|
|
138
|
+
export interface InternalInspectRouterResponse {}
|
|
139
|
+
export const InternalInspectRouterResponse = /*@__PURE__*/ S.suspend(() =>
|
|
140
|
+
S.Struct({}),
|
|
141
|
+
).annotate({
|
|
142
|
+
identifier: "InternalInspectRouterResponse",
|
|
143
|
+
}) as any as S.Schema<InternalInspectRouterResponse>;
|
|
144
|
+
|
|
145
|
+
export interface InternalUiListEnabledVisibleMountsRequest {}
|
|
146
|
+
export const InternalUiListEnabledVisibleMountsRequest =
|
|
147
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
148
|
+
S.Struct({}).pipe(
|
|
149
|
+
T.Http({ method: "GET", uri: "/sys/internal/ui/mounts", code: 200 }),
|
|
150
|
+
),
|
|
151
|
+
).annotate({
|
|
152
|
+
identifier: "InternalUiListEnabledVisibleMountsRequest",
|
|
153
|
+
}) as any as S.Schema<InternalUiListEnabledVisibleMountsRequest>;
|
|
154
|
+
|
|
155
|
+
export interface InternalUiListEnabledVisibleMountsResponse {
|
|
156
|
+
/** auth mounts */
|
|
157
|
+
auth?: unknown;
|
|
158
|
+
/** secret mounts */
|
|
159
|
+
secret?: unknown;
|
|
160
|
+
}
|
|
161
|
+
export const InternalUiListEnabledVisibleMountsResponse =
|
|
162
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
163
|
+
S.Struct({
|
|
164
|
+
auth: S.optional(S.Unknown),
|
|
165
|
+
secret: S.optional(S.Unknown),
|
|
166
|
+
}),
|
|
167
|
+
).annotate({
|
|
168
|
+
identifier: "InternalUiListEnabledVisibleMountsResponse",
|
|
169
|
+
}) as any as S.Schema<InternalUiListEnabledVisibleMountsResponse>;
|
|
170
|
+
|
|
171
|
+
export interface InternalUiListNamespacesRequest {}
|
|
172
|
+
export const InternalUiListNamespacesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
173
|
+
S.Struct({}).pipe(
|
|
174
|
+
T.Http({ method: "GET", uri: "/sys/internal/ui/namespaces", code: 200 }),
|
|
175
|
+
),
|
|
176
|
+
).annotate({
|
|
177
|
+
identifier: "InternalUiListNamespacesRequest",
|
|
178
|
+
}) as any as S.Schema<InternalUiListNamespacesRequest>;
|
|
179
|
+
|
|
180
|
+
/** field is only returned if there are one or more namespaces */
|
|
181
|
+
export type InternalUiListNamespacesResponseKeysList = Array<string>;
|
|
182
|
+
export const InternalUiListNamespacesResponseKeysList = /*@__PURE__*/ S.Array(
|
|
183
|
+
S.String,
|
|
184
|
+
) as any as S.Schema<InternalUiListNamespacesResponseKeysList>;
|
|
185
|
+
|
|
186
|
+
export interface InternalUiListNamespacesResponse {
|
|
187
|
+
/** field is only returned if there are one or more namespaces */
|
|
188
|
+
keys?: InternalUiListNamespacesResponseKeysList;
|
|
189
|
+
}
|
|
190
|
+
export const InternalUiListNamespacesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
191
|
+
S.Struct({
|
|
192
|
+
keys: S.optional(InternalUiListNamespacesResponseKeysList),
|
|
193
|
+
}),
|
|
194
|
+
).annotate({
|
|
195
|
+
identifier: "InternalUiListNamespacesResponse",
|
|
196
|
+
}) as any as S.Schema<InternalUiListNamespacesResponse>;
|
|
197
|
+
|
|
198
|
+
export interface InternalUiReadMountInformationRequest {
|
|
199
|
+
/** The path of the mount. */
|
|
200
|
+
path: string;
|
|
201
|
+
}
|
|
202
|
+
export const InternalUiReadMountInformationRequest = /*@__PURE__*/ S.suspend(
|
|
203
|
+
() =>
|
|
204
|
+
S.Struct({
|
|
205
|
+
path: S.String.pipe(T.Label()),
|
|
206
|
+
}).pipe(
|
|
207
|
+
T.Http({
|
|
208
|
+
method: "GET",
|
|
209
|
+
uri: "/sys/internal/ui/mounts/{path}",
|
|
210
|
+
code: 200,
|
|
211
|
+
}),
|
|
212
|
+
),
|
|
213
|
+
).annotate({
|
|
214
|
+
identifier: "InternalUiReadMountInformationRequest",
|
|
215
|
+
}) as any as S.Schema<InternalUiReadMountInformationRequest>;
|
|
216
|
+
|
|
217
|
+
export interface InternalUiReadMountInformationResponse {
|
|
218
|
+
accessor?: string;
|
|
219
|
+
config?: unknown;
|
|
220
|
+
deprecation_status?: string;
|
|
221
|
+
description?: string;
|
|
222
|
+
external_entropy_access?: boolean;
|
|
223
|
+
local?: boolean;
|
|
224
|
+
options?: unknown;
|
|
225
|
+
path?: string;
|
|
226
|
+
plugin_version?: string;
|
|
227
|
+
running_plugin_version?: string;
|
|
228
|
+
running_sha256?: string;
|
|
229
|
+
seal_wrap?: boolean;
|
|
230
|
+
type?: string;
|
|
231
|
+
uuid?: string;
|
|
232
|
+
}
|
|
233
|
+
export const InternalUiReadMountInformationResponse = /*@__PURE__*/ S.suspend(
|
|
234
|
+
() =>
|
|
235
|
+
S.Struct({
|
|
236
|
+
accessor: S.optional(S.String),
|
|
237
|
+
config: S.optional(S.Unknown),
|
|
238
|
+
deprecation_status: S.optional(S.String),
|
|
239
|
+
description: S.optional(S.String),
|
|
240
|
+
external_entropy_access: S.optional(S.Boolean),
|
|
241
|
+
local: S.optional(S.Boolean),
|
|
242
|
+
options: S.optional(S.Unknown),
|
|
243
|
+
path: S.optional(S.String),
|
|
244
|
+
plugin_version: S.optional(S.String),
|
|
245
|
+
running_plugin_version: S.optional(S.String),
|
|
246
|
+
running_sha256: S.optional(S.String),
|
|
247
|
+
seal_wrap: S.optional(S.Boolean),
|
|
248
|
+
type: S.optional(S.String),
|
|
249
|
+
uuid: S.optional(S.String),
|
|
250
|
+
}),
|
|
251
|
+
).annotate({
|
|
252
|
+
identifier: "InternalUiReadMountInformationResponse",
|
|
253
|
+
}) as any as S.Schema<InternalUiReadMountInformationResponse>;
|
|
254
|
+
|
|
255
|
+
export interface InternalUiReadResultantAclRequest {}
|
|
256
|
+
export const InternalUiReadResultantAclRequest = /*@__PURE__*/ S.suspend(() =>
|
|
257
|
+
S.Struct({}).pipe(
|
|
258
|
+
T.Http({ method: "GET", uri: "/sys/internal/ui/resultant-acl", code: 200 }),
|
|
259
|
+
),
|
|
260
|
+
).annotate({
|
|
261
|
+
identifier: "InternalUiReadResultantAclRequest",
|
|
262
|
+
}) as any as S.Schema<InternalUiReadResultantAclRequest>;
|
|
263
|
+
|
|
264
|
+
export interface InternalUiReadResultantAclResponse {
|
|
265
|
+
exact_paths?: unknown;
|
|
266
|
+
glob_paths?: unknown;
|
|
267
|
+
root?: boolean;
|
|
268
|
+
}
|
|
269
|
+
export const InternalUiReadResultantAclResponse = /*@__PURE__*/ S.suspend(() =>
|
|
270
|
+
S.Struct({
|
|
271
|
+
exact_paths: S.optional(S.Unknown),
|
|
272
|
+
glob_paths: S.optional(S.Unknown),
|
|
273
|
+
root: S.optional(S.Boolean),
|
|
274
|
+
}),
|
|
275
|
+
).annotate({
|
|
276
|
+
identifier: "InternalUiReadResultantAclResponse",
|
|
277
|
+
}) as any as S.Schema<InternalUiReadResultantAclResponse>;
|
|
278
|
+
|
|
279
|
+
export type InternalCountEntitiesError = OpenBaoOpError;
|
|
280
|
+
/** Backwards compatibility is not guaranteed for this API */
|
|
281
|
+
export const internalCountEntities: API.OperationMethod<
|
|
282
|
+
InternalCountEntitiesRequest,
|
|
283
|
+
InternalCountEntitiesResponse,
|
|
284
|
+
InternalCountEntitiesError,
|
|
285
|
+
OpenBaoOpContext
|
|
286
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
287
|
+
input: InternalCountEntitiesRequest,
|
|
288
|
+
output: InternalCountEntitiesResponse,
|
|
289
|
+
errors: [],
|
|
290
|
+
protocol: OpenBaoProtocol,
|
|
291
|
+
retry: Retry.Retry,
|
|
292
|
+
}));
|
|
293
|
+
|
|
294
|
+
export type InternalCountTokensError = OpenBaoOpError;
|
|
295
|
+
/** Backwards compatibility is not guaranteed for this API */
|
|
296
|
+
export const internalCountTokens: API.OperationMethod<
|
|
297
|
+
InternalCountTokensRequest,
|
|
298
|
+
InternalCountTokensResponse,
|
|
299
|
+
InternalCountTokensError,
|
|
300
|
+
OpenBaoOpContext
|
|
301
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
302
|
+
input: InternalCountTokensRequest,
|
|
303
|
+
output: InternalCountTokensResponse,
|
|
304
|
+
errors: [],
|
|
305
|
+
protocol: OpenBaoProtocol,
|
|
306
|
+
retry: Retry.Retry,
|
|
307
|
+
}));
|
|
308
|
+
|
|
309
|
+
export type InternalGenerateOpenApiDocumentError = OpenBaoOpError;
|
|
310
|
+
export const internalGenerateOpenApiDocument: API.OperationMethod<
|
|
311
|
+
InternalGenerateOpenApiDocumentRequest,
|
|
312
|
+
InternalGenerateOpenApiDocumentResponse,
|
|
313
|
+
InternalGenerateOpenApiDocumentError,
|
|
314
|
+
OpenBaoOpContext
|
|
315
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
316
|
+
input: InternalGenerateOpenApiDocumentRequest,
|
|
317
|
+
output: InternalGenerateOpenApiDocumentResponse,
|
|
318
|
+
errors: [],
|
|
319
|
+
protocol: OpenBaoProtocol,
|
|
320
|
+
retry: Retry.Retry,
|
|
321
|
+
}));
|
|
322
|
+
|
|
323
|
+
export type InternalGenerateOpenApiDocumentWithParametersError = OpenBaoOpError;
|
|
324
|
+
export const internalGenerateOpenApiDocumentWithParameters: API.OperationMethod<
|
|
325
|
+
InternalGenerateOpenApiDocumentWithParametersRequest,
|
|
326
|
+
InternalGenerateOpenApiDocumentWithParametersResponse,
|
|
327
|
+
InternalGenerateOpenApiDocumentWithParametersError,
|
|
328
|
+
OpenBaoOpContext
|
|
329
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
330
|
+
input: InternalGenerateOpenApiDocumentWithParametersRequest,
|
|
331
|
+
output: InternalGenerateOpenApiDocumentWithParametersResponse,
|
|
332
|
+
errors: [],
|
|
333
|
+
protocol: OpenBaoProtocol,
|
|
334
|
+
retry: Retry.Retry,
|
|
335
|
+
}));
|
|
336
|
+
|
|
337
|
+
export type InternalInspectRequestError = OpenBaoOpError;
|
|
338
|
+
/** Expose all request information to the caller */
|
|
339
|
+
export const internalInspectRequest: API.OperationMethod<
|
|
340
|
+
InternalInspectRequestRequest,
|
|
341
|
+
InternalInspectRequestResponse,
|
|
342
|
+
InternalInspectRequestError,
|
|
343
|
+
OpenBaoOpContext
|
|
344
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
345
|
+
input: InternalInspectRequestRequest,
|
|
346
|
+
output: InternalInspectRequestResponse,
|
|
347
|
+
errors: [],
|
|
348
|
+
protocol: OpenBaoProtocol,
|
|
349
|
+
retry: Retry.Retry,
|
|
350
|
+
}));
|
|
351
|
+
|
|
352
|
+
export type InternalInspectRouterError = OpenBaoOpError;
|
|
353
|
+
/** Expose the route entry and mount entry tables present in the router */
|
|
354
|
+
export const internalInspectRouter: API.OperationMethod<
|
|
355
|
+
InternalInspectRouterRequest,
|
|
356
|
+
InternalInspectRouterResponse,
|
|
357
|
+
InternalInspectRouterError,
|
|
358
|
+
OpenBaoOpContext
|
|
359
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
360
|
+
input: InternalInspectRouterRequest,
|
|
361
|
+
output: InternalInspectRouterResponse,
|
|
362
|
+
errors: [],
|
|
363
|
+
protocol: OpenBaoProtocol,
|
|
364
|
+
retry: Retry.Retry,
|
|
365
|
+
}));
|
|
366
|
+
|
|
367
|
+
export type InternalUiListEnabledVisibleMountsError = OpenBaoOpError;
|
|
368
|
+
/** Lists all enabled and visible auth and secrets mounts. */
|
|
369
|
+
export const internalUiListEnabledVisibleMounts: API.OperationMethod<
|
|
370
|
+
InternalUiListEnabledVisibleMountsRequest,
|
|
371
|
+
InternalUiListEnabledVisibleMountsResponse,
|
|
372
|
+
InternalUiListEnabledVisibleMountsError,
|
|
373
|
+
OpenBaoOpContext
|
|
374
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
375
|
+
input: InternalUiListEnabledVisibleMountsRequest,
|
|
376
|
+
output: InternalUiListEnabledVisibleMountsResponse,
|
|
377
|
+
errors: [],
|
|
378
|
+
protocol: OpenBaoProtocol,
|
|
379
|
+
retry: Retry.Retry,
|
|
380
|
+
}));
|
|
381
|
+
|
|
382
|
+
export type InternalUiListNamespacesError = OpenBaoOpError;
|
|
383
|
+
/** Backwards compatibility is not guaranteed for this API */
|
|
384
|
+
export const internalUiListNamespaces: API.OperationMethod<
|
|
385
|
+
InternalUiListNamespacesRequest,
|
|
386
|
+
InternalUiListNamespacesResponse,
|
|
387
|
+
InternalUiListNamespacesError,
|
|
388
|
+
OpenBaoOpContext
|
|
389
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
390
|
+
input: InternalUiListNamespacesRequest,
|
|
391
|
+
output: InternalUiListNamespacesResponse,
|
|
392
|
+
errors: [],
|
|
393
|
+
protocol: OpenBaoProtocol,
|
|
394
|
+
retry: Retry.Retry,
|
|
395
|
+
}));
|
|
396
|
+
|
|
397
|
+
export type InternalUiReadMountInformationError = OpenBaoOpError;
|
|
398
|
+
/** Return information about the given mount. */
|
|
399
|
+
export const internalUiReadMountInformation: API.OperationMethod<
|
|
400
|
+
InternalUiReadMountInformationRequest,
|
|
401
|
+
InternalUiReadMountInformationResponse,
|
|
402
|
+
InternalUiReadMountInformationError,
|
|
403
|
+
OpenBaoOpContext
|
|
404
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
405
|
+
input: InternalUiReadMountInformationRequest,
|
|
406
|
+
output: InternalUiReadMountInformationResponse,
|
|
407
|
+
errors: [],
|
|
408
|
+
protocol: OpenBaoProtocol,
|
|
409
|
+
retry: Retry.Retry,
|
|
410
|
+
}));
|
|
411
|
+
|
|
412
|
+
export type InternalUiReadResultantAclError = OpenBaoOpError;
|
|
413
|
+
/** Backwards compatibility is not guaranteed for this API */
|
|
414
|
+
export const internalUiReadResultantAcl: API.OperationMethod<
|
|
415
|
+
InternalUiReadResultantAclRequest,
|
|
416
|
+
InternalUiReadResultantAclResponse,
|
|
417
|
+
InternalUiReadResultantAclError,
|
|
418
|
+
OpenBaoOpContext
|
|
419
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
420
|
+
input: InternalUiReadResultantAclRequest,
|
|
421
|
+
output: InternalUiReadResultantAclResponse,
|
|
422
|
+
errors: [],
|
|
423
|
+
protocol: OpenBaoProtocol,
|
|
424
|
+
retry: Retry.Retry,
|
|
425
|
+
}));
|