diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 04c0705..dcdd335 100644 --- a/src/main.rs +++ b/src/main.rs @@ -222,7 +222,10 @@ fn make_storage_creds(c: StorageCredsArgs) -> StorageCredentials { fn dump_config(password: &str, creds: &StorageCredentials) { println!("[login_static.users.<username>]"); - println!("password = \"{}\"", hash_password(password)); //TODO + println!( + "password = \"{}\"", + hash_password(password).expect("unable to hash password") + ); println!("aws_access_key_id = \"{}\"", creds.aws_access_key_id); println!( "aws_secret_access_key = \"{}\"", |