Class KubeApiCredentials

java.lang.Object
com.morpheusdata.response.KubeApiCredentials

public class KubeApiCredentials extends Object
Bootstrap credentials a KubernetesClusterProvider.CredentialsFacet supplies so that Morpheus can authenticate to a managed cluster's Kubernetes API server and create the long-lived morpheus service account it uses thereafter.

Managed offerings authenticate differently: EKS and GKE provide a bearer apiToken, while AKS provides a client certificate / key pair (clientCert / clientKey). Populate whichever fields the cloud issues; caCert and apiUrl are common to all.

  • Constructor Details

    • KubeApiCredentials

      public KubeApiCredentials()
  • Method Details

    • getApiUrl

      public String getApiUrl()
    • setApiUrl

      public void setApiUrl(String apiUrl)
    • getApiToken

      public String getApiToken()
    • setApiToken

      public void setApiToken(String apiToken)
    • getCaCert

      public String getCaCert()
    • setCaCert

      public void setCaCert(String caCert)
    • getClientCert

      public String getClientCert()
    • setClientCert

      public void setClientCert(String clientCert)
    • getClientKey

      public String getClientKey()
    • setClientKey

      public void setClientKey(String clientKey)