Skip to content

Commit d41a5b7

Browse files
committed
Wip - compute authorization header
1 parent 725d373 commit d41a5b7

File tree

3 files changed

+301
-142
lines changed

3 files changed

+301
-142
lines changed

Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dns-resolver = ["dep:hickory-resolver", "dep:hickory-proto"]
4141
cert-key-password = ["dep:pem", "dep:pkcs8"]
4242

4343
# Enable support for MONGODB-AWS authentication.
44-
aws-auth = ["dep:reqwest", "aws-credential-types", "aws-types", "aws-config"]
44+
aws-auth = ["dep:reqwest", "aws-credential-types", "aws-types", "aws-config", "aws-sigv4", "http"]
4545

4646
# Enable support for on-demand Azure KMS credentials.
4747
azure-kms = ["dep:reqwest"]
@@ -143,6 +143,17 @@ version = "=1.73"
143143
optional = true
144144
default-features = false
145145

146+
[dependencies.aws-sigv4]
147+
version = "1.3.3"
148+
optional = true
149+
default-features = false
150+
features = ["sign-http"]
151+
152+
[dependencies.http]
153+
version = "1.3"
154+
optional = true
155+
default-features = false
156+
146157
[dependencies.bson2]
147158
git = "https://github.com/mongodb/bson-rust"
148159
branch = "2.15.x"

0 commit comments

Comments
 (0)