@azure/identity
Version:
Provides credential implementations for Azure SDK libraries that can authenticate with Microsoft Entra ID
18 lines • 837 B
text/typescript
import type { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-auth";
import type { WorkloadIdentityCredentialOptions } from "./workloadIdentityCredentialOptions.js";
/**
* WorkloadIdentityCredential supports Microsoft Entra Workload ID authentication on Kubernetes.
* Refer to <a href="https://learn.microsoft.com/azure/aks/workload-identity-overview">Microsoft Entra Workload ID</a>
* for more information.
*/
export declare class WorkloadIdentityCredential implements TokenCredential {
/**
* Only available in Node.js
*/
constructor(_options?: WorkloadIdentityCredentialOptions);
/**
* Only available in Node.js
*/
getToken(_scopes: string | string[], _options?: GetTokenOptions): Promise<AccessToken | null>;
}
//# sourceMappingURL=workloadIdentityCredential-browser.d.mts.map