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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET