@voxgig/sdkgen 4.29.0 → 4.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/voxgig-sdkgen +1 -1
- package/dist/admin/npm-trust.d.ts +39 -0
- package/dist/admin/npm-trust.js +308 -0
- package/dist/admin/npm-trust.js.map +1 -0
- package/dist/cmp/PublishWorkflow.js +47 -26
- package/dist/cmp/PublishWorkflow.js.map +1 -1
- package/dist/sdkgen.d.ts +2 -1
- package/dist/sdkgen.js +6 -4
- package/dist/sdkgen.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -2
- package/project/.sdk/model/target/rb.aontu +1 -2
- package/project/.sdk/src/cmp/go/PrepareAuth_go.ts +45 -11
- package/project/.sdk/src/cmp/js/Package_js.ts +2 -2
- package/project/.sdk/src/cmp/js/PrepareAuth_js.ts +52 -6
- package/project/.sdk/src/cmp/php/PrepareAuth_php.ts +46 -14
- package/project/.sdk/src/cmp/rb/Package_rb.ts +15 -21
- package/project/.sdk/src/cmp/ts/Package_ts.ts +1 -1
- package/project/.sdk/src/cmp/ts/PrepareAuth_ts.ts +51 -6
- package/project/.sdk/src/cmp/ts/ReadmeQuick_ts.ts +10 -3
- package/project/.sdk/tm/c/feature/secrets/plugin/capability.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/capability.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/catalog.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/catalog.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/config.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/config.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/depend.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/depend.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/env.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/env.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/export.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/export.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/graph.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/graph.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/host.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/host.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/order.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/order.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/point.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/point.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/ref.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/ref.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/resolve.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/resolve.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/types.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/types.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/value.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/value.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/version.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/version.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/aws.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/azuresecrets.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/boru.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/clock.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/doppler.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/encode.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/gcpsecrets.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/hashicorp.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/httpjson.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/infisical.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/minivault.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/onepassword.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/proc.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/secretspec.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/sekretoplugins.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/sha256.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/sigv4.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/support.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/tls.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/internal.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/json.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/providers.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/sekreto.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/sekreto.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/util.c +2 -2
- package/project/.sdk/tm/c/tests/vendor/omni/json.c +2 -2
- package/project/.sdk/tm/c/tests/vendor/omni/omni.h +2 -2
- package/project/.sdk/tm/c/tests/vendor/omni/runner.c +2 -2
- package/project/.sdk/tm/c/tests/vendor/omni/util.c +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/capability.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/catalog.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/config.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/depend.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/env.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/export.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/graph.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/host.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/json.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/order.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/point.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/ref.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/resolve.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/types.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/version.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/addr.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/chain.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/core.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/json.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/aws.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/azuresecrets.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/boru.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/doppler.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/gcpsecrets.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/hashicorp.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/httpjson.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/infisical.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/minivault.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/onepassword.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/proc.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/secretspec.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/sigv4.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/provider.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/providers.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto.clj +2 -2
- package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/json.clj +2 -2
- package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/runner.clj +2 -2
- package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/util.clj +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/capability.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/capability.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/catalog.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/catalog.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/config.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/config.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/depend.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/depend.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/env.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/env.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/export.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/export.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/graph.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/graph.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/host.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/host.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/order.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/order.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/point.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/point.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/ref.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/ref.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/resolve.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/resolve.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/types.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/types.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/value.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/value.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/version.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/version.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Aws.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Aws.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Azuresecrets.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Azuresecrets.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Boru.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Boru.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Crypto.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Crypto.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Doppler.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Doppler.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Gcpsecrets.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Gcpsecrets.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Hashicorp.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Hashicorp.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Httpjson.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Httpjson.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Infisical.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Infisical.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Minivault.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Minivault.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Onepassword.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Onepassword.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Proc.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Proc.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Secretspec.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Secretspec.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Sigv4.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Sigv4.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Tls.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Tls.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Json.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Json.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Provider.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Provider.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Providers.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Providers.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Sekreto.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Sekreto.hpp +2 -2
- package/project/.sdk/tm/cpp/test/vendor/omni/json.hpp +2 -2
- package/project/.sdk/tm/cpp/test/vendor/omni/omni.hpp +2 -2
- package/project/.sdk/tm/cpp/test/vendor/omni/util.hpp +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Capability.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Catalog.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Config.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Definition.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Depend.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Entry.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Env.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Export.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Graph.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Host.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Inst.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Json.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Order.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Plugin.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Point.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Refs.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Resolve.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Types.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Version.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Aws.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/AzureSecrets.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Boru.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Child.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Doppler.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/GcpSecrets.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Hashicorp.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/HttpJson.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Infisical.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/MiniVault.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/OnePassword.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/SecretSpec.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Sigv4.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/sekreto/Json.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/sekreto/Providers.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/sekreto/Sekreto.cs +2 -2
- package/project/.sdk/tm/csharp/test/vendor/omni/Runner.cs +2 -2
- package/project/.sdk/tm/csharp/test/vendor/omni/Util.cs +2 -2
- package/project/.sdk/tm/csharp/utility/struct/Struct.cs +4 -21
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/capability.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/catalog.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/config.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/depend.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/env.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/error.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/export.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/graph.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/host.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/inst.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/json.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/order.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/point.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/ref.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/resolve.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/types.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/version.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/voxgig_plugin.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/json.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/aws.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/azuresecrets.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/boru.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/doppler.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/gcpsecrets.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/hashicorp.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/http.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/httpjson.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/infisical.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/minivault.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/onepassword.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/proc.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/secretspec.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/sigv4.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/provider.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/providers.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/sekreto.ex +2 -2
- package/project/.sdk/tm/elixir/test/vendor/omni/json.ex +2 -2
- package/project/.sdk/tm/elixir/test/vendor/omni/runner.ex +2 -2
- package/project/.sdk/tm/elixir/test/vendor/omni/util.ex +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/capability.go +2 -62
- package/project/.sdk/tm/go/feature/secrets/plugin/catalog.go +1 -20
- package/project/.sdk/tm/go/feature/secrets/plugin/config.go +18 -94
- package/project/.sdk/tm/go/feature/secrets/plugin/depend.go +1 -97
- package/project/.sdk/tm/go/feature/secrets/plugin/env.go +4 -44
- package/project/.sdk/tm/go/feature/secrets/plugin/export.go +1 -13
- package/project/.sdk/tm/go/feature/secrets/plugin/graph.go +1 -40
- package/project/.sdk/tm/go/feature/secrets/plugin/host.go +11 -301
- package/project/.sdk/tm/go/feature/secrets/plugin/order.go +1 -41
- package/project/.sdk/tm/go/feature/secrets/plugin/point.go +7 -56
- package/project/.sdk/tm/go/feature/secrets/plugin/ref.go +1 -24
- package/project/.sdk/tm/go/feature/secrets/plugin/resolve.go +1 -24
- package/project/.sdk/tm/go/feature/secrets/plugin/types.go +6 -116
- package/project/.sdk/tm/go/feature/secrets/plugin/util.go +1 -11
- package/project/.sdk/tm/go/feature/secrets/plugin/version.go +1 -30
- package/project/.sdk/tm/go/feature/secrets/plugins/aws/aws.go +2 -17
- package/project/.sdk/tm/go/feature/secrets/plugins/aws/sigv4.go +4 -29
- package/project/.sdk/tm/go/feature/secrets/plugins/azuresecrets/azuresecrets.go +2 -13
- package/project/.sdk/tm/go/feature/secrets/plugins/boru/boru.go +2 -26
- package/project/.sdk/tm/go/feature/secrets/plugins/doppler/doppler.go +2 -8
- package/project/.sdk/tm/go/feature/secrets/plugins/gcpsecrets/gcpsecrets.go +2 -13
- package/project/.sdk/tm/go/feature/secrets/plugins/hashicorp/hashicorp.go +2 -16
- package/project/.sdk/tm/go/feature/secrets/plugins/httpjson/httpjson.go +2 -60
- package/project/.sdk/tm/go/feature/secrets/plugins/infisical/infisical.go +2 -8
- package/project/.sdk/tm/go/feature/secrets/plugins/minivault/format.go +2 -62
- package/project/.sdk/tm/go/feature/secrets/plugins/minivault/minivault.go +7 -184
- package/project/.sdk/tm/go/feature/secrets/plugins/onepassword/onepassword.go +2 -8
- package/project/.sdk/tm/go/feature/secrets/plugins/secretspec/secretspec.go +2 -36
- package/project/.sdk/tm/go/feature/secrets/sekreto/addr.go +2 -47
- package/project/.sdk/tm/go/feature/secrets/sekreto/providers.go +43 -170
- package/project/.sdk/tm/go/feature/secrets/sekreto/sekreto.go +4 -123
- package/project/.sdk/tm/go/test/omni/omni.go +2 -36
- package/project/.sdk/tm/go/test/omni/util.go +2 -17
- package/project/.sdk/tm/go/test/pipeline_test.go +4 -1
- package/project/.sdk/tm/go/utility/struct/voxgigstruct.go +11 -201
- package/project/.sdk/tm/java/feature/secrets/plugin/Capability.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Catalog.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Config.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Definition.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Depend.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Entry.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Env.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Export.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Graph.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Host.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Inst.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Json.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Order.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Plugin.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/PluginException.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Point.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Refs.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Resolve.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Types.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Version.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Addr.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Builtins.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Json.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Provider.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Sekreto.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Support.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Aws.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Azuresecrets.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Boru.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Doppler.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Gcpsecrets.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Hashicorp.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Httpjson.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Infisical.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Minivault.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Onepassword.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Proc.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Secretspec.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Sigv4.java +2 -2
- package/project/.sdk/tm/java/test/vendor/omni/Json.java +2 -2
- package/project/.sdk/tm/java/test/vendor/omni/Runner.java +2 -2
- package/project/.sdk/tm/java/test/vendor/omni/Util.java +2 -2
- package/project/.sdk/tm/java/utility/struct/Struct.java +1 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/capability.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/catalog.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/config.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/depend.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/env.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/export.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/graph.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/host.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/index.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/order.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/point.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/ref.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/resolve.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/types.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/version.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/Sekreto.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/index.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/aws.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/azuresecrets.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/boru.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/doppler.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/gcpsecrets.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/hashicorp.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/httpjson.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/infisical.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/minivault.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/onepassword.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/secretspec.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/sigv4.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/addr.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/builtin.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/dotenv.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/env.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/file.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/memory.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/support.js +2 -2
- package/project/.sdk/tm/js/src/utility/StructUtility.js +1 -2
- package/project/.sdk/tm/js/test/pipeline.test.js +9 -1
- package/project/.sdk/tm/js/test/vendor/omni/index.js +1 -1
- package/project/.sdk/tm/js/test/vendor/omni/runner.js +1 -1
- package/project/.sdk/tm/js/test/vendor/omni/util.js +1 -1
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Capability.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Catalog.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Config.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Depend.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Env.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Export.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Graph.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Host.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Json.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Order.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Plugin.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Point.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Refs.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Resolve.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Types.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Version.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Json.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Provider.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Providers.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Sekreto.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Spec.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Support.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Aws.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Azuresecrets.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Boru.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Doppler.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Gcpsecrets.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Hashicorp.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Httpjson.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Infisical.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Minivault.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Onepassword.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Secretspec.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Sigv4.kt +2 -2
- package/project/.sdk/tm/kotlin/test/vendor/omni/Json.kt +2 -2
- package/project/.sdk/tm/kotlin/test/vendor/omni/Runner.kt +2 -2
- package/project/.sdk/tm/kotlin/test/vendor/omni/Util.kt +2 -2
- package/project/.sdk/tm/kotlin/utility/struct/Struct.kt +1 -1
- package/project/.sdk/tm/lua/feature/secrets/native/sekretonet.c +2 -2
- package/project/.sdk/tm/lua/feature/secrets/native/sekretovault.c +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/capability.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/catalog.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/config.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/depend.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/env.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/export.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/graph.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/host.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/json.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/order.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/point.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/ref.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/resolve.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/types.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/version.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/addr.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/err.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/name.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/aws.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/azuresecrets.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/boru.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/crypto.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/doppler.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/gcpsecrets.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/hashicorp.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/httpjson.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/infisical.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/json.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/minivault.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/net.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/onepassword.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/secretspec.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/sigv4.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/support.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/providers.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto.lua +2 -2
- package/project/.sdk/tm/lua/test/pipeline_test.lua +3 -1
- package/project/.sdk/tm/lua/test/vendor/omni/json.lua +2 -2
- package/project/.sdk/tm/lua/test/vendor/omni/regex.lua +2 -2
- package/project/.sdk/tm/lua/test/vendor/omni/runner.lua +2 -2
- package/project/.sdk/tm/lua/test/vendor/omni/util.lua +2 -2
- package/project/.sdk/tm/lua/utility/struct/regex.lua +1 -1
- package/project/.sdk/tm/lua/utility/struct/struct.lua +1 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/capability.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/catalog.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/config.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/defs.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/depend.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/env.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/export.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/graph.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/host.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/order.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/point.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/ref.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/resolve.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/types.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/value.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/version.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/aws.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/azuresecrets.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/boru.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/crypto.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/doppler.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/gcpsecrets.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/hashicorp.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/http.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/httpjson.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/infisical.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/minivault.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/minivault_stubs.c +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/onepassword.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/runcmd.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/secretspec.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/sigv4.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/tls.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/tls_stubs.c +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/sekreto/json.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/sekreto/provider.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/sekreto/secret.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/sekreto/sekreto.ml +2 -2
- package/project/.sdk/tm/ocaml/test/vendor/omni/omni.ml +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Capability.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Catalog.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Config.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Depend.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Env.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Export.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Graph.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Host.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Order.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Point.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Ref.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Resolve.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Types.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Version.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Aws.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Azuresecrets.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Boru.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Doppler.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Gcpsecrets.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Hashicorp.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Httpjson.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Infisical.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Minivault.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Onepassword.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Proc.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Secretspec.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Sigv4.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Addr.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Providers.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto.pm +2 -2
- package/project/.sdk/tm/perl/lib/Voxgig/Struct.pm +8 -3
- package/project/.sdk/tm/perl/t/pipeline.t +3 -1
- package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Runner.pm +1 -1
- package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Util.pm +1 -1
- package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni.pm +1 -1
- package/project/.sdk/tm/php/feature/secrets/plugin/Capability.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Catalog.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Config.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Depend.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Env.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Export.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Graph.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Host.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Order.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Point.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Ref.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Resolve.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Types.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Version.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/plugin.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/aws.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/azuresecrets.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/boru.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/doppler.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/gcpsecrets.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/hashicorp.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/httpjson.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/infisical.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/minivault.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/onepassword.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/runcmd.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/secretspec.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/sigv4.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/src/Addr.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/src/Providers.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/src/Sekreto.php +2 -2
- package/project/.sdk/tm/php/test/PipelineTest.php +7 -2
- package/project/.sdk/tm/php/test/vendor/omni/Runner.php +2 -2
- package/project/.sdk/tm/php/test/vendor/omni/Util.php +2 -2
- package/project/.sdk/tm/php/utility/struct/Struct.php +0 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/__init__.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/capability.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/catalog.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/config.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/depend.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/env.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/export.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/graph.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/host.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/order.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/point.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/ref.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/resolve.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/types.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/version.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/__init__.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/addr.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/aws.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/azuresecrets.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/boru.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/doppler.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/hashicorp.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/httpjson.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/infisical.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/minivault.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/onepassword.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/secretspec.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/sigv4.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/providers.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/sekreto.py +1 -1
- package/project/.sdk/tm/py/pkg/utility/voxgig_struct/voxgig_struct.py +1 -2
- package/project/.sdk/tm/py/test/test_pipeline.py +3 -1
- package/project/.sdk/tm/py/test/voxgig_omni/__init__.py +1 -1
- package/project/.sdk/tm/py/test/voxgig_omni/runner.py +1 -1
- package/project/.sdk/tm/py/test/voxgig_omni/util.py +1 -1
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/capability.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/catalog.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/config.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/depend.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/env.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/export.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/graph.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/host.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/order.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/point.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/ref.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/resolve.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/types.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/version.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/addr.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/aws.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/azuresecrets.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/boru.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/doppler.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/hashicorp.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/httpjson.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/infisical.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/minivault.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/onepassword.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/secretspec.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/sigv4.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/providers.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/sekreto.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto.rb +2 -2
- package/project/.sdk/tm/rb/test/pipeline_test.rb +3 -1
- package/project/.sdk/tm/rb/test/vendor/omni/runner.rb +2 -2
- package/project/.sdk/tm/rb/test/vendor/omni/util.rb +2 -2
- package/project/.sdk/tm/rb/test/vendor/omni/voxgig_omni.rb +2 -2
- package/project/.sdk/tm/rb/utility/struct/voxgig_struct.rb +0 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/capability.rs +2 -43
- package/project/.sdk/tm/rust/feature/secrets/plugin/catalog.rs +2 -10
- package/project/.sdk/tm/rust/feature/secrets/plugin/config.rs +12 -57
- package/project/.sdk/tm/rust/feature/secrets/plugin/depend.rs +2 -83
- package/project/.sdk/tm/rust/feature/secrets/plugin/env.rs +2 -35
- package/project/.sdk/tm/rust/feature/secrets/plugin/export.rs +2 -13
- package/project/.sdk/tm/rust/feature/secrets/plugin/graph.rs +2 -27
- package/project/.sdk/tm/rust/feature/secrets/plugin/host.rs +2 -173
- package/project/.sdk/tm/rust/feature/secrets/plugin/mod.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/order.rs +2 -40
- package/project/.sdk/tm/rust/feature/secrets/plugin/point.rs +2 -31
- package/project/.sdk/tm/rust/feature/secrets/plugin/refs.rs +2 -28
- package/project/.sdk/tm/rust/feature/secrets/plugin/resolve.rs +2 -14
- package/project/.sdk/tm/rust/feature/secrets/plugin/types.rs +2 -28
- package/project/.sdk/tm/rust/feature/secrets/plugin/value.rs +2 -29
- package/project/.sdk/tm/rust/feature/secrets/plugin/version.rs +2 -21
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws/crypto.rs +3 -18
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws/sigv4.rs +2 -24
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws.rs +2 -21
- package/project/.sdk/tm/rust/feature/secrets/plugins/azuresecrets.rs +2 -13
- package/project/.sdk/tm/rust/feature/secrets/plugins/boru.rs +2 -28
- package/project/.sdk/tm/rust/feature/secrets/plugins/doppler.rs +2 -8
- package/project/.sdk/tm/rust/feature/secrets/plugins/gcpsecrets.rs +2 -13
- package/project/.sdk/tm/rust/feature/secrets/plugins/hashicorp.rs +2 -16
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/http.rs +2 -92
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/json.rs +2 -8
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson.rs +2 -31
- package/project/.sdk/tm/rust/feature/secrets/plugins/infisical.rs +2 -8
- package/project/.sdk/tm/rust/feature/secrets/plugins/minivault/format.rs +2 -58
- package/project/.sdk/tm/rust/feature/secrets/plugins/minivault.rs +3 -139
- package/project/.sdk/tm/rust/feature/secrets/plugins/onepassword.rs +2 -8
- package/project/.sdk/tm/rust/feature/secrets/plugins/secretspec.rs +2 -39
- package/project/.sdk/tm/rust/feature/secrets/sekreto/addr.rs +2 -54
- package/project/.sdk/tm/rust/feature/secrets/sekreto/mod.rs +2 -31
- package/project/.sdk/tm/rust/feature/secrets/sekreto/providers.rs +2 -129
- package/project/.sdk/tm/rust/feature/secrets/sekreto/sekreto.rs +2 -101
- package/project/.sdk/tm/rust/tests/vendor/omni/json.rs +2 -8
- package/project/.sdk/tm/rust/tests/vendor/omni/mod.rs +3 -19
- package/project/.sdk/tm/rust/tests/vendor/omni/regex.rs +2 -12
- package/project/.sdk/tm/rust/tests/vendor/omni/runner.rs +2 -64
- package/project/.sdk/tm/rust/tests/vendor/omni/util.rs +2 -7
- package/project/.sdk/tm/scala/feature/secrets/plugin/Capability.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Config.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Depend.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Env.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Export.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Graph.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Host.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Json.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Order.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Plugin.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Point.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Refs.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Resolve.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Types.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Value.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Version.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Json.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Provider.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Providers.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Sekreto.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Spec.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Support.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Aws.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Azuresecrets.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Boru.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Doppler.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Gcpsecrets.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Hashicorp.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Httpjson.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Infisical.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Minivault.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Onepassword.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Secretspec.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Sigv4.scala +2 -2
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Json.scala +2 -2
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Runner.scala +2 -2
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Util.scala +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Capability.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Catalog.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Config.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Depend.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Env.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Export.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Graph.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Host.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Json.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Order.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Point.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Refs.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Resolve.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Types.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Value.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Version.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Aws.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Azuresecrets.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Boru.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Crypto.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Doppler.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Gcpsecrets.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Hashicorp.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Httpjson.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Infisical.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Onepassword.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Proc.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Secretspec.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Sigv4.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Addr.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Json.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Provider.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Providers.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Sekreto.swift +2 -2
- package/project/.sdk/tm/swift/Tests/vendor/omni/Json.swift +2 -2
- package/project/.sdk/tm/swift/Tests/vendor/omni/Runner.swift +2 -2
- package/project/.sdk/tm/swift/Tests/vendor/omni/Util.swift +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Capability.ts +1 -48
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Catalog.ts +1 -7
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Config.ts +17 -77
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Depend.ts +1 -89
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Env.ts +1 -37
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Export.ts +1 -23
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/FeatureHost.ts +1 -178
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Graph.ts +1 -44
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Host.ts +4 -351
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Order.ts +1 -53
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Point.ts +2 -40
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Ref.ts +1 -31
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Resolve.ts +1 -20
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Types.ts +1 -44
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Version.ts +1 -34
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/index.ts +1 -5
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/Sekreto.ts +2 -131
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/index.ts +1 -21
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/aws.ts +1 -16
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/azuresecrets.ts +1 -12
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/boru.ts +1 -27
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/doppler.ts +1 -7
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/gcpsecrets.ts +1 -12
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/hashicorp.ts +1 -15
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/httpjson.ts +1 -35
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/infisical.ts +1 -7
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/minivault.ts +1 -212
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/onepassword.ts +1 -7
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/secretspec.ts +1 -23
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/sigv4.ts +2 -32
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/addr.ts +1 -45
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/builtin.ts +1 -10
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/dotenv.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/env.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/file.ts +1 -9
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/memory.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/support.ts +1 -108
- package/project/.sdk/tm/ts/src/utility/StructUtility.ts +35 -393
- package/project/.sdk/tm/ts/test/pipeline.test.ts +3 -1
- package/project/.sdk/tm/ts/test/vendor/omni/Runner.ts +1 -59
- package/project/.sdk/tm/ts/test/vendor/omni/Util.ts +1 -19
- package/project/.sdk/tm/ts/test/vendor/omni/index.ts +1 -1
- package/project/.sdk/tm/zig/feature/secrets/plugin/capability.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/catalog.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/config.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/depend.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/env.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/export.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/graph.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/host.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/inst.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/order.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/plugin.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/point.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/ref.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/resolve.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/types.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/value.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/version.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/aws.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/azuresecrets.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/boru.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/doppler.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/gcpsecrets.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/hashicorp.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/httpjson.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/infisical.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/minivault.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/onepassword.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/secretspec.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/sigv4.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/sekreto/addr.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/sekreto/builtins.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/sekreto/provider.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/sekreto/sekreto.zig +2 -2
- package/project/.sdk/tm/zig/test/vendor/omni/omni.zig +2 -2
- package/project/.sdk/tm/zig/test/vendor/omni/regex.zig +2 -2
- package/project/.sdk/tm/zig/utility/voxgigstruct/regex.zig +2 -2
- package/project/.sdk/tm/zig/utility/voxgigstruct/struct.zig +2 -2
- package/project/sdkgen-package.json +1 -1
- package/src/admin/npm-trust.ts +408 -0
- package/src/cmp/PublishWorkflow.ts +56 -26
- package/src/sdkgen.ts +2 -0
|
@@ -1,47 +1,25 @@
|
|
|
1
1
|
// VENDORED: @voxgig/sekreto 0.2.0 (typescript/src/Sekreto.ts)
|
|
2
|
-
// Source: https://github.com/voxgig/sekreto @
|
|
2
|
+
// Source: https://github.com/voxgig/sekreto @ 163f537960de6813cc393b89843949ca3afa8cfc [tag: sdk-20260925-1316-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
|
-
|
|
5
|
-
//
|
|
6
|
-
// A Sekreto is an ordered chain of providers. `get` asks each in turn and
|
|
7
|
-
// returns the first hit, so an app can be configured from environment
|
|
8
|
-
// variables in development and a vault in production without changing a
|
|
9
|
-
// line of its own code.
|
|
10
|
-
//
|
|
11
|
-
// This file is CANONICAL. Every other port is a translation of it, and
|
|
12
|
-
// spec/sekreto.json is the behavioural contract they all run.
|
|
13
|
-
|
|
14
|
-
// THE CORE IMPORTS NO PROVIDER THAT OPENS A SOCKET, SPAWNS A PROCESS OR
|
|
15
|
-
// SIGNS A REQUEST. The four built-in kinds - env, memory, dotenv, file -
|
|
16
|
-
// read at most a local file; every other kind is a voxgig/plugin
|
|
17
|
-
// definition under plugins/, and a chain may name one only if the
|
|
18
|
-
// calling project handed it in through `plugins`. That is what keeps an
|
|
19
|
-
// SDK whose chain is `[dotenv, env]` from carrying AWS request signing
|
|
20
|
-
// and seven HTTP vault clients. See docs/design/plugin-providers.md.
|
|
4
|
+
|
|
21
5
|
import { checktag, formatref, makecatalog, makehost } from '../plugin'
|
|
22
6
|
import type { Catalog, Definition, Host } from '../plugin'
|
|
23
7
|
|
|
24
8
|
import { ERROR_CODE, PROVIDER_EXPORT, Provider, ProviderSpec } from './provider/support'
|
|
25
9
|
import { BUILTINS, KINDS } from './provider/builtin'
|
|
26
10
|
|
|
27
|
-
/** A secret name: dot-separated lowercase segments, e.g. `api.token`. */
|
|
28
11
|
export type Name = string
|
|
29
12
|
|
|
30
13
|
export type SekretoOptions = {
|
|
31
|
-
/** The provider chain, in resolution order. An entry is a live
|
|
32
|
-
* provider, or the declarative spec of one - `{ kind, ...config }`. */
|
|
33
14
|
providers?: (Provider | ProviderSpec)[]
|
|
34
15
|
/** The provider kinds beyond the built-ins that `providers` may name,
|
|
35
16
|
* as voxgig/plugin definitions. Static and explicit: the calling
|
|
36
17
|
* project imports the plugins it needs and passes them here, and a
|
|
37
18
|
* kind it did not pass is unknown to this Sekreto. */
|
|
38
19
|
plugins?: Definition[]
|
|
39
|
-
/** Cache resolved values (default: true). */
|
|
40
20
|
cache?: boolean
|
|
41
21
|
}
|
|
42
22
|
|
|
43
|
-
/** Anything sekreto refuses to do: a bad name, a missing secret, a
|
|
44
|
-
* provider that could not be reached. */
|
|
45
23
|
export class SekretoError extends Error {
|
|
46
24
|
constructor(message: string) {
|
|
47
25
|
super(message)
|
|
@@ -51,7 +29,6 @@ export class SekretoError extends Error {
|
|
|
51
29
|
|
|
52
30
|
const NAMEPART = /^[a-z0-9_]+$/
|
|
53
31
|
|
|
54
|
-
/** Is this a well-formed secret name? */
|
|
55
32
|
export function validname(name: any): boolean {
|
|
56
33
|
if ('string' !== typeof name || 0 === name.length) {
|
|
57
34
|
return false
|
|
@@ -75,7 +52,6 @@ export function checkname(name: any): string {
|
|
|
75
52
|
return name
|
|
76
53
|
}
|
|
77
54
|
|
|
78
|
-
/** The environment-variable key for a name: `api.token` -> `API_TOKEN`. */
|
|
79
55
|
export function envkey(name: Name, prefix?: string): string {
|
|
80
56
|
checkname(name)
|
|
81
57
|
return (prefix || '') + name.split('.').join('_').toUpperCase()
|
|
@@ -97,16 +73,6 @@ export function vaultref(name: Name): { path: string; field: string } {
|
|
|
97
73
|
return { path: parts.slice(0, -1).join('/'), field: parts[parts.length - 1] }
|
|
98
74
|
}
|
|
99
75
|
|
|
100
|
-
/** A name flattened to one segment: `api.token` -> `api_token` (GCP
|
|
101
|
-
* Secret Manager, `_`) or `api-token` (Azure Key Vault, `-`).
|
|
102
|
-
*
|
|
103
|
-
* Those stores have no path hierarchy and reject dots in ids, so the
|
|
104
|
-
* dots become the store's conventional separator. With `-` as the
|
|
105
|
-
* separator, underscores flatten too: Azure Key Vault's alphabet is
|
|
106
|
-
* letters, digits and hyphens only, and a valid sekreto name like
|
|
107
|
-
* `with_underscore` must still be representable there. (The resulting
|
|
108
|
-
* `.`/`_` collision mirrors the documented envkey behaviour, where
|
|
109
|
-
* both already map to `_`.) */
|
|
110
76
|
export function flatname(name: Name, sep: string): string {
|
|
111
77
|
checkname(name)
|
|
112
78
|
const flat = name.split('.').join(sep)
|
|
@@ -128,11 +94,6 @@ export function awsparam(name: Name, prefix?: string): string {
|
|
|
128
94
|
return base + '/' + name.split('.').join('/')
|
|
129
95
|
}
|
|
130
96
|
|
|
131
|
-
/** Parse `.env` text into a map of raw keys to values.
|
|
132
|
-
*
|
|
133
|
-
* Deliberately small: `KEY=value`, optional `export`, `#` comments on their
|
|
134
|
-
* own line, and single- or double-quoted values (double quotes also
|
|
135
|
-
* unescape `\n`, `\r`, `\t` and `\\`). A line with no `=` is skipped. */
|
|
136
97
|
export function parsedotenv(text: string): Record<string, string> {
|
|
137
98
|
const out: Record<string, string> = {}
|
|
138
99
|
|
|
@@ -197,20 +158,6 @@ function unescape(text: string): string {
|
|
|
197
158
|
return out
|
|
198
159
|
}
|
|
199
160
|
|
|
200
|
-
/** Replace known secret values in text with `[redacted]`.
|
|
201
|
-
*
|
|
202
|
-
* Only values of four characters or more are replaced: shorter ones are
|
|
203
|
-
* too likely to appear in ordinary text, and redacting them would make
|
|
204
|
-
* logs unreadable without making them safer.
|
|
205
|
-
*
|
|
206
|
-
* Longest first, which is not a detail. Replacing in the order the
|
|
207
|
-
* values arrived meant a shorter secret that prefixes a longer one ate
|
|
208
|
-
* the prefix and left the rest in the log: with `db.pass` = `abcd` from
|
|
209
|
-
* the environment and `api.token` = `abcd1234` from the vault, and the
|
|
210
|
-
* environment resolved first, `token=abcd1234` came out as
|
|
211
|
-
* `token=[redacted]1234` — four characters of the vault token still
|
|
212
|
-
* there. Longest first makes the longer secret match before anything can
|
|
213
|
-
* eat its head. */
|
|
214
161
|
export function redact(text: string, values: string[]): string {
|
|
215
162
|
let out = 'string' === typeof text ? text : ''
|
|
216
163
|
|
|
@@ -218,8 +165,6 @@ export function redact(text: string, values: string[]): string {
|
|
|
218
165
|
(value) => 'string' === typeof value && 4 <= value.length,
|
|
219
166
|
)
|
|
220
167
|
|
|
221
|
-
// A copy: `values` belongs to the caller (it is `seen` when called
|
|
222
|
-
// through Sekreto.redact), and sorting in place would reorder it.
|
|
223
168
|
for (const value of [...usable].sort((left, right) => right.length - left.length)) {
|
|
224
169
|
out = out.split(value).join('[redacted]')
|
|
225
170
|
}
|
|
@@ -232,27 +177,12 @@ export function redact(text: string, values: string[]): string {
|
|
|
232
177
|
* handed in directly, which no instance backs. */
|
|
233
178
|
type Entry = { store: string; ref: string; provider: Provider }
|
|
234
179
|
|
|
235
|
-
/** One resolved value. Kept as a list rather than a map so that the store
|
|
236
|
-
* a value came from stays attached, and so redaction order is stable. */
|
|
237
180
|
type Cached = { store: string; name: Name; value: string }
|
|
238
181
|
|
|
239
|
-
/** The store name a live provider answers to.
|
|
240
|
-
*
|
|
241
|
-
* `describe()` opens with the provider's kind - `hashicorp:...`,
|
|
242
|
-
* `dotenv:...`, plain `env` - so the kind is the natural default, and a
|
|
243
|
-
* custom provider gets a sensible name without having to implement
|
|
244
|
-
* anything extra. A spec'd provider's store is its `name` or its `kind`,
|
|
245
|
-
* decided before the provider exists. */
|
|
246
182
|
function storename(provider: Provider): string {
|
|
247
183
|
return provider.describe().split(':')[0]
|
|
248
184
|
}
|
|
249
185
|
|
|
250
|
-
/** The message for a kind the catalog does not hold.
|
|
251
|
-
*
|
|
252
|
-
* A kind sekreto has never heard of is a typo; a kind that exists as a
|
|
253
|
-
* plugin but was not passed in is the split working as designed and
|
|
254
|
-
* telling you what to pass. Collapsing the two was the first thing that
|
|
255
|
-
* made the split confusing to use. */
|
|
256
186
|
function unknownkind(kind: any, catalog: Catalog): string {
|
|
257
187
|
const known = -1 !== KINDS.plugin.indexOf(String(kind))
|
|
258
188
|
return (
|
|
@@ -262,8 +192,6 @@ function unknownkind(kind: any, catalog: Catalog): string {
|
|
|
262
192
|
)
|
|
263
193
|
}
|
|
264
194
|
|
|
265
|
-
/** A SekretoError that crossed the plugin boundary comes back out as
|
|
266
|
-
* itself, byte for byte. Anything else is not sekreto's to rewrite. */
|
|
267
195
|
function unwrap(err: any): any {
|
|
268
196
|
if (err && ERROR_CODE === err.code && err.details && 'string' === typeof err.details.cause) {
|
|
269
197
|
return new SekretoError(err.details.cause)
|
|
@@ -271,20 +199,11 @@ function unwrap(err: any): any {
|
|
|
271
199
|
return err
|
|
272
200
|
}
|
|
273
201
|
|
|
274
|
-
/** The secrets facade: a chain of providers plus a cache.
|
|
275
|
-
*
|
|
276
|
-
* Two ways to read. `get` is transparent - it walks the chain and takes
|
|
277
|
-
* the first hit, and the caller never learns which store answered. `getfrom`
|
|
278
|
-
* is directed - it names the store, and only that store is asked. Use the
|
|
279
|
-
* first for ordinary configuration, the second when *which* store holds a
|
|
280
|
-
* secret is part of what you mean. */
|
|
281
202
|
export class Sekreto {
|
|
282
203
|
/** The voxgig/plugin host every spec'd provider is an instance of.
|
|
283
204
|
* Read it for introspection - `host.list()` names each store's ref and
|
|
284
205
|
* status - and nothing on it advances the chain. */
|
|
285
206
|
readonly host: Host
|
|
286
|
-
/** The definitions this Sekreto can build: the built-ins plus what
|
|
287
|
-
* `plugins` handed in. */
|
|
288
207
|
readonly catalog: Catalog
|
|
289
208
|
|
|
290
209
|
private entries: Entry[]
|
|
@@ -298,10 +217,6 @@ export class Sekreto {
|
|
|
298
217
|
constructor(options?: SekretoOptions) {
|
|
299
218
|
const opts = options || {}
|
|
300
219
|
|
|
301
|
-
// Built-ins first, then the plugins, into one catalog: a plugin that
|
|
302
|
-
// names a built-in kind replaces it, which is how a host substitutes
|
|
303
|
-
// an implementation and never an accident, because the four names
|
|
304
|
-
// are documented.
|
|
305
220
|
this.catalog = makecatalog(BUILTINS.concat(opts.plugins || []))
|
|
306
221
|
this.host = makehost({ catalog: this.catalog })
|
|
307
222
|
|
|
@@ -318,13 +233,6 @@ export class Sekreto {
|
|
|
318
233
|
this.seen = []
|
|
319
234
|
}
|
|
320
235
|
|
|
321
|
-
/** One chain entry, as a plugin instance.
|
|
322
|
-
*
|
|
323
|
-
* The instance is `kind` for a store named after its kind and
|
|
324
|
-
* `kind$store` otherwise - `hashicorp$prod` - so `host.list()` reads
|
|
325
|
-
* like the chain. A store name that is already taken gets a numbered
|
|
326
|
-
* tag from the host instead, because two providers MAY share a store
|
|
327
|
-
* name (a directed read walks both) and an instance ref may not. */
|
|
328
236
|
private declare(spec: ProviderSpec): Entry {
|
|
329
237
|
const kind = null == spec ? undefined : spec.kind
|
|
330
238
|
|
|
@@ -357,7 +265,6 @@ export class Sekreto {
|
|
|
357
265
|
return { store, ref, provider: this.host.exports(ref + '/' + PROVIDER_EXPORT) as Provider }
|
|
358
266
|
}
|
|
359
267
|
|
|
360
|
-
/** The secret, or a SekretoError if no provider has it. */
|
|
361
268
|
async get(name: Name): Promise<string> {
|
|
362
269
|
const found = await this.try(name)
|
|
363
270
|
|
|
@@ -368,13 +275,10 @@ export class Sekreto {
|
|
|
368
275
|
return found
|
|
369
276
|
}
|
|
370
277
|
|
|
371
|
-
/** The secret, or undefined if no provider has it. */
|
|
372
278
|
async try(name: Name): Promise<string | undefined> {
|
|
373
279
|
return this.resolve('', name, this.entries)
|
|
374
280
|
}
|
|
375
281
|
|
|
376
|
-
/** The secret from one named store, or a SekretoError if that store does
|
|
377
|
-
* not have it. */
|
|
378
282
|
async getfrom(store: string, name: Name): Promise<string> {
|
|
379
283
|
const found = await this.tryfrom(store, name)
|
|
380
284
|
|
|
@@ -385,12 +289,6 @@ export class Sekreto {
|
|
|
385
289
|
return found
|
|
386
290
|
}
|
|
387
291
|
|
|
388
|
-
/** The secret from one named store, or undefined if that store does not
|
|
389
|
-
* have it.
|
|
390
|
-
*
|
|
391
|
-
* Naming a store that is not in the chain is an error, not a miss: `try`
|
|
392
|
-
* already means "this store may not have it", so it cannot also mean
|
|
393
|
-
* "this store may not exist" without hiding a typo. */
|
|
394
292
|
async tryfrom(store: string, name: Name): Promise<string | undefined> {
|
|
395
293
|
const matching = this.entries.filter((entry) => entry.store === store)
|
|
396
294
|
|
|
@@ -426,17 +324,14 @@ export class Sekreto {
|
|
|
426
324
|
return undefined
|
|
427
325
|
}
|
|
428
326
|
|
|
429
|
-
/** Does any provider have this secret? */
|
|
430
327
|
async has(name: Name): Promise<boolean> {
|
|
431
328
|
return undefined !== (await this.try(name))
|
|
432
329
|
}
|
|
433
330
|
|
|
434
|
-
/** Does this named store have this secret? */
|
|
435
331
|
async hasin(store: string, name: Name): Promise<boolean> {
|
|
436
332
|
return undefined !== (await this.tryfrom(store, name))
|
|
437
333
|
}
|
|
438
334
|
|
|
439
|
-
/** Every named secret at once. Missing ones are an error. */
|
|
440
335
|
async all(names: Name[]): Promise<Record<string, string>> {
|
|
441
336
|
const out: Record<string, string> = {}
|
|
442
337
|
|
|
@@ -447,21 +342,6 @@ export class Sekreto {
|
|
|
447
342
|
return out
|
|
448
343
|
}
|
|
449
344
|
|
|
450
|
-
/** What a Sekreto shows of itself when something prints it.
|
|
451
|
-
*
|
|
452
|
-
* `console.log(sekreto)` and `JSON.stringify(sekreto)` both reach
|
|
453
|
-
* `cache` and `seen`, which between them hold every value this chain
|
|
454
|
-
* has ever resolved — so one ordinary logging call writes every secret
|
|
455
|
-
* to the log. `private` is a compile-time fiction: at run time the
|
|
456
|
-
* fields are ordinary and enumerable.
|
|
457
|
-
*
|
|
458
|
-
* `JSON.stringify` is the one that bites hardest, because a structured
|
|
459
|
-
* logger serialises its whole context object without anyone writing a
|
|
460
|
-
* line about secrets: `logger.info({ secrets: sekreto }, 'ready')`.
|
|
461
|
-
*
|
|
462
|
-
* Both hooks are needed. `toJSON` covers `JSON.stringify` and
|
|
463
|
-
* everything built on it; the inspect symbol covers `console.log`,
|
|
464
|
-
* `util.inspect` and the REPL. Neither reaches a value. */
|
|
465
345
|
toJSON(): object {
|
|
466
346
|
return { stores: this.stores() }
|
|
467
347
|
}
|
|
@@ -470,13 +350,10 @@ export class Sekreto {
|
|
|
470
350
|
return 'Sekreto { stores: [ ' + this.stores().join(', ') + ' ] }'
|
|
471
351
|
}
|
|
472
352
|
|
|
473
|
-
/** A description of each provider, in resolution order. */
|
|
474
353
|
sources(): string[] {
|
|
475
354
|
return this.entries.map((entry) => entry.provider.describe())
|
|
476
355
|
}
|
|
477
356
|
|
|
478
|
-
/** The name of each store that can be named by `getfrom`, in resolution
|
|
479
|
-
* order and without repeats. */
|
|
480
357
|
stores(): string[] {
|
|
481
358
|
const out: string[] = []
|
|
482
359
|
|
|
@@ -489,15 +366,10 @@ export class Sekreto {
|
|
|
489
366
|
return out
|
|
490
367
|
}
|
|
491
368
|
|
|
492
|
-
/** Replace every value this Sekreto has resolved with `[redacted]`.
|
|
493
|
-
*
|
|
494
|
-
* Works whether or not caching is enabled: the redaction list is kept
|
|
495
|
-
* independently of the read cache. */
|
|
496
369
|
redact(text: string): string {
|
|
497
370
|
return redact(text, this.seen)
|
|
498
371
|
}
|
|
499
372
|
|
|
500
|
-
/** Drop cached values, so the next `get` asks the providers again. */
|
|
501
373
|
refresh(): void {
|
|
502
374
|
this.cache = []
|
|
503
375
|
}
|
|
@@ -514,7 +386,6 @@ export class Sekreto {
|
|
|
514
386
|
}
|
|
515
387
|
}
|
|
516
388
|
|
|
517
|
-
/** Make a Sekreto from options. */
|
|
518
389
|
export function sekreto(options?: SekretoOptions): Sekreto {
|
|
519
390
|
return new Sekreto(options)
|
|
520
391
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// VENDORED: @voxgig/sekreto 0.2.0 (typescript/src/index.ts)
|
|
2
|
-
// Source: https://github.com/voxgig/sekreto @
|
|
2
|
+
// Source: https://github.com/voxgig/sekreto @ 163f537960de6813cc393b89843949ca3afa8cfc [tag: sdk-20260925-1316-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
// @voxgig/sekreto - one interface for secrets, wherever they live.
|
|
5
5
|
|
|
@@ -18,26 +18,6 @@ export {
|
|
|
18
18
|
|
|
19
19
|
export type { Name, SekretoOptions } from './Sekreto'
|
|
20
20
|
|
|
21
|
-
// THE CORE SURFACE: the chain, the four built-in provider kinds, and the
|
|
22
|
-
// means of adding a fifth.
|
|
23
|
-
//
|
|
24
|
-
// The built-ins are the kinds that read at most a local file - env,
|
|
25
|
-
// memory, dotenv, file. Everything that opens a socket, spawns a process
|
|
26
|
-
// or signs a request is a PLUGIN, is not reachable from this file, and
|
|
27
|
-
// is handed to `Sekreto` by the calling project:
|
|
28
|
-
//
|
|
29
|
-
// import { Sekreto } from '@voxgig/sekreto'
|
|
30
|
-
// import { hashicorp } from '@voxgig/sekreto/plugins/hashicorp'
|
|
31
|
-
//
|
|
32
|
-
// const secrets = new Sekreto({
|
|
33
|
-
// plugins: [hashicorp],
|
|
34
|
-
// providers: [{ kind: 'env' }, { kind: 'hashicorp', addr, token }],
|
|
35
|
-
// })
|
|
36
|
-
//
|
|
37
|
-
// or, for every kind at once, `allplugins` from '@voxgig/sekreto/plugins'.
|
|
38
|
-
// Re-exporting a plugin here would put AWS request signing in every
|
|
39
|
-
// build again, which is the thing the split removes. See
|
|
40
|
-
// docs/design/plugin-providers.md.
|
|
41
21
|
export { envprovider } from './provider/env'
|
|
42
22
|
export { memoryprovider } from './provider/memory'
|
|
43
23
|
export { dotenvprovider } from './provider/dotenv'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// VENDORED: @voxgig/sekreto 0.2.0 (typescript/plugins/aws.ts)
|
|
2
|
-
// Source: https://github.com/voxgig/sekreto @
|
|
2
|
+
// Source: https://github.com/voxgig/sekreto @ 163f537960de6813cc393b89843949ca3afa8cfc [tag: sdk-20260925-1316-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* Copyright (c) 2025 Voxgig Ltd, MIT License */
|
|
5
5
|
|
|
@@ -10,7 +10,6 @@ import { checkaddr } from '../provider/addr'
|
|
|
10
10
|
import { sigv4 } from './sigv4'
|
|
11
11
|
import { fetchjson } from './httpjson'
|
|
12
12
|
|
|
13
|
-
/** The `YYYYMMDDTHHMMSSZ` timestamp SigV4 wants, for now. */
|
|
14
13
|
function awsnow(): string {
|
|
15
14
|
return new Date()
|
|
16
15
|
.toISOString()
|
|
@@ -56,7 +55,6 @@ function awsauth(opts: Awsopts): {
|
|
|
56
55
|
return { region, keyid, secret, session }
|
|
57
56
|
}
|
|
58
57
|
|
|
59
|
-
/** One signed call to an AWS JSON-1.1 API. */
|
|
60
58
|
async function awscall(
|
|
61
59
|
opts: Awsopts,
|
|
62
60
|
service: string,
|
|
@@ -100,14 +98,6 @@ function awsmiss(body: any, types: string[]): boolean {
|
|
|
100
98
|
return types.some((name) => errtype.includes(name))
|
|
101
99
|
}
|
|
102
100
|
|
|
103
|
-
/** AWS Secrets Manager.
|
|
104
|
-
*
|
|
105
|
-
* `api.token` reads the secret named `api` (the vaultref path, so
|
|
106
|
-
* `db.pass.main` reads `db/pass`) and takes the `token` field of its
|
|
107
|
-
* JSON SecretString - the AWS idiom of one JSON map per secret. A
|
|
108
|
-
* SecretString that is not JSON is the value itself, under the
|
|
109
|
-
* conventional field `value`. Requests are SigV4-signed in-tree; see
|
|
110
|
-
* Sigv4.ts. */
|
|
111
101
|
export function awssecretsprovider(options?: Awsopts): Provider {
|
|
112
102
|
const opts = options || {}
|
|
113
103
|
|
|
@@ -155,7 +145,6 @@ export function awssecretsprovider(options?: Awsopts): Provider {
|
|
|
155
145
|
return undefined === value || null === value ? undefined : String(value)
|
|
156
146
|
}
|
|
157
147
|
|
|
158
|
-
// A plain-string secret is the whole value; it has no named fields.
|
|
159
148
|
return 'value' === ref.field ? text : undefined
|
|
160
149
|
},
|
|
161
150
|
// Config only, never the environment: describe() feeds the spec's
|
|
@@ -195,10 +184,6 @@ export function awsparamsprovider(options?: Awsopts): Provider {
|
|
|
195
184
|
}
|
|
196
185
|
|
|
197
186
|
|
|
198
|
-
/** The two plugins. Both need HTTPS and HMAC-SHA256 - the one crypto
|
|
199
|
-
* dependency in the library, which is why this is a plugin rather than
|
|
200
|
-
* a built-in: `sigv4` is exported from here and from nowhere in the
|
|
201
|
-
* core. */
|
|
202
187
|
export const awssecrets = providerplugin('awssecrets', (spec: ProviderSpec) =>
|
|
203
188
|
awssecretsprovider(spec))
|
|
204
189
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// VENDORED: @voxgig/sekreto 0.2.0 (typescript/plugins/azuresecrets.ts)
|
|
2
|
-
// Source: https://github.com/voxgig/sekreto @
|
|
2
|
+
// Source: https://github.com/voxgig/sekreto @ 163f537960de6813cc393b89843949ca3afa8cfc [tag: sdk-20260925-1316-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* Copyright (c) 2025 Voxgig Ltd, MIT License */
|
|
5
5
|
|
|
@@ -7,17 +7,6 @@ import { ProviderSpec, Provider, SekretoError, flatname, providerplugin } from '
|
|
|
7
7
|
import { checkaddr } from '../provider/addr'
|
|
8
8
|
import { fetchjson } from './httpjson'
|
|
9
9
|
|
|
10
|
-
/** Azure Key Vault.
|
|
11
|
-
*
|
|
12
|
-
* `api.token` reads secret `api-token` (dots flattened to `-`; Key
|
|
13
|
-
* Vault names allow nothing else), current version. The token comes
|
|
14
|
-
* from config, then a client-credentials login when tenant/clientid/
|
|
15
|
-
* clientsecret are given, then the IMDS managed-identity endpoint - so
|
|
16
|
-
* on Azure's own platform no credential configuration is needed.
|
|
17
|
-
*
|
|
18
|
-
* As with GCP, the IMDS call is plain http to a link-local host by
|
|
19
|
-
* platform design and carries no credential; the login and vault
|
|
20
|
-
* addresses are `checkaddr`-guarded. */
|
|
21
10
|
export function azuresecretsprovider(options?: {
|
|
22
11
|
vault?: string
|
|
23
12
|
token?: string
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// VENDORED: @voxgig/sekreto 0.2.0 (typescript/plugins/boru.ts)
|
|
2
|
-
// Source: https://github.com/voxgig/sekreto @
|
|
2
|
+
// Source: https://github.com/voxgig/sekreto @ 163f537960de6813cc393b89843949ca3afa8cfc [tag: sdk-20260925-1316-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* Copyright (c) 2025 Voxgig Ltd, MIT License */
|
|
5
5
|
|
|
@@ -9,30 +9,6 @@ import {
|
|
|
9
9
|
import { checkaddr } from '../provider/addr'
|
|
10
10
|
import { fetchjson } from './httpjson'
|
|
11
11
|
|
|
12
|
-
/** A boru vault (https://github.com/boru-lang/boru).
|
|
13
|
-
*
|
|
14
|
-
* Two ways in, both boru's own.
|
|
15
|
-
*
|
|
16
|
-
* With no `addr`, the CLI: `boru vault get --reveal <alias>` prints the
|
|
17
|
-
* secret on stdout and nothing else. The passphrase is read by boru
|
|
18
|
-
* itself from `BORU_VAULT_PASSPHRASE`; sekreto never accepts it as
|
|
19
|
-
* config and never puts it on a command line, where it would show up in
|
|
20
|
-
* the process table.
|
|
21
|
-
*
|
|
22
|
-
* With an `addr`, boru's wire protocol: `boru vault serve` publishes a
|
|
23
|
-
* read-only, HashiCorp-shaped provision API (boru's
|
|
24
|
-
* design/VAULT-WIRE-PROTOCOL.0.md), authenticated by a capability token
|
|
25
|
-
* from `boru vault grant`. A sekreto name is already a valid boru
|
|
26
|
-
* alias, and boru aliases keep their dots, so `api.token` is the single
|
|
27
|
-
* path segment `api.token` - not the `api`/`token` split a HashiCorp KV
|
|
28
|
-
* gets. The value is the `value` field. A 404 is a miss; anything else
|
|
29
|
-
* the server refuses (a revoked capability, a sealed vault) is an
|
|
30
|
-
* error.
|
|
31
|
-
*
|
|
32
|
-
* boru's `vault proxy` and `vault mcp` remain out of bounds: they are a
|
|
33
|
-
* credential *broker*, built precisely so the caller never receives the
|
|
34
|
-
* credential. `vault serve` is the provision endpoint, built to hand
|
|
35
|
-
* the value back - that is the one sekreto uses. */
|
|
36
12
|
export function boruprovider(options?: {
|
|
37
13
|
command?: string
|
|
38
14
|
namespace?: string
|
|
@@ -112,8 +88,6 @@ export function boruprovider(options?: {
|
|
|
112
88
|
}
|
|
113
89
|
}
|
|
114
90
|
|
|
115
|
-
/** Does this boru failure mean "no such secret" rather than "I could not
|
|
116
|
-
* answer"? Matched on boru's own wording for a missing alias. */
|
|
117
91
|
function borumiss(why: string): boolean {
|
|
118
92
|
return /no alias named/.test(why)
|
|
119
93
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// VENDORED: @voxgig/sekreto 0.2.0 (typescript/plugins/doppler.ts)
|
|
2
|
-
// Source: https://github.com/voxgig/sekreto @
|
|
2
|
+
// Source: https://github.com/voxgig/sekreto @ 163f537960de6813cc393b89843949ca3afa8cfc [tag: sdk-20260925-1316-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* Copyright (c) 2025 Voxgig Ltd, MIT License */
|
|
5
5
|
|
|
@@ -7,12 +7,6 @@ import { ProviderSpec, Provider, SekretoError, envkey, providerplugin } from '..
|
|
|
7
7
|
import { checkaddr } from '../provider/addr'
|
|
8
8
|
import { fetchjson } from './httpjson'
|
|
9
9
|
|
|
10
|
-
/** Doppler.
|
|
11
|
-
*
|
|
12
|
-
* The whole config is downloaded once - Doppler's own bulk endpoint -
|
|
13
|
-
* and answered from memory, like a remote .env: `api.token` is the
|
|
14
|
-
* `API_TOKEN` entry. A service token is config-scoped, so project and
|
|
15
|
-
* config are only needed with broader tokens. */
|
|
16
10
|
export function dopplerprovider(options?: {
|
|
17
11
|
token?: string
|
|
18
12
|
project?: string
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// VENDORED: @voxgig/sekreto 0.2.0 (typescript/plugins/gcpsecrets.ts)
|
|
2
|
-
// Source: https://github.com/voxgig/sekreto @
|
|
2
|
+
// Source: https://github.com/voxgig/sekreto @ 163f537960de6813cc393b89843949ca3afa8cfc [tag: sdk-20260925-1316-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* Copyright (c) 2025 Voxgig Ltd, MIT License */
|
|
5
5
|
|
|
@@ -9,17 +9,6 @@ import {
|
|
|
9
9
|
import { checkaddr } from '../provider/addr'
|
|
10
10
|
import { fetchjson } from './httpjson'
|
|
11
11
|
|
|
12
|
-
/** GCP Secret Manager.
|
|
13
|
-
*
|
|
14
|
-
* `api.token` reads secret `api_token` (dots flattened to `_`; Secret
|
|
15
|
-
* Manager ids have no hierarchy and reject dots), latest version. The
|
|
16
|
-
* token comes from config, then `GOOGLE_OAUTH_ACCESS_TOKEN`, then the
|
|
17
|
-
* GCE/GKE metadata server - so on Google's own platform no credential
|
|
18
|
-
* configuration is needed at all.
|
|
19
|
-
*
|
|
20
|
-
* The metadata call itself is plain http to a link-local host by
|
|
21
|
-
* platform design; no credential rides on it, so `checkaddr` guards the
|
|
22
|
-
* Secret Manager address instead. */
|
|
23
12
|
export function gcpsecretsprovider(options?: {
|
|
24
13
|
project?: string
|
|
25
14
|
token?: string
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// VENDORED: @voxgig/sekreto 0.2.0 (typescript/plugins/hashicorp.ts)
|
|
2
|
-
// Source: https://github.com/voxgig/sekreto @
|
|
2
|
+
// Source: https://github.com/voxgig/sekreto @ 163f537960de6813cc393b89843949ca3afa8cfc [tag: sdk-20260925-1316-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* Copyright (c) 2025 Voxgig Ltd, MIT License */
|
|
5
5
|
|
|
@@ -9,20 +9,6 @@ import {
|
|
|
9
9
|
import { checkaddr } from '../provider/addr'
|
|
10
10
|
import { fetchjson } from './httpjson'
|
|
11
11
|
|
|
12
|
-
/** HashiCorp Vault.
|
|
13
|
-
*
|
|
14
|
-
* KV v2 (the default): `api.token` reads `{addr}/v1/{mount}/data/api`
|
|
15
|
-
* and takes the `token` field of `data.data`. KV v1 (`kv: 1`) reads
|
|
16
|
-
* `{addr}/v1/{mount}/api` and takes the field of `data`. A 404 means
|
|
17
|
-
* "not here" - a miss - so a vault can sit in a chain with fallbacks.
|
|
18
|
-
*
|
|
19
|
-
* A Vault Enterprise namespace rides the X-Vault-Namespace header, on
|
|
20
|
-
* logins as well as reads.
|
|
21
|
-
*
|
|
22
|
-
* Instead of being handed a token, the provider can log in: Kubernetes
|
|
23
|
-
* auth (the pod's service-account JWT, from its conventional path) or
|
|
24
|
-
* AppRole. A failed login is an error, never a miss - it means this
|
|
25
|
-
* store could not answer at all. */
|
|
26
12
|
export function hashicorpprovider(
|
|
27
13
|
addr: string,
|
|
28
14
|
token: string,
|
|
@@ -1,37 +1,14 @@
|
|
|
1
1
|
// VENDORED: @voxgig/sekreto 0.2.0 (typescript/plugins/httpjson.ts)
|
|
2
|
-
// Source: https://github.com/voxgig/sekreto @
|
|
2
|
+
// Source: https://github.com/voxgig/sekreto @ 163f537960de6813cc393b89843949ca3afa8cfc [tag: sdk-20260925-1316-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* Copyright (c) 2025 Voxgig Ltd, MIT License */
|
|
5
5
|
|
|
6
6
|
import { SekretoError } from '../provider/support'
|
|
7
7
|
|
|
8
|
-
/** How long any single vault round-trip may take before it is treated as
|
|
9
|
-
* unreachable. Ports carry the same bound. */
|
|
10
8
|
const HTTP_TIMEOUT_MS = 10000
|
|
11
9
|
|
|
12
|
-
/** How much of a response body will be read before the store is treated as
|
|
13
|
-
* having answered incoherently. Ports carry the same bound.
|
|
14
|
-
*
|
|
15
|
-
* Far above anything real. The largest legitimate payload this library
|
|
16
|
-
* fetches is Doppler's whole-config download, measured in kilobytes; a
|
|
17
|
-
* megabyte would do. Eight is chosen so that no honest store can meet it
|
|
18
|
-
* and the check never has to be reasoned about again.
|
|
19
|
-
*
|
|
20
|
-
* A bound is needed because the timeout is not one. Ten seconds on a
|
|
21
|
-
* loopback or datacentre link is gigabytes, and the body is accumulated
|
|
22
|
-
* in memory before it is parsed — measured at 3.2 GB in one port before
|
|
23
|
-
* this. Worse where a client advertises gzip and decompresses
|
|
24
|
-
* transparently, since a few hundred kilobytes of zeros expands to
|
|
25
|
-
* gigabytes in the client's heap. This is a secrets chain running on an
|
|
26
|
-
* application's startup path, so the failure is the application never
|
|
27
|
-
* starting. */
|
|
28
10
|
const HTTP_MAXBODY = 8 * 1024 * 1024
|
|
29
11
|
|
|
30
|
-
/** One JSON round-trip. Network failure is always an error - an
|
|
31
|
-
* unreachable store is a store that could not answer.
|
|
32
|
-
*
|
|
33
|
-
* Shared by every plugin that speaks HTTP, and by nothing in the core:
|
|
34
|
-
* a chain of built-ins never reaches this file. */
|
|
35
12
|
export async function fetchjson(
|
|
36
13
|
method: string,
|
|
37
14
|
url: string,
|
|
@@ -49,19 +26,12 @@ export async function fetchjson(
|
|
|
49
26
|
// https to http), which checkaddr - it only validates the configured
|
|
50
27
|
// address - cannot see. Refuse to follow one.
|
|
51
28
|
redirect: 'error',
|
|
52
|
-
// Bound the wait so an accepted-but-silent endpoint cannot hang the
|
|
53
|
-
// caller (and the app's startup) forever.
|
|
54
29
|
signal: AbortSignal.timeout(HTTP_TIMEOUT_MS),
|
|
55
30
|
})
|
|
56
31
|
} catch (err: any) {
|
|
57
32
|
throw new SekretoError('sekreto: cannot reach ' + url.split('?')[0] + ': ' + err.message)
|
|
58
33
|
}
|
|
59
34
|
|
|
60
|
-
// Read in chunks against HTTP_MAXBODY rather than `res.json()`, which
|
|
61
|
-
// buffers whatever arrives. Over the bound the request is aborted and
|
|
62
|
-
// the store has failed: an endless body is a store that could not
|
|
63
|
-
// answer, and returning a miss there would fall through to a weaker
|
|
64
|
-
// store on an attacker's cue.
|
|
65
35
|
let text = ''
|
|
66
36
|
try {
|
|
67
37
|
const decoder = new TextDecoder()
|
|
@@ -86,10 +56,6 @@ export async function fetchjson(
|
|
|
86
56
|
try {
|
|
87
57
|
parsed = JSON.parse(text)
|
|
88
58
|
} catch (err: any) {
|
|
89
|
-
// A success status promised JSON; a body that does not parse means
|
|
90
|
-
// the store could not answer coherently, and treating it as a miss
|
|
91
|
-
// would fall through to a weaker store. Error statuses may carry
|
|
92
|
-
// any body - they are decided on status alone.
|
|
93
59
|
if (200 === res.status) {
|
|
94
60
|
throw new SekretoError('sekreto: malformed response from ' + url.split('?')[0])
|
|
95
61
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// VENDORED: @voxgig/sekreto 0.2.0 (typescript/plugins/infisical.ts)
|
|
2
|
-
// Source: https://github.com/voxgig/sekreto @
|
|
2
|
+
// Source: https://github.com/voxgig/sekreto @ 163f537960de6813cc393b89843949ca3afa8cfc [tag: sdk-20260925-1316-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* Copyright (c) 2025 Voxgig Ltd, MIT License */
|
|
5
5
|
|
|
@@ -7,12 +7,6 @@ import { ProviderSpec, Provider, SekretoError, envkey, providerplugin } from '..
|
|
|
7
7
|
import { checkaddr } from '../provider/addr'
|
|
8
8
|
import { fetchjson } from './httpjson'
|
|
9
9
|
|
|
10
|
-
/** Infisical.
|
|
11
|
-
*
|
|
12
|
-
* `api.token` reads the secret keyed `API_TOKEN` (Infisical's own
|
|
13
|
-
* convention is environment-style keys) at a secret path in one
|
|
14
|
-
* environment of a project. Auth is a token, or a universal-auth
|
|
15
|
-
* (machine identity) login with clientid/clientsecret. */
|
|
16
10
|
export function infisicalprovider(options?: {
|
|
17
11
|
addr?: string
|
|
18
12
|
token?: string
|