    # File lib/fog/openstack/requests/identity/create_ec2_credential.rb, line 25
            def create_ec2_credential(user_id, tenant_id)
              data = { 'tenant_id' => tenant_id }

              request(
                :body    => MultiJson.encode(data),
                :expects => [200, 202],
                :method  => 'POST',
                :path    => "users/#{user_id}/credentials/OS-EC2"
              )
            end