@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,129 @@
|
|
|
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.js";
|
|
5
|
+
import { OpenBaoProtocol, } from "../protocol.js";
|
|
6
|
+
import * as Retry from "../retry.js";
|
|
7
|
+
export const DeleteRateLimitQuotasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
8
|
+
name: S.String.pipe(T.Label()),
|
|
9
|
+
}).pipe(T.Http({
|
|
10
|
+
method: "DELETE",
|
|
11
|
+
uri: "/sys/quotas/rate-limit/{name}",
|
|
12
|
+
code: 200,
|
|
13
|
+
}))).annotate({
|
|
14
|
+
identifier: "DeleteRateLimitQuotasRequest",
|
|
15
|
+
});
|
|
16
|
+
export const DeleteRateLimitQuotasResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
17
|
+
identifier: "DeleteRateLimitQuotasResponse",
|
|
18
|
+
});
|
|
19
|
+
export const ListRateLimitQuotasRequestList = S.String;
|
|
20
|
+
export const ListRateLimitQuotasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
21
|
+
list: ListRateLimitQuotasRequestList.pipe(T.Query()),
|
|
22
|
+
}).pipe(T.Http({ method: "GET", uri: "/sys/quotas/rate-limit", code: 200 }))).annotate({
|
|
23
|
+
identifier: "ListRateLimitQuotasRequest",
|
|
24
|
+
});
|
|
25
|
+
export const RateLimitQuotasListResponseKeysList = /*@__PURE__*/ S.Array(S.String);
|
|
26
|
+
export const RateLimitQuotasListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
27
|
+
keys: S.optional(RateLimitQuotasListResponseKeysList),
|
|
28
|
+
})).annotate({
|
|
29
|
+
identifier: "RateLimitQuotasListResponse",
|
|
30
|
+
});
|
|
31
|
+
export const RateLimitQuotasConfigureRequestRateLimitExemptPathsList =
|
|
32
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
33
|
+
export const RateLimitQuotasConfigureRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
34
|
+
enable_rate_limit_audit_logging: S.optional(S.Boolean),
|
|
35
|
+
enable_rate_limit_response_headers: S.optional(S.Boolean),
|
|
36
|
+
rate_limit_exempt_paths: S.optional(RateLimitQuotasConfigureRequestRateLimitExemptPathsList),
|
|
37
|
+
}).pipe(T.Http({ method: "POST", uri: "/sys/quotas/config", code: 200 }))).annotate({
|
|
38
|
+
identifier: "RateLimitQuotasConfigureRequest",
|
|
39
|
+
});
|
|
40
|
+
export const RateLimitQuotasConfigureResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
41
|
+
identifier: "RateLimitQuotasConfigureResponse",
|
|
42
|
+
});
|
|
43
|
+
export const RateLimitQuotasReadConfigurationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/quotas/config", code: 200 }))).annotate({
|
|
44
|
+
identifier: "RateLimitQuotasReadConfigurationRequest",
|
|
45
|
+
});
|
|
46
|
+
export const RateLimitQuotasReadConfigurationResponseRateLimitExemptPathsList =
|
|
47
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
48
|
+
export const RateLimitQuotasReadConfigurationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
49
|
+
enable_rate_limit_audit_logging: S.optional(S.Boolean),
|
|
50
|
+
enable_rate_limit_response_headers: S.optional(S.Boolean),
|
|
51
|
+
rate_limit_exempt_paths: S.optional(RateLimitQuotasReadConfigurationResponseRateLimitExemptPathsList),
|
|
52
|
+
})).annotate({
|
|
53
|
+
identifier: "RateLimitQuotasReadConfigurationResponse",
|
|
54
|
+
});
|
|
55
|
+
export const RateLimitQuotasWriteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
56
|
+
name: S.String.pipe(T.Label()),
|
|
57
|
+
block_interval: S.optional(S.Number),
|
|
58
|
+
inheritable: S.optional(S.Boolean),
|
|
59
|
+
interval: S.optional(S.Number),
|
|
60
|
+
path: S.optional(S.String),
|
|
61
|
+
rate: S.optional(S.Number),
|
|
62
|
+
role: S.optional(S.String),
|
|
63
|
+
type: S.optional(S.String),
|
|
64
|
+
}).pipe(T.Http({ method: "POST", uri: "/sys/quotas/rate-limit/{name}", code: 200 }))).annotate({
|
|
65
|
+
identifier: "RateLimitQuotasWriteRequest",
|
|
66
|
+
});
|
|
67
|
+
export const RateLimitQuotasWriteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
68
|
+
identifier: "RateLimitQuotasWriteResponse",
|
|
69
|
+
});
|
|
70
|
+
export const ReadRateLimitQuotasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
71
|
+
name: S.String.pipe(T.Label()),
|
|
72
|
+
}).pipe(T.Http({ method: "GET", uri: "/sys/quotas/rate-limit/{name}", code: 200 }))).annotate({
|
|
73
|
+
identifier: "ReadRateLimitQuotasRequest",
|
|
74
|
+
});
|
|
75
|
+
export const RateLimitQuotasReadResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
76
|
+
block_interval: S.optional(S.Number),
|
|
77
|
+
inheritable: S.optional(S.Boolean),
|
|
78
|
+
interval: S.optional(S.Number),
|
|
79
|
+
name: S.optional(S.String),
|
|
80
|
+
path: S.optional(S.String),
|
|
81
|
+
rate: S.optional(S.Number),
|
|
82
|
+
role: S.optional(S.String),
|
|
83
|
+
type: S.optional(S.String),
|
|
84
|
+
})).annotate({
|
|
85
|
+
identifier: "RateLimitQuotasReadResponse",
|
|
86
|
+
});
|
|
87
|
+
export const deleteRateLimitQuotas = /*@__PURE__*/ API.make(() => ({
|
|
88
|
+
input: DeleteRateLimitQuotasRequest,
|
|
89
|
+
output: DeleteRateLimitQuotasResponse,
|
|
90
|
+
errors: [],
|
|
91
|
+
protocol: OpenBaoProtocol,
|
|
92
|
+
retry: Retry.Retry,
|
|
93
|
+
}));
|
|
94
|
+
export const listRateLimitQuotas = /*@__PURE__*/ API.make(() => ({
|
|
95
|
+
input: ListRateLimitQuotasRequest,
|
|
96
|
+
output: RateLimitQuotasListResponse,
|
|
97
|
+
errors: [],
|
|
98
|
+
protocol: OpenBaoProtocol,
|
|
99
|
+
retry: Retry.Retry,
|
|
100
|
+
}));
|
|
101
|
+
export const rateLimitQuotasConfigure = /*@__PURE__*/ API.make(() => ({
|
|
102
|
+
input: RateLimitQuotasConfigureRequest,
|
|
103
|
+
output: RateLimitQuotasConfigureResponse,
|
|
104
|
+
errors: [],
|
|
105
|
+
protocol: OpenBaoProtocol,
|
|
106
|
+
retry: Retry.Retry,
|
|
107
|
+
}));
|
|
108
|
+
export const rateLimitQuotasReadConfiguration = /*@__PURE__*/ API.make(() => ({
|
|
109
|
+
input: RateLimitQuotasReadConfigurationRequest,
|
|
110
|
+
output: RateLimitQuotasReadConfigurationResponse,
|
|
111
|
+
errors: [],
|
|
112
|
+
protocol: OpenBaoProtocol,
|
|
113
|
+
retry: Retry.Retry,
|
|
114
|
+
}));
|
|
115
|
+
export const rateLimitQuotasWrite = /*@__PURE__*/ API.make(() => ({
|
|
116
|
+
input: RateLimitQuotasWriteRequest,
|
|
117
|
+
output: RateLimitQuotasWriteResponse,
|
|
118
|
+
errors: [],
|
|
119
|
+
protocol: OpenBaoProtocol,
|
|
120
|
+
retry: Retry.Retry,
|
|
121
|
+
}));
|
|
122
|
+
export const readRateLimitQuotas = /*@__PURE__*/ API.make(() => ({
|
|
123
|
+
input: ReadRateLimitQuotasRequest,
|
|
124
|
+
output: RateLimitQuotasReadResponse,
|
|
125
|
+
errors: [],
|
|
126
|
+
protocol: OpenBaoProtocol,
|
|
127
|
+
retry: Retry.Retry,
|
|
128
|
+
}));
|
|
129
|
+
//# sourceMappingURL=rate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rate.js","sourceRoot":"","sources":["../../src/services/rate.ts"],"names":[],"mappings":"AAAA,wIAAwI;AACxI,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EACL,eAAe,GAGhB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAQrC,MAAM,CAAC,MAAM,4BAA4B,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CACvE,CAAC,CAAC,MAAM,CAAC;IACP,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC;CAC/B,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,+BAA+B;IACpC,IAAI,EAAE,GAAG;CACV,CAAC,CACH,CACF,CAAC,QAAQ,CAAC;IACT,UAAU,EAAE,8BAA8B;CAC3C,CAAkD,CAAC;AAGpD,MAAM,CAAC,MAAM,6BAA6B,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CACxE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CACb,CAAC,QAAQ,CAAC;IACT,UAAU,EAAE,+BAA+B;CAC5C,CAAmD,CAAC;AAGrD,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;AAMvD,MAAM,CAAC,MAAM,0BAA0B,GAAG,aAAa,CAAC,CAAC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EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
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 DeleteRawRequest {
|
|
6
|
+
}
|
|
7
|
+
export declare const DeleteRawRequest: S.Schema<DeleteRawRequest>;
|
|
8
|
+
export interface DeleteRawResponse {
|
|
9
|
+
}
|
|
10
|
+
export declare const DeleteRawResponse: S.Schema<DeleteRawResponse>;
|
|
11
|
+
export interface RawDeletePathRequest {
|
|
12
|
+
path: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const RawDeletePathRequest: S.Schema<RawDeletePathRequest>;
|
|
15
|
+
export interface RawDeletePathResponse {
|
|
16
|
+
}
|
|
17
|
+
export declare const RawDeletePathResponse: S.Schema<RawDeletePathResponse>;
|
|
18
|
+
export interface RawReadPathRequest {
|
|
19
|
+
path: string;
|
|
20
|
+
/** Return a list if `true` */
|
|
21
|
+
list?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const RawReadPathRequest: S.Schema<RawReadPathRequest>;
|
|
24
|
+
export interface RawReadPathResponse {
|
|
25
|
+
value?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare const RawReadPathResponse: S.Schema<RawReadPathResponse>;
|
|
28
|
+
export interface RawWriteRequest {
|
|
29
|
+
/** Optional entry to list begin listing after, not required to exist. Only used in list operations. */
|
|
30
|
+
after?: string;
|
|
31
|
+
compressed?: boolean;
|
|
32
|
+
compression_type?: string;
|
|
33
|
+
encoding?: string;
|
|
34
|
+
/** Optional number of entries to return; defaults to all entries. Only used in list operations. */
|
|
35
|
+
limit?: number;
|
|
36
|
+
path?: string;
|
|
37
|
+
value?: string;
|
|
38
|
+
}
|
|
39
|
+
export declare const RawWriteRequest: S.Schema<RawWriteRequest>;
|
|
40
|
+
export interface RawWriteResponse {
|
|
41
|
+
}
|
|
42
|
+
export declare const RawWriteResponse: S.Schema<RawWriteResponse>;
|
|
43
|
+
export interface RawWritePathRequest {
|
|
44
|
+
path: string;
|
|
45
|
+
/** Optional entry to list begin listing after, not required to exist. Only used in list operations. */
|
|
46
|
+
after?: string;
|
|
47
|
+
compressed?: boolean;
|
|
48
|
+
compression_type?: string;
|
|
49
|
+
encoding?: string;
|
|
50
|
+
/** Optional number of entries to return; defaults to all entries. Only used in list operations. */
|
|
51
|
+
limit?: number;
|
|
52
|
+
value?: string;
|
|
53
|
+
}
|
|
54
|
+
export declare const RawWritePathRequest: S.Schema<RawWritePathRequest>;
|
|
55
|
+
export interface RawWritePathResponse {
|
|
56
|
+
}
|
|
57
|
+
export declare const RawWritePathResponse: S.Schema<RawWritePathResponse>;
|
|
58
|
+
export interface ReadRawRequest {
|
|
59
|
+
/** Return a list if `true` */
|
|
60
|
+
list?: string;
|
|
61
|
+
}
|
|
62
|
+
export declare const ReadRawRequest: S.Schema<ReadRawRequest>;
|
|
63
|
+
export interface RawReadResponse {
|
|
64
|
+
value?: string;
|
|
65
|
+
}
|
|
66
|
+
export declare const RawReadResponse: S.Schema<RawReadResponse>;
|
|
67
|
+
export type DeleteRawError = OpenBaoOpError;
|
|
68
|
+
/** Delete the key with given path. */
|
|
69
|
+
export declare const deleteRaw: API.OperationMethod<DeleteRawRequest, DeleteRawResponse, DeleteRawError, OpenBaoOpContext>;
|
|
70
|
+
export type RawDeletePathError = OpenBaoOpError;
|
|
71
|
+
/** Delete the key with given path. */
|
|
72
|
+
export declare const rawDeletePath: API.OperationMethod<RawDeletePathRequest, RawDeletePathResponse, RawDeletePathError, OpenBaoOpContext>;
|
|
73
|
+
export type RawReadPathError = OpenBaoOpError;
|
|
74
|
+
/** Read the value of the key at the given path. */
|
|
75
|
+
export declare const rawReadPath: API.OperationMethod<RawReadPathRequest, RawReadPathResponse, RawReadPathError, OpenBaoOpContext>;
|
|
76
|
+
export type RawWriteError = OpenBaoOpError;
|
|
77
|
+
/** Update the value of the key at the given path. */
|
|
78
|
+
export declare const rawWrite: API.OperationMethod<RawWriteRequest, RawWriteResponse, RawWriteError, OpenBaoOpContext>;
|
|
79
|
+
export type RawWritePathError = OpenBaoOpError;
|
|
80
|
+
/** Update the value of the key at the given path. */
|
|
81
|
+
export declare const rawWritePath: API.OperationMethod<RawWritePathRequest, RawWritePathResponse, RawWritePathError, OpenBaoOpContext>;
|
|
82
|
+
export type ReadRawError = OpenBaoOpError;
|
|
83
|
+
/** Read the value of the key at the given path. */
|
|
84
|
+
export declare const readRaw: API.OperationMethod<ReadRawRequest, RawReadResponse, ReadRawError, OpenBaoOpContext>;
|
|
85
|
+
//# sourceMappingURL=raw.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"raw.d.ts","sourceRoot":"","sources":["../../src/services/raw.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAEjD,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAC;AAEjD,MAAM,WAAW,gBAAgB;CAAG;AACpC,eAAO,MAAM,gBAAgB,EAIhB,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAExC,MAAM,WAAW,iBAAiB;CAAG;AACrC,eAAO,MAAM,iBAAiB,EAIjB,CAAC,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAEzC,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;CACd;AACD,eAAO,MAAM,oBAAoB,EAMpB,CAAC,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;AAE5C,MAAM,WAAW,qBAAqB;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C/C,qDAAqD;AACrD,eAAO,MAAM,YAAY,EAAE,GAAG,CAAC,eAAe,CAC5C,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,CAOf,CAAC;AAEJ,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC;AAC1C,mDAAmD;AACnD,eAAO,MAAM,OAAO,EAAE,GAAG,CAAC,eAAe,CACvC,cAAc,EACd,eAAe,EACf,YAAY,EACZ,gBAAgB,CAOf,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
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.js";
|
|
5
|
+
import { OpenBaoProtocol, } from "../protocol.js";
|
|
6
|
+
import * as Retry from "../retry.js";
|
|
7
|
+
export const DeleteRawRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "DELETE", uri: "/sys/raw", code: 200 }))).annotate({
|
|
8
|
+
identifier: "DeleteRawRequest",
|
|
9
|
+
});
|
|
10
|
+
export const DeleteRawResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
11
|
+
identifier: "DeleteRawResponse",
|
|
12
|
+
});
|
|
13
|
+
export const RawDeletePathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
14
|
+
path: S.String.pipe(T.Label()),
|
|
15
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/sys/raw/{path}", code: 200 }))).annotate({
|
|
16
|
+
identifier: "RawDeletePathRequest",
|
|
17
|
+
});
|
|
18
|
+
export const RawDeletePathResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
19
|
+
identifier: "RawDeletePathResponse",
|
|
20
|
+
});
|
|
21
|
+
export const RawReadPathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
22
|
+
path: S.String.pipe(T.Label()),
|
|
23
|
+
list: S.optional(S.String.pipe(T.Query())),
|
|
24
|
+
}).pipe(T.Http({ method: "GET", uri: "/sys/raw/{path}", code: 200 }))).annotate({
|
|
25
|
+
identifier: "RawReadPathRequest",
|
|
26
|
+
});
|
|
27
|
+
export const RawReadPathResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
28
|
+
value: S.optional(S.String),
|
|
29
|
+
})).annotate({
|
|
30
|
+
identifier: "RawReadPathResponse",
|
|
31
|
+
});
|
|
32
|
+
export const RawWriteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
33
|
+
after: S.optional(S.String),
|
|
34
|
+
compressed: S.optional(S.Boolean),
|
|
35
|
+
compression_type: S.optional(S.String),
|
|
36
|
+
encoding: S.optional(S.String),
|
|
37
|
+
limit: S.optional(S.Number),
|
|
38
|
+
path: S.optional(S.String),
|
|
39
|
+
value: S.optional(S.String),
|
|
40
|
+
}).pipe(T.Http({ method: "POST", uri: "/sys/raw", code: 200 }))).annotate({
|
|
41
|
+
identifier: "RawWriteRequest",
|
|
42
|
+
});
|
|
43
|
+
export const RawWriteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
44
|
+
identifier: "RawWriteResponse",
|
|
45
|
+
});
|
|
46
|
+
export const RawWritePathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
47
|
+
path: S.String.pipe(T.Label()),
|
|
48
|
+
after: S.optional(S.String),
|
|
49
|
+
compressed: S.optional(S.Boolean),
|
|
50
|
+
compression_type: S.optional(S.String),
|
|
51
|
+
encoding: S.optional(S.String),
|
|
52
|
+
limit: S.optional(S.Number),
|
|
53
|
+
value: S.optional(S.String),
|
|
54
|
+
}).pipe(T.Http({ method: "POST", uri: "/sys/raw/{path}", code: 200 }))).annotate({
|
|
55
|
+
identifier: "RawWritePathRequest",
|
|
56
|
+
});
|
|
57
|
+
export const RawWritePathResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
58
|
+
identifier: "RawWritePathResponse",
|
|
59
|
+
});
|
|
60
|
+
export const ReadRawRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
61
|
+
list: S.optional(S.String.pipe(T.Query())),
|
|
62
|
+
}).pipe(T.Http({ method: "GET", uri: "/sys/raw", code: 200 }))).annotate({ identifier: "ReadRawRequest" });
|
|
63
|
+
export const RawReadResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
64
|
+
value: S.optional(S.String),
|
|
65
|
+
})).annotate({
|
|
66
|
+
identifier: "RawReadResponse",
|
|
67
|
+
});
|
|
68
|
+
/** Delete the key with given path. */
|
|
69
|
+
export const deleteRaw = /*@__PURE__*/ API.make(() => ({
|
|
70
|
+
input: DeleteRawRequest,
|
|
71
|
+
output: DeleteRawResponse,
|
|
72
|
+
errors: [],
|
|
73
|
+
protocol: OpenBaoProtocol,
|
|
74
|
+
retry: Retry.Retry,
|
|
75
|
+
}));
|
|
76
|
+
/** Delete the key with given path. */
|
|
77
|
+
export const rawDeletePath = /*@__PURE__*/ API.make(() => ({
|
|
78
|
+
input: RawDeletePathRequest,
|
|
79
|
+
output: RawDeletePathResponse,
|
|
80
|
+
errors: [],
|
|
81
|
+
protocol: OpenBaoProtocol,
|
|
82
|
+
retry: Retry.Retry,
|
|
83
|
+
}));
|
|
84
|
+
/** Read the value of the key at the given path. */
|
|
85
|
+
export const rawReadPath = /*@__PURE__*/ API.make(() => ({
|
|
86
|
+
input: RawReadPathRequest,
|
|
87
|
+
output: RawReadPathResponse,
|
|
88
|
+
errors: [],
|
|
89
|
+
protocol: OpenBaoProtocol,
|
|
90
|
+
retry: Retry.Retry,
|
|
91
|
+
}));
|
|
92
|
+
/** Update the value of the key at the given path. */
|
|
93
|
+
export const rawWrite = /*@__PURE__*/ API.make(() => ({
|
|
94
|
+
input: RawWriteRequest,
|
|
95
|
+
output: RawWriteResponse,
|
|
96
|
+
errors: [],
|
|
97
|
+
protocol: OpenBaoProtocol,
|
|
98
|
+
retry: Retry.Retry,
|
|
99
|
+
}));
|
|
100
|
+
/** Update the value of the key at the given path. */
|
|
101
|
+
export const rawWritePath = /*@__PURE__*/ API.make(() => ({
|
|
102
|
+
input: RawWritePathRequest,
|
|
103
|
+
output: RawWritePathResponse,
|
|
104
|
+
errors: [],
|
|
105
|
+
protocol: OpenBaoProtocol,
|
|
106
|
+
retry: Retry.Retry,
|
|
107
|
+
}));
|
|
108
|
+
/** Read the value of the key at the given path. */
|
|
109
|
+
export const readRaw = /*@__PURE__*/ API.make(() => ({
|
|
110
|
+
input: ReadRawRequest,
|
|
111
|
+
output: RawReadResponse,
|
|
112
|
+
errors: [],
|
|
113
|
+
protocol: OpenBaoProtocol,
|
|
114
|
+
retry: Retry.Retry,
|
|
115
|
+
}));
|
|
116
|
+
//# sourceMappingURL=raw.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"raw.js","sourceRoot":"","sources":["../../src/services/raw.ts"],"names":[],"mappings":"AAAA,wIAAwI;AACxI,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EACL,eAAe,GAGhB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAKrC,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAC3D,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,CAC5E,CAAC,QAAQ,CAAC;IACT,UAAU,EAAE,kBAAkB;CAC/B,CAAsC,CAAC;AAGxC,MAAM,CAAC,MAAM,i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MAAM,CAAC,MAAM,WAAW,GAKpB,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,kBAAkB;IACzB,MAAM,EAAE,mBAAmB;IAC3B,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAGJ,qDAAqD;AACrD,MAAM,CAAC,MAAM,QAAQ,GAKjB,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,eAAe;IACtB,MAAM,EAAE,gBAAgB;IACxB,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAGJ,qDAAqD;AACrD,MAAM,CAAC,MAAM,YAAY,GAKrB,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,mBAAmB;IAC1B,MAAM,EAAE,oBAAoB;IAC5B,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAGJ,mDAAmD;AACnD,MAAM,CAAC,MAAM,OAAO,GAKhB,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,cAAc;IACrB,MAAM,EAAE,eAAe;IACvB,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
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 ReadEncryptionKeyConfigRequest {
|
|
6
|
+
}
|
|
7
|
+
export declare const ReadEncryptionKeyConfigRequest: S.Schema<ReadEncryptionKeyConfigRequest>;
|
|
8
|
+
export interface ReadEncryptionKeyConfigResponse {
|
|
9
|
+
/** Whether automatic rotation is enabled. */
|
|
10
|
+
enabled?: boolean;
|
|
11
|
+
/** How long after installation of an active key term that the key will be automatically rotated. */
|
|
12
|
+
interval?: number;
|
|
13
|
+
/** The number of encryption operations performed before the barrier key is automatically rotated. */
|
|
14
|
+
max_operations?: number;
|
|
15
|
+
}
|
|
16
|
+
export declare const ReadEncryptionKeyConfigResponse: S.Schema<ReadEncryptionKeyConfigResponse>;
|
|
17
|
+
export interface ReadHealthStatusRequest {
|
|
18
|
+
}
|
|
19
|
+
export declare const ReadHealthStatusRequest: S.Schema<ReadHealthStatusRequest>;
|
|
20
|
+
export interface ReadHealthStatusResponse {
|
|
21
|
+
}
|
|
22
|
+
export declare const ReadHealthStatusResponse: S.Schema<ReadHealthStatusResponse>;
|
|
23
|
+
export interface ReadInitializationStatusRequest {
|
|
24
|
+
}
|
|
25
|
+
export declare const ReadInitializationStatusRequest: S.Schema<ReadInitializationStatusRequest>;
|
|
26
|
+
export interface ReadInitializationStatusResponse {
|
|
27
|
+
}
|
|
28
|
+
export declare const ReadInitializationStatusResponse: S.Schema<ReadInitializationStatusResponse>;
|
|
29
|
+
export interface ReadRotateKeyringConfigRequest {
|
|
30
|
+
}
|
|
31
|
+
export declare const ReadRotateKeyringConfigRequest: S.Schema<ReadRotateKeyringConfigRequest>;
|
|
32
|
+
export interface ReadRotateKeyringConfigResponse {
|
|
33
|
+
/** Whether automatic rotation is enabled. */
|
|
34
|
+
enabled?: boolean;
|
|
35
|
+
/** How long after installation of an active key term that the key will be automatically rotated. */
|
|
36
|
+
interval?: number;
|
|
37
|
+
/** The number of encryption operations performed before the barrier key is automatically rotated. */
|
|
38
|
+
max_operations?: number;
|
|
39
|
+
}
|
|
40
|
+
export declare const ReadRotateKeyringConfigResponse: S.Schema<ReadRotateKeyringConfigResponse>;
|
|
41
|
+
export interface ReadSanitizedConfigurationStateRequest {
|
|
42
|
+
}
|
|
43
|
+
export declare const ReadSanitizedConfigurationStateRequest: S.Schema<ReadSanitizedConfigurationStateRequest>;
|
|
44
|
+
export interface ReadSanitizedConfigurationStateResponse {
|
|
45
|
+
}
|
|
46
|
+
export declare const ReadSanitizedConfigurationStateResponse: S.Schema<ReadSanitizedConfigurationStateResponse>;
|
|
47
|
+
export interface ReadWrappingPropertiesRequest {
|
|
48
|
+
token?: string;
|
|
49
|
+
}
|
|
50
|
+
export declare const ReadWrappingPropertiesRequest: S.Schema<ReadWrappingPropertiesRequest>;
|
|
51
|
+
export interface ReadWrappingPropertiesResponse {
|
|
52
|
+
creation_path?: string;
|
|
53
|
+
creation_time?: string;
|
|
54
|
+
creation_ttl?: number;
|
|
55
|
+
}
|
|
56
|
+
export declare const ReadWrappingPropertiesResponse: S.Schema<ReadWrappingPropertiesResponse>;
|
|
57
|
+
export interface ReadWrappingProperties2Request {
|
|
58
|
+
}
|
|
59
|
+
export declare const ReadWrappingProperties2Request: S.Schema<ReadWrappingProperties2Request>;
|
|
60
|
+
export interface ReadWrappingProperties2Response {
|
|
61
|
+
creation_path?: string;
|
|
62
|
+
creation_time?: string;
|
|
63
|
+
creation_ttl?: number;
|
|
64
|
+
}
|
|
65
|
+
export declare const ReadWrappingProperties2Response: S.Schema<ReadWrappingProperties2Response>;
|
|
66
|
+
export type ReadEncryptionKeyConfigError = OpenBaoOpError;
|
|
67
|
+
/** Get the automatic key rotation config. */
|
|
68
|
+
export declare const readEncryptionKeyConfig: API.OperationMethod<ReadEncryptionKeyConfigRequest, ReadEncryptionKeyConfigResponse, ReadEncryptionKeyConfigError, OpenBaoOpContext>;
|
|
69
|
+
export type ReadHealthStatusError = OpenBaoOpError;
|
|
70
|
+
/** Returns the health status of OpenBao. */
|
|
71
|
+
export declare const readHealthStatus: API.OperationMethod<ReadHealthStatusRequest, ReadHealthStatusResponse, ReadHealthStatusError, OpenBaoOpContext>;
|
|
72
|
+
export type ReadInitializationStatusError = OpenBaoOpError;
|
|
73
|
+
/** Returns the initialization status of OpenBao. */
|
|
74
|
+
export declare const readInitializationStatus: API.OperationMethod<ReadInitializationStatusRequest, ReadInitializationStatusResponse, ReadInitializationStatusError, OpenBaoOpContext>;
|
|
75
|
+
export type ReadRotateKeyringConfigError = OpenBaoOpError;
|
|
76
|
+
/** Get the automatic key rotation config. */
|
|
77
|
+
export declare const readRotateKeyringConfig: API.OperationMethod<ReadRotateKeyringConfigRequest, ReadRotateKeyringConfigResponse, ReadRotateKeyringConfigError, OpenBaoOpContext>;
|
|
78
|
+
export type ReadSanitizedConfigurationStateError = OpenBaoOpError;
|
|
79
|
+
/** Return a sanitized version of the OpenBao server configuration. The sanitized output strips configuration values in the storage, HA storage, and seals stanzas, which may contain sensitive values such as API tokens. It also removes any token or secret fields in other stanzas, such as the circonus_api_token from telemetry. */
|
|
80
|
+
export declare const readSanitizedConfigurationState: API.OperationMethod<ReadSanitizedConfigurationStateRequest, ReadSanitizedConfigurationStateResponse, ReadSanitizedConfigurationStateError, OpenBaoOpContext>;
|
|
81
|
+
export type ReadWrappingPropertiesError = OpenBaoOpError;
|
|
82
|
+
/** Look up wrapping properties for the given token. */
|
|
83
|
+
export declare const readWrappingProperties: API.OperationMethod<ReadWrappingPropertiesRequest, ReadWrappingPropertiesResponse, ReadWrappingPropertiesError, OpenBaoOpContext>;
|
|
84
|
+
export type ReadWrappingProperties2Error = OpenBaoOpError;
|
|
85
|
+
/** Look up wrapping properties for the requester's token. */
|
|
86
|
+
export declare const readWrappingProperties2: API.OperationMethod<ReadWrappingProperties2Request, ReadWrappingProperties2Response, ReadWrappingProperties2Error, OpenBaoOpContext>;
|
|
87
|
+
//# sourceMappingURL=read.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version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,CAAC"}
|
|
@@ -0,0 +1,123 @@
|
|
|
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.js";
|
|
5
|
+
import { OpenBaoProtocol, } from "../protocol.js";
|
|
6
|
+
import * as Retry from "../retry.js";
|
|
7
|
+
export const ReadEncryptionKeyConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/rotate/config", code: 200 }))).annotate({
|
|
8
|
+
identifier: "ReadEncryptionKeyConfigRequest",
|
|
9
|
+
});
|
|
10
|
+
export const ReadEncryptionKeyConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
11
|
+
enabled: S.optional(S.Boolean),
|
|
12
|
+
interval: S.optional(S.Number),
|
|
13
|
+
max_operations: S.optional(S.Number),
|
|
14
|
+
})).annotate({
|
|
15
|
+
identifier: "ReadEncryptionKeyConfigResponse",
|
|
16
|
+
});
|
|
17
|
+
export const ReadHealthStatusRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/health", code: 200 }))).annotate({
|
|
18
|
+
identifier: "ReadHealthStatusRequest",
|
|
19
|
+
});
|
|
20
|
+
export const ReadHealthStatusResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
21
|
+
identifier: "ReadHealthStatusResponse",
|
|
22
|
+
});
|
|
23
|
+
export const ReadInitializationStatusRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/init", code: 200 }))).annotate({
|
|
24
|
+
identifier: "ReadInitializationStatusRequest",
|
|
25
|
+
});
|
|
26
|
+
export const ReadInitializationStatusResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
27
|
+
identifier: "ReadInitializationStatusResponse",
|
|
28
|
+
});
|
|
29
|
+
export const ReadRotateKeyringConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/rotate/keyring/config", code: 200 }))).annotate({
|
|
30
|
+
identifier: "ReadRotateKeyringConfigRequest",
|
|
31
|
+
});
|
|
32
|
+
export const ReadRotateKeyringConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
33
|
+
enabled: S.optional(S.Boolean),
|
|
34
|
+
interval: S.optional(S.Number),
|
|
35
|
+
max_operations: S.optional(S.Number),
|
|
36
|
+
})).annotate({
|
|
37
|
+
identifier: "ReadRotateKeyringConfigResponse",
|
|
38
|
+
});
|
|
39
|
+
export const ReadSanitizedConfigurationStateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/config/state/sanitized", code: 200 }))).annotate({
|
|
40
|
+
identifier: "ReadSanitizedConfigurationStateRequest",
|
|
41
|
+
});
|
|
42
|
+
export const ReadSanitizedConfigurationStateResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
43
|
+
identifier: "ReadSanitizedConfigurationStateResponse",
|
|
44
|
+
});
|
|
45
|
+
export const ReadWrappingPropertiesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
46
|
+
token: S.optional(S.String),
|
|
47
|
+
}).pipe(T.Http({ method: "POST", uri: "/sys/wrapping/lookup", code: 200 }))).annotate({
|
|
48
|
+
identifier: "ReadWrappingPropertiesRequest",
|
|
49
|
+
});
|
|
50
|
+
export const ReadWrappingPropertiesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
51
|
+
creation_path: S.optional(S.String),
|
|
52
|
+
creation_time: S.optional(S.String),
|
|
53
|
+
creation_ttl: S.optional(S.Number),
|
|
54
|
+
})).annotate({
|
|
55
|
+
identifier: "ReadWrappingPropertiesResponse",
|
|
56
|
+
});
|
|
57
|
+
export const ReadWrappingProperties2Request = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/sys/wrapping/lookup", code: 200 }))).annotate({
|
|
58
|
+
identifier: "ReadWrappingProperties2Request",
|
|
59
|
+
});
|
|
60
|
+
export const ReadWrappingProperties2Response = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
61
|
+
creation_path: S.optional(S.String),
|
|
62
|
+
creation_time: S.optional(S.String),
|
|
63
|
+
creation_ttl: S.optional(S.Number),
|
|
64
|
+
})).annotate({
|
|
65
|
+
identifier: "ReadWrappingProperties2Response",
|
|
66
|
+
});
|
|
67
|
+
/** Get the automatic key rotation config. */
|
|
68
|
+
export const readEncryptionKeyConfig = /*@__PURE__*/ API.make(() => ({
|
|
69
|
+
input: ReadEncryptionKeyConfigRequest,
|
|
70
|
+
output: ReadEncryptionKeyConfigResponse,
|
|
71
|
+
errors: [],
|
|
72
|
+
protocol: OpenBaoProtocol,
|
|
73
|
+
retry: Retry.Retry,
|
|
74
|
+
}));
|
|
75
|
+
/** Returns the health status of OpenBao. */
|
|
76
|
+
export const readHealthStatus = /*@__PURE__*/ API.make(() => ({
|
|
77
|
+
input: ReadHealthStatusRequest,
|
|
78
|
+
output: ReadHealthStatusResponse,
|
|
79
|
+
errors: [],
|
|
80
|
+
protocol: OpenBaoProtocol,
|
|
81
|
+
retry: Retry.Retry,
|
|
82
|
+
}));
|
|
83
|
+
/** Returns the initialization status of OpenBao. */
|
|
84
|
+
export const readInitializationStatus = /*@__PURE__*/ API.make(() => ({
|
|
85
|
+
input: ReadInitializationStatusRequest,
|
|
86
|
+
output: ReadInitializationStatusResponse,
|
|
87
|
+
errors: [],
|
|
88
|
+
protocol: OpenBaoProtocol,
|
|
89
|
+
retry: Retry.Retry,
|
|
90
|
+
}));
|
|
91
|
+
/** Get the automatic key rotation config. */
|
|
92
|
+
export const readRotateKeyringConfig = /*@__PURE__*/ API.make(() => ({
|
|
93
|
+
input: ReadRotateKeyringConfigRequest,
|
|
94
|
+
output: ReadRotateKeyringConfigResponse,
|
|
95
|
+
errors: [],
|
|
96
|
+
protocol: OpenBaoProtocol,
|
|
97
|
+
retry: Retry.Retry,
|
|
98
|
+
}));
|
|
99
|
+
/** Return a sanitized version of the OpenBao server configuration. The sanitized output strips configuration values in the storage, HA storage, and seals stanzas, which may contain sensitive values such as API tokens. It also removes any token or secret fields in other stanzas, such as the circonus_api_token from telemetry. */
|
|
100
|
+
export const readSanitizedConfigurationState = /*@__PURE__*/ API.make(() => ({
|
|
101
|
+
input: ReadSanitizedConfigurationStateRequest,
|
|
102
|
+
output: ReadSanitizedConfigurationStateResponse,
|
|
103
|
+
errors: [],
|
|
104
|
+
protocol: OpenBaoProtocol,
|
|
105
|
+
retry: Retry.Retry,
|
|
106
|
+
}));
|
|
107
|
+
/** Look up wrapping properties for the given token. */
|
|
108
|
+
export const readWrappingProperties = /*@__PURE__*/ API.make(() => ({
|
|
109
|
+
input: ReadWrappingPropertiesRequest,
|
|
110
|
+
output: ReadWrappingPropertiesResponse,
|
|
111
|
+
errors: [],
|
|
112
|
+
protocol: OpenBaoProtocol,
|
|
113
|
+
retry: Retry.Retry,
|
|
114
|
+
}));
|
|
115
|
+
/** Look up wrapping properties for the requester's token. */
|
|
116
|
+
export const readWrappingProperties2 = /*@__PURE__*/ API.make(() => ({
|
|
117
|
+
input: ReadWrappingProperties2Request,
|
|
118
|
+
output: ReadWrappingProperties2Response,
|
|
119
|
+
errors: [],
|
|
120
|
+
protocol: OpenBaoProtocol,
|
|
121
|
+
retry: Retry.Retry,
|
|
122
|
+
}));
|
|
123
|
+
//# sourceMappingURL=read.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"read.js","sourceRoot":"","sources":["../../src/services/read.ts"],"names":[],"mappings":"AAAA,wIAAwI;AACxI,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM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