s3: use generate_random_password() instead of generate_random_str()