Skip to content

Instantly share code, notes, and snippets.

@cmatskas
Created April 29, 2017 07:47
Show Gist options
  • Select an option

  • Save cmatskas/19968f6a55c0b80d4518fd59e8040ffa to your computer and use it in GitHub Desktop.

Select an option

Save cmatskas/19968f6a55c0b80d4518fd59e8040ffa to your computer and use it in GitHub Desktop.
Setting up Serverless variables
# Bash
export azureSubId='<subscriptionId>'
export azureServicePrincipalTenantId='<tenantId>'
export azureServicePrincipalClientId='<servicePrincipalName>'
export azureServicePrincipalPassword='<password>'
# Poweshell
$env:azureSubId='<your subscription Id>'
$env:azureServicePrincipalTenantId='<your Azure Tenant ID>'
$env:azureServicePrincipalClientId='<your Azure Application ID>'
$env:azureServicePrincipalPassword='<your Azure Application Password>'
# Command Line
set azureSubId=<your subscription Id>
set azureServicePrincipalTenantId=<your Azure Tenant ID>
set azureServicePrincipalClientId=<your Azure Application ID>
set azureServicePrincipalPassword=<your Azure Application Password>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment