generateUserKey(opts) → {Promise.<String>}
Generates a new ssh key pair
Parameters:
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
Returns:
- Type:
-
Promise.<String>
- the id of the generated key
getRuntimeSettings(opts) → {Promise.<Object>}
Gets the runtime settings object
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
Returns:
- Type:
-
Promise.<Object>
- the runtime settings
getUserKey(opts) → {Promise.<String>}
Gets a user's ssh public key
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
Returns:
- Type:
-
Promise.<String>
- the user's ssh public key
getUserKeys(opts) → {Promise.<Object>}
Gets a list of a user's ssh keys
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
Returns:
- Type:
-
Promise.<Object>
- the user's ssh keys
getUserSettings(opts) → {Promise.<Object>}
Gets an individual user's settings object
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
Returns:
- Type:
-
Promise.<Object>
- the user settings
removeUserKey(opts) → {Promise}
Deletes a user's ssh key pair
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
Returns:
- Type:
-
Promise
- resolves when deleted
updateUserSettings(opts) → {Promise.<Object>}
Updates an individual user's settings object.
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
Returns:
- Type:
-
Promise.<Object>
- the user settings