AzureCredentialsFactory.FromFile(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a credentials object from a file in the following format:
subscription=<subscription-id>
tenant=<tenant-id>
client=<client-id>
key=<client-key>
managementURI=<management-URI>
baseURL=<base-URL>
authURL=<authentication-URL>
public virtual Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials FromFile(string authFile);
abstract member FromFile : string -> Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials
override this.FromFile : string -> Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials
Public Overridable Function FromFile (authFile As String) As AzureCredentials
Parameters
- authFile
- String
the path to the file
Returns
an authenticated credentials object
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET