use of org.platformlayer.client.cli.PlatformLayerCliContext in project platformlayer by platformlayer.
the class ScriptCommands method getSshPublicKey.
public static Object getSshPublicKey(String serviceType) throws PlatformLayerClientException, JSONException {
PlatformLayerCliContext context = PlatformLayerCliContext.get();
PlatformLayerClient client = context.getPlatformLayerClient();
String key = client.getSshPublicKey(serviceType);
return toPython(key);
}
Aggregations