Skip to content

Commit

Permalink
apple-codesign: avoid deprecated aws_config API
Browse files Browse the repository at this point in the history
  • Loading branch information
indygreg committed Dec 22, 2023
1 parent 41beb18 commit 90e4182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apple-codesign/src/notarization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ impl Notarizer {
// upload using s3 api
warn!("resolving AWS S3 configuration from Apple-provided credentials");
let config = rt.block_on(
aws_config::from_env()
aws_config::defaults(aws_config::BehaviorVersion::latest())
.credentials_provider(Credentials::new(
submission.data.attributes.aws_access_key_id.clone(),
submission.data.attributes.aws_secret_access_key.clone(),
Expand Down

0 comments on commit 90e4182

Please sign in to comment.