az_cli_account_show: Show Azure CLI Account Information

View source: R/credential-azure-cli.R

az_cli_account_showR Documentation

Show Azure CLI Account Information

Description

Retrieves information about the currently active Azure CLI account and subscription. This function runs ⁠az account show⁠ and parses the JSON output into an R list.

Usage

az_cli_account_show(timeout = 10L)

Arguments

timeout

An integer specifying the timeout in seconds for the Azure CLI command. Defaults to 10.

Details

The function returns details about the current Azure subscription including:

  • Subscription ID and name

  • Tenant ID

  • Account state (e.g., "Enabled")

  • User information

  • Cloud environment details

Value

A list containing the account information from Azure CLI


azr documentation built on May 5, 2026, 1:08 a.m.