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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET