Class ContainerServiceServicePrincipalProfile

java.lang.Object
com.microsoft.azure.management.containerservice.ContainerServiceServicePrincipalProfile

public class ContainerServiceServicePrincipalProfile extends Object
Information about a service principal identity for the cluster to use for manipulating Azure APIs. Either secret or keyVaultSecretRef must be specified.
  • Constructor Details

    • ContainerServiceServicePrincipalProfile

      public ContainerServiceServicePrincipalProfile()
  • Method Details

    • clientId

      public String clientId()
      Get the ID for the service principal.
      Returns:
      the clientId value
    • withClientId

      public ContainerServiceServicePrincipalProfile withClientId(String clientId)
      Set the ID for the service principal.
      Parameters:
      clientId - the clientId value to set
      Returns:
      the ContainerServiceServicePrincipalProfile object itself.
    • secret

      public String secret()
      Get the secret password associated with the service principal in plain text.
      Returns:
      the secret value
    • withSecret

      public ContainerServiceServicePrincipalProfile withSecret(String secret)
      Set the secret password associated with the service principal in plain text.
      Parameters:
      secret - the secret value to set
      Returns:
      the ContainerServiceServicePrincipalProfile object itself.
    • keyVaultSecretRef

      public KeyVaultSecretRef keyVaultSecretRef()
      Get reference to a secret stored in Azure Key Vault.
      Returns:
      the keyVaultSecretRef value
    • withKeyVaultSecretRef

      public ContainerServiceServicePrincipalProfile withKeyVaultSecretRef(KeyVaultSecretRef keyVaultSecretRef)
      Set reference to a secret stored in Azure Key Vault.
      Parameters:
      keyVaultSecretRef - the keyVaultSecretRef value to set
      Returns:
      the ContainerServiceServicePrincipalProfile object itself.