mirror of
https://github.com/apache/cloudstack
synced 2026-08-12 00:35:09 +00:00
These include five new API cmds as well as changes to deployVirtualMachine to specify an optional name of an SSH key to pass to the VM when starting. When an SSH key is specified with a password-enabled template the newly created password is encrypted with the SSH public key and can be retrieved via the getVMPassword cmd. It is then the user's responsibility to decrypt retrieved passwords with the correct SSH private key.
33 lines
546 B
Java
33 lines
546 B
Java
package com.cloud.user;
|
|
|
|
import com.cloud.acl.ControlledEntity;
|
|
|
|
public interface SSHKeyPair extends ControlledEntity {
|
|
|
|
/**
|
|
* @return The id of the key pair.
|
|
*/
|
|
public long getId();
|
|
|
|
/**
|
|
* @return The given name of the key pair.
|
|
*/
|
|
public String getName();
|
|
|
|
/**
|
|
* @return The finger print of the public key.
|
|
*/
|
|
public String getFingerprint();
|
|
|
|
/**
|
|
* @return The public key of the key pair.
|
|
*/
|
|
public String getPublicKey();
|
|
|
|
/**
|
|
* @return The private key of the key pair.
|
|
*/
|
|
public String getPrivateKey();
|
|
|
|
}
|