azcopy login status

Lists the entities in a given resource.

Synopsis

Prints if you're currently logged in to your Azure Storage account.

azcopy login status [flags]

Options

--endpoint Prints the Microsoft Entra endpoint that is being used in the current session.

-h, --help Help for status

--tenant Prints the Microsoft Entra tenant ID that is currently being used in session.

Options inherited from parent commands

--aad-endpoint (string) The Microsoft Entra endpoint to use. The default (https://login.microsoftonline.com) is correct for the global Azure cloud. Set this parameter when authenticating in a national cloud. Not needed for Managed Service Identity

--application-id (string) Application ID of user-assigned identity. Required for service principal auth.

--cap-mbps (float) 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.

--certificate-path (string) Path to certificate for SPN authentication. Required for certificate-based service principal auth.

--identity Log in using virtual machine's identity, also known as managed service identity (MSI).

--identity-client-id (string) Client ID of user-assigned identity.

--identity-object-id (string) Object ID of user-assigned identity.

--identity-resource-id (string) Resource ID of user-assigned identity.

--output-type (string) Format of the command's output. The choices include: text, json. The default value is 'text'. (default "text")

--service-principal Log in via Service Principal Name (SPN) by using a certificate or a secret. The client secret or certificate password must be placed in the appropriate environment variable. Type AzCopy env to see names and descriptions of environment variables.

--tenant-id (string) The Microsoft Entra tenant ID to use for OAuth device interactive login.

--trusted-microsoft-suffixes (string) Specifies additional domain suffixes where Microsoft Entra 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.

See also