Skip to content

Commit

Permalink
prints for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechsromek committed Jan 2, 2025
1 parent ec7f042 commit 01217b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iris-mpc-common/src/helpers/key_pair.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ impl SharesEncryptionKeyPairs {
.aws
.and_then(|aws| aws.region)
.unwrap_or_else(|| REGION.to_owned());
tracing::info!("Using region: {} for key pair download", region);
let region_provider = Region::new(region);
let shared_config = aws_config::from_env().region(region_provider).load().await;
let client = SecretsManagerClient::new(&shared_config);
Expand Down Expand Up @@ -199,6 +200,7 @@ async fn download_private_key_from_asm(
version_stage: &str,
) -> Result<String, SharesDecodingError> {
let private_key_secret_id: String = format!("{}/iris-mpc/ecdh-private-key-{}", env, node_id);
tracing::info!("Downloading private key from Secrets Manager: {}", private_key_secret_id);
match client
.get_secret_value()
.secret_id(private_key_secret_id)
Expand Down

0 comments on commit 01217b0

Please sign in to comment.