feat: Adds dump-configuration command.
This commit is contained in:
@@ -51,8 +51,8 @@ public struct VaultClient: Sendable {
|
||||
|
||||
@_spi(Internal)
|
||||
public enum Route: String, Equatable, Sendable {
|
||||
case encrypt
|
||||
case decrypt
|
||||
case encrypt
|
||||
|
||||
public var verb: String { rawValue }
|
||||
}
|
||||
@@ -65,12 +65,8 @@ extension VaultClient: DependencyKey {
|
||||
public static var liveValue: VaultClient {
|
||||
.init(
|
||||
run: .init(
|
||||
decrypt: {
|
||||
try await $0.run(route: .decrypt)
|
||||
},
|
||||
encrypt: {
|
||||
try await $0.run(route: .encrypt)
|
||||
}
|
||||
decrypt: { try await $0.run(route: .decrypt) },
|
||||
encrypt: { try await $0.run(route: .encrypt) }
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user