diff --git a/rust/cubestore/cubestore/src/remotefs/s3.rs b/rust/cubestore/cubestore/src/remotefs/s3.rs index 518816982d5c0..7e42fd2b941cd 100644 --- a/rust/cubestore/cubestore/src/remotefs/s3.rs +++ b/rust/cubestore/cubestore/src/remotefs/s3.rs @@ -59,7 +59,7 @@ impl S3RemoteFs { )) })?; - let role_name = env::var("CUBESTORE_AWS_ROLE").ok(); + let role_name = env::var("CUBESTORE_AWS_IAM_ROLE").ok(); let (access_key, secret_key) = match role_name { Some(role_name) => { assume_role(&role_name, ®ion.to_string()).await