diff --git a/iris-mpc-common/src/bin/key_manager.rs b/iris-mpc-common/src/bin/key_manager.rs index 8f327f633..9f9935338 100644 --- a/iris-mpc-common/src/bin/key_manager.rs +++ b/iris-mpc-common/src/bin/key_manager.rs @@ -75,10 +75,8 @@ async fn main() -> eyre::Result<()> { let shared_config = aws_config::from_env().region(region_provider).load().await; let bucket_key_name = format!("{}-{}", PUBLIC_KEY_S3_KEY_NAME_PREFIX, args.node_id); - let private_key_secret_id: String = format!( - "{}/gpu-iris-mpc/ecdh-private-key-{}", - args.env, args.node_id - ); + let private_key_secret_id: String = + format!("{}/iris-mpc/ecdh-private-key-{}", args.env, args.node_id); match args.command { Commands::Rotate { diff --git a/iris-mpc-common/src/helpers/key_pair.rs b/iris-mpc-common/src/helpers/key_pair.rs index cb5312cea..c41554539 100644 --- a/iris-mpc-common/src/helpers/key_pair.rs +++ b/iris-mpc-common/src/helpers/key_pair.rs @@ -191,8 +191,7 @@ async fn download_private_key_from_asm( node_id: &str, version_stage: &str, ) -> Result { - let private_key_secret_id: String = - format!("{}/gpu-iris-mpc/ecdh-private-key-{}", env, node_id); + let private_key_secret_id: String = format!("{}/iris-mpc/ecdh-private-key-{}", env, node_id); match client .get_secret_value() .secret_id(private_key_secret_id)