Language

AzureIdentityForKubernetesClientAssertion クラス

定義

Kubernetes Services のコンテナーでアプリが実行されている場合に、kubernetes のワークロード ID Azureから署名付きアサーションAzure取得します。 https://aka.ms/ms-id-web/certificatelessを参照してください。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
継承
AzureIdentityForKubernetesClientAssertion

コンストラクター

Name 説明
AzureIdentityForKubernetesClientAssertion(ILogger)

kubernetes のワークロード ID Azure署名付きアサーションを取得します。 ファイル パスは環境変数 ("AZURE_FEDERATED_TOKEN_FILE") によって提供されます。 https://aka.ms/ms-id-web/certificatelessを参照してください。

AzureIdentityForKubernetesClientAssertion(String, ILogger)

ファイルから署名付きアサーションを取得します。 https://aka.ms/ms-id-web/certificatelessを参照してください。

プロパティ

Name 説明
Expiry

クライアント アサーションの有効期限。

(継承元 ClientAssertionProviderBase)
SupportsTokenBinding

このプロバイダーが署名付きアサーションと共にバインド証明書を生成できるかどうかを示します。これにより、外部機密クライアントは mTLS 所有証明トークンを発行できます。 既定値は false です。オプトインするプロバイダーは、このプロパティをオーバーライドしてtrueし、null 以外のClientSignedAssertionを返すGetSignedAssertionWithBindingAsync(AssertionRequestOptions, CancellationToken)をオーバーライドする必要があります。

(継承元 ClientAssertionProviderBase)

メソッド

Name 説明
GetClientAssertionAsync(AssertionRequestOptions)

署名付きアサーションをファイルから取得します。

GetSignedAssertionAsync(AssertionRequestOptions)

署名されたアサーションを取得します (必要に応じて更新します)。

(継承元 ClientAssertionProviderBase)
GetSignedAssertionWithBindingAsync(AssertionRequestOptions, CancellationToken)

mTLS Proof-of-Possession 用に構成された機密クライアントによって使用される、署名付きアサーションとそのバインド証明書を取得します。 プロバイダーがトークン バインディング (既定値) をサポートしていない場合に null を返します。

(継承元 ClientAssertionProviderBase)

適用対象