Interface INeonDesktopApi
Defines the Neon Desktop cluster management REST APIs.
Namespace: Neon.Kube.Models.Headend
Assembly: Neon.Kube.Models.dll
Syntax
[Target("all")]
[Target("headend")]
[ServiceModel("Headend", "NeonDesktop")]
[Route("")]
[ApiVersion("2023-04-06")]
public interface INeonDesktopApi
Methods
GetNeonDesktopCertificateAsync()
Returns the current Neon Desktop Certificate.
note
All Neon Desktop clusters share the same certificate. We don't consider this to be a security problem because Desktop Clusters are not reachable from outside the host machine and also becase desktop cluster should never be used for production.
Declaration
[HttpGet(null)]
[Route("neondesktop/certificate")]
IDictionary<string, byte[]> GetNeonDesktopCertificateAsync()
Returns
Type | Description |
---|---|
IDictionary<string, byte[]> | A dictionary with the certificate tls.crt and private tls.key. |