diff --git a/lib/fog/openstack.rb b/lib/fog/openstack.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/openstack.rb
+++ b/lib/fog/openstack.rb
@@ -92,7 +92,7 @@ module Fog
           'auth' => {
             'passwordCredentials'  => {
               'username' => @openstack_username,
-              'password' => @openstack_api_key
+              'password' => @openstack_api_key.to_s
             }
           }
         }
[openstack] Ensure password sent is of type string