| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | using System; |
| | 5 | |
|
| | 6 | | namespace Azure.Identity |
| | 7 | | { |
| | 8 | | internal class EnvironmentVariables |
| | 9 | | { |
| 1168 | 10 | | public static string Username => Environment.GetEnvironmentVariable("AZURE_USERNAME"); |
| 22 | 11 | | public static string Password => Environment.GetEnvironmentVariable("AZURE_PASSWORD"); |
| 4606 | 12 | | public static string TenantId => Environment.GetEnvironmentVariable("AZURE_TENANT_ID"); |
| 1168 | 13 | | public static string ClientId => Environment.GetEnvironmentVariable("AZURE_CLIENT_ID"); |
| 22 | 14 | | public static string ClientSecret => Environment.GetEnvironmentVariable("AZURE_CLIENT_SECRET"); |
| 22 | 15 | | public static string ClientCertificatePath => Environment.GetEnvironmentVariable("AZURE_CLIENT_CERTIFICATE_PATH" |
| | 16 | |
|
| 48 | 17 | | public static string MsiEndpoint => Environment.GetEnvironmentVariable("MSI_ENDPOINT"); |
| 56 | 18 | | public static string MsiSecret => Environment.GetEnvironmentVariable("MSI_SECRET"); |
| | 19 | |
|
| 276 | 20 | | public static string Path => Environment.GetEnvironmentVariable("PATH"); |
| | 21 | |
|
| 2 | 22 | | public static string ProgramFilesX86 => Environment.GetEnvironmentVariable("ProgramFiles(x86)"); |
| 2 | 23 | | public static string ProgramFiles => Environment.GetEnvironmentVariable("ProgramFiles"); |
| 214 | 24 | | public static string AuthorityHost => Environment.GetEnvironmentVariable("AZURE_AUTHORITY_HOST"); |
| | 25 | | } |
| | 26 | | } |