Compartir a través de


AzureIdentityForKubernetesClientAssertion Class

Definition

Gets a signed assertion from Azure workload identity for kubernetes when an app is running in a container in Azure Kubernetes Services. See https://aka.ms/ms-id-web/certificateless and https://learn.microsoft.com/azure/aks/workload-identity-overview

public class AzureIdentityForKubernetesClientAssertion : Microsoft.Identity.Web.ClientAssertionProviderBase
type AzureIdentityForKubernetesClientAssertion = class
    inherit ClientAssertionProviderBase
Public Class AzureIdentityForKubernetesClientAssertion
Inherits ClientAssertionProviderBase
Inheritance
AzureIdentityForKubernetesClientAssertion

Constructors

AzureIdentityForKubernetesClientAssertion(ILogger)

Gets a signed assertion from Azure workload identity for kubernetes. The file path is provided by an environment variable ("AZURE_FEDERATED_TOKEN_FILE") See https://aka.ms/ms-id-web/certificateless.

AzureIdentityForKubernetesClientAssertion(String, ILogger)

Gets a signed assertion from a file. See https://aka.ms/ms-id-web/certificateless.

Properties

Expiry

Expiry of the client assertion.

(Inherited from ClientAssertionProviderBase)

Methods

GetClientAssertionAsync(AssertionRequestOptions)

Get the signed assertion from a file.

GetSignedAssertionAsync(AssertionRequestOptions)

Get the signed assertion (and refreshes it if needed).

(Inherited from ClientAssertionProviderBase)

Applies to