Skip to main content

azure

Cloud computing services operated by Microsoft.

Provider Summary
total services: 138
total methods: 7491
total resources: 1777
total selectable resources: 1584

See also:
[SHOW] [DESCRIBE] [REGISTRY]


Installation

REGISTRY PULL azure v23.01.00104;

Authentication


{
"azure": {
"type": string, // authentication type to use, suported values include: bearer
"credentialsenvvar": string, // env var name containing the access token
}
}

Example (Mac/Linux)


AZ_ACCESS_TOKEN_RAW=$(az account get-access-token --query accessToken --output tsv)
export AZ_ACCESS_TOKEN=`echo $AZ_ACCESS_TOKEN_RAW | tr -d '\r'`
AUTH='{ "azure": { "type": "bearer", "credentialsenvvar": "AZ_ACCESS_TOKEN" } }'
stackql shell --auth="${AUTH}"

Example (PowerShell)


$Env:AZ_ACCESS_TOKEN = "$(az account get-access-token --query accessToken --output tsv)".Trim("`r")
$Auth = "{ 'azure': { 'type': 'bearer', 'credentialsenvvar': 'AZ_ACCESS_TOKEN' } }"
stackql.exe shell --auth=$Auth

Services