1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Revert "[joyent|compute] make password required"

This reverts commit 6e93321e29.

The reason for reverting this is Joyent's CloudAPI allows authenticating using
either a username/password credential pair OR using a username and SSH private key.

In http-signature authentication scheme, no password is used.
This commit is contained in:
Kevin Chan 2012-02-21 16:17:54 +08:00 committed by geemus
parent 5b733a4833
commit 501ad27c0f

View file

@ -5,9 +5,12 @@ require 'multi_json'
module Fog
module Compute
class Joyent < Fog::Service
requires :joyent_password, :joyent_username
requires :joyent_username
recognizes :joyent_keyfile, :joyent_keyname, :joyent_url
recognizes :joyent_password
recognizes :joyent_url
recognizes :joyent_keyname
recognizes :joyent_keyfile
model_path 'fog/joyent/models/compute'
request_path 'fog/joyent/requests/compute'