CertificateCredential.DefinitionStages.WithAuthFileCertificate<ParentT> Interface

Type Parameters

ParentT

public static interface CertificateCredential.DefinitionStages.WithAuthFileCertificate

A credential definition stage allowing specifying the private key for exporting an auth file.

Method Summary

Modifier and Type Method and Description
abstract WithAuthFileCertificatePassword<ParentT> withPrivateKeyFile(String privateKeyPath)

Export the information of this service principal into an auth file.

Method Details

withPrivateKeyFile

public abstract CertificateCredential.DefinitionStages.WithAuthFileCertificatePassword withPrivateKeyFile(String privateKeyPath)

Export the information of this service principal into an auth file.

Parameters:

privateKeyPath - the path to the private key file

Returns:

the next stage in credential definition

Applies to