Condividi tramite


ArmContainerServiceModelFactory.ManagedClusterJwtAuthenticatorProperties Method

Definition

The properties of JWTAuthenticator. For details on how to configure the properties of a JWT authenticator, please refer to the Kubernetes documentation: https://kubernetes.io/docs/reference/access-authn-authz/authentication/#using-authentication-configuration. Please note that not all fields available in the Kubernetes documentation are supported by AKS. For troubleshooting, please see https://aka.ms/aks-external-issuers-docs.

public static Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorProperties ManagedClusterJwtAuthenticatorProperties(Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorProvisioningState? provisioningState = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorIssuer issuer = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorValidationRule> claimValidationRules = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorClaimMappings claimMappings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorValidationRule> userValidationRules = default);
static member ManagedClusterJwtAuthenticatorProperties : Nullable<Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorProvisioningState> * Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorIssuer * seq<Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorValidationRule> * Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorClaimMappings * seq<Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorValidationRule> -> Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorProperties
Public Shared Function ManagedClusterJwtAuthenticatorProperties (Optional provisioningState As Nullable(Of ManagedClusterJwtAuthenticatorProvisioningState) = Nothing, Optional issuer As ManagedClusterJwtAuthenticatorIssuer = Nothing, Optional claimValidationRules As IEnumerable(Of ManagedClusterJwtAuthenticatorValidationRule) = Nothing, Optional claimMappings As ManagedClusterJwtAuthenticatorClaimMappings = Nothing, Optional userValidationRules As IEnumerable(Of ManagedClusterJwtAuthenticatorValidationRule) = Nothing) As ManagedClusterJwtAuthenticatorProperties

Parameters

provisioningState
Nullable<ManagedClusterJwtAuthenticatorProvisioningState>

The current provisioning state of the JWT authenticator.

issuer
ManagedClusterJwtAuthenticatorIssuer

The JWT OIDC issuer details.

claimValidationRules
IEnumerable<ManagedClusterJwtAuthenticatorValidationRule>

The rules that are applied to validate token claims to authenticate users. All the expressions must evaluate to true for validation to succeed.

claimMappings
ManagedClusterJwtAuthenticatorClaimMappings

The mappings that define how user attributes are extracted from the token claims.

userValidationRules
IEnumerable<ManagedClusterJwtAuthenticatorValidationRule>

The rules that are applied to the mapped user before completing authentication. All the expressions must evaluate to true for validation to succeed.

Returns

A new ManagedClusterJwtAuthenticatorProperties instance for mocking.

Applies to