AddinAliases.

LoginAzure(ICakeContext, string, string, string) Method

Summary

Login to Azure Resource Manager as active directory application

Syntax

public static ServiceClientCredentials LoginAzure(this ICakeContext ctx, string tenantId, string clientId, string secret)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
ctx ICakeContext
tenantId string TenantId
clientId string Other names: servicePrincipalId in VSTS, Application ID in Azure Portal
secret string Other names: servicePrincipalKey in VSTS, Password in Azure Portal

Return Value

Type Description
ServiceClientCredentials