Sha256: dbdd85be1e53bebda78ba4c2babeb49e0c766bb7c007f6f4fffcce55a3a0aeac

Contents?: true

Size: 852 Bytes

Versions: 1

Compression:

Stored size: 852 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # This command allows a user to register for the developer API, returning a secret key and an API key. This request is made through the integration API port, so it is a privileged command and must be made on behalf of a user. It is up to the implementer just how the username and password are entered, and then how that translates to an integration API request. Both secret key and API key should be returned to the user
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/registerUserKeys.html]
        def register_user_keys(id, options={})
          options.merge!(
            'command' => 'registerUserKeys', 
            'id' => id  
          )
          request(options)
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-1.23.0 lib/fog/cloudstack/requests/compute/register_user_keys.rb