Interface PasswordCredential.DefinitionStages.WithAuthFile<ParentT>
- Type Parameters:
ParentT- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
PasswordCredential.Definition<ParentT>,PasswordCredential.DefinitionStages.Blank<ParentT>,PasswordCredential.DefinitionStages.WithAttach<ParentT>
- Enclosing interface:
- PasswordCredential.DefinitionStages
public static interface PasswordCredential.DefinitionStages.WithAuthFile<ParentT>
A credential definition stage allowing exporting the auth file for the service principal.
-
Method Summary
Modifier and TypeMethodDescriptionwithAuthFileToExport(OutputStream outputStream) Deprecated.azure-identity doesn't accept auth file anymore.
-
Method Details
-
withAuthFileToExport
@Deprecated PasswordCredential.DefinitionStages.WithSubscriptionInAuthFile<ParentT> withAuthFileToExport(OutputStream outputStream) Deprecated.azure-identity doesn't accept auth file anymore. usePasswordCredential.DefinitionStages.WithConsumerto get the secret.Export the information of this service principal into an auth file.- Parameters:
outputStream- the output stream to export the file- Returns:
- the next stage in credential definition
-