Are these two maps different when doing pattern matching?

Hey,
I guess you understand pattern very well the only thing is you are trying to pattern match a "string" against an :atom

%{"password" => _, "password_confirmation" => _}

%{password: _, password_confirmation: _}

Elixir differentiates between the two as they are different types