Module config

@pulumi/azure > config

Index

config/vars.ts

let clientId

let clientId: string | undefined =  __config.get("clientId") || (utilities.getEnv("ARM_CLIENT_ID") || "");

let clientSecret

let clientSecret: string | undefined =  __config.get("clientSecret") || (utilities.getEnv("ARM_CLIENT_SECRET") || "");

let environment

let environment: string =  utilities.requireWithDefault(() => __config.require("environment"), (utilities.getEnv("ARM_ENVIRONMENT") || "public"));

let msiEndpoint

let msiEndpoint: string | undefined =  __config.get("msiEndpoint") || (utilities.getEnv("ARM_MSI_ENDPOINT") || "");

let skipCredentialsValidation

let skipCredentialsValidation: boolean | undefined =  __config.getObject<boolean>("skipCredentialsValidation") || (utilities.getEnvBoolean("ARM_SKIP_CREDENTIALS_VALIDATION") || false);

let skipProviderRegistration

let skipProviderRegistration: boolean | undefined =  __config.getObject<boolean>("skipProviderRegistration") || (utilities.getEnvBoolean("ARM_SKIP_PROVIDER_REGISTRATION") || false);

let subscriptionId

let subscriptionId: string | undefined =  __config.get("subscriptionId") || (utilities.getEnv("ARM_SUBSCRIPTION_ID") || "");

let tenantId

let tenantId: string | undefined =  __config.get("tenantId") || (utilities.getEnv("ARM_TENANT_ID") || "");

let useMsi

let useMsi: boolean | undefined =  __config.getObject<boolean>("useMsi") || (utilities.getEnvBoolean("ARM_USE_MSI") || false);