Skip to content

azcopy_env

GitHub Action edited this page Jul 31, 2026 · 59 revisions

azcopy env

Shows the environment variables that you can use to configure the behavior of AzCopy.

Synopsis

Shows the environment variables that you can use to configure the behavior of AzCopy.

If you set an environment variable by using the command line, that variable will be readable in your command line history. Consider clearing variables that contain credentials from your command line history. To keep variables from appearing in your history, you can use a script to prompt the user for their credentials, and to set the environment variable.

Usage

azcopy env

Options

Flag Type Default Description
--show-sensitive bool false Shows sensitive/secret environment variables.

Global Options

These options are inherited from parent commands.

Flag Type Default Description
--cap-mbps float64 0 Caps the transfer rate, in megabits per second. Moment-by-moment throughput might vary slightly from the cap. If this option is set to zero, or it is omitted, the throughput isn't capped.
--check-version bool false Check if a newer AzCopy version is available.
--log-level string INFO Define the log verbosity for the log file, available levels: DEBUG(detailed trace), INFO(all requests/responses), WARNING(slow responses), ERROR(only failed requests), and NONE(no output logs). (default 'INFO').
--output-level string default Define the output verbosity. Available levels: essential, quiet.
--output-type string text Format of the command's output. The choices include: text, json. The default value is 'text'.
--trusted-microsoft-suffixes string `` Specifies additional domain suffixes where Azure Active Directory login tokens may be sent. The default is '.core.windows.net;.core.chinacloudapi.cn;.core.cloudapi.de;.core.usgovcloudapi.net;*.storage.azure.net'. Any listed here are added to the default. For security, you should only put Microsoft Azure domains here. Separate multiple entries with semi-colons.

Parent command: azcopy

Clone this wiki locally