    # File lib/fog/joyent/requests/compute/create_key.rb, line 41
            def create_key(params={})
              raise ArgumentError, "error creating key: [name] is required" unless params[:name]
              raise ArgumentError, "error creating key: [key] is required" unless params[:key]

              request(
                :method => "POST",
                :path => "/my/keys",
                :body => { "name" => params[:name], "key" => params[:key] },
                :expects => 201
              )
            end