pyaz/__init__.py
def login(allow_no_subscriptions=None, federated_token=None, password=None, scope=None, service_principal=None, tenant=None, use_cert_sn_issuer=None, use_device_code=None, username=None):
    '''
    Log in to Azure.

    Optional Parameters:
    - allow_no_subscriptions -- Support access tenants without subscriptions. It's uncommon but useful to run tenant level commands, such as 'az ad'
    - federated_token -- Federated token that can be used for OIDC token exchange.
    - password -- Credentials like user password, or for a service principal, provide client secret or a pem file with key and public certificate. Will prompt if not given.
    - scope -- Used in the /authorize request. It can cover only one static resource.
    - service_principal -- The credential representing a service principal.
    - tenant -- The AAD tenant, must provide when using service principals.
    - use_cert_sn_issuer -- used with a service principal configured with Subject Name and Issuer Authentication in order to support automatic certificate rolls
    - use_device_code -- Use CLI's old authentication flow based on device code. CLI will also use this if it can't launch a browser in your behalf, e.g. in remote SSH or Cloud Shell
    - username -- user name, service principal, or managed service identity ID
    '''
    return _call_az("az login", locals())

    Log in to Azure.

    Optional Parameters:
    - allow_no_subscriptions -- Support access tenants without subscriptions. It's uncommon but useful to run tenant level commands, such as 'az ad'
    - federated_token -- Federated token that can be used for OIDC token exchange.
    - password -- Credentials like user password, or for a service principal, provide client secret or a pem file with key and public certificate. Will prompt if not given.
    - scope -- Used in the /authorize request. It can cover only one static resource.
    - service_principal -- The credential representing a service principal.
    - tenant -- The AAD tenant, must provide when using service principals.
    - use_cert_sn_issuer -- used with a service principal configured with Subject Name and Issuer Authentication in order to support automatic certificate rolls
    - use_device_code -- Use CLI's old authentication flow based on device code. CLI will also use this if it can't launch a browser in your behalf, e.g. in remote SSH or Cloud Shell
    - username -- user name, service principal, or managed service identity ID
    
Log in to Azure.
Optional Parameters:
allow_no_subscriptions -- Support access tenants without subscriptions. It's uncommon but useful to run tenant level commands, such as 'az ad'
federated_token -- Federated token that can be used for OIDC token exchange.
password -- Credentials like user password, or for a service principal, provide client secret or a pem file with key and public certificate. Will prompt if not given.
scope -- Used in the /authorize request. It can cover only one static resource.
service_principal -- The credential representing a service principal.
tenant -- The AAD tenant, must provide when using service principals.
use_cert_sn_issuer -- used with a service principal configured with Subject Name and Issuer Authentication in order to support automatic certificate rolls
use_device_code -- Use CLI's old authentication flow based on device code. CLI will also use this if it can't launch a browser in your behalf, e.g. in remote SSH or Cloud Shell
username -- user name, service principal, or managed service identity ID
Log in to Azure . Optional Parameters : allow_no_subscriptions -- Support access tenants without subscriptions . It ' s uncommon but useful to run tenant level commands such as ' az ad ' federated_token -- Federated token that can be used for OIDC token exchange . password -- Credentials like user password or for a service principal provide client secret or a pem file with key and public certificate . Will prompt if not given . scope -- Used in the / authorize request . It can cover only one static resource . service_principal -- The credential representing a service principal . tenant -- The AAD tenant must provide when using service principals . use_cert_sn_issuer -- used with a service principal configured with Subject Name and Issuer Authentication in order to support automatic certificate rolls use_device_code -- Use CLI ' s old authentication flow based on device code . CLI will also use this if it can ' t launch a browser in your behalf e . g . in remote SSH or Cloud Shell username -- user name service principal or managed service identity ID
def login(allow_no_subscriptions=None, federated_token=None, password=None, scope=None, service_principal=None, tenant=None, use_cert_sn_issuer=None, use_device_code=None, username=None):
    return _call_az("az login", locals())
def login ( allow_no_subscriptions = None , federated_token = None , password = None , scope = None , service_principal = None , tenant = None , use_cert_sn_issuer = None , use_device_code = None , username = None ) : return _call_az ( "az login" , locals ( ) )
Log in to Azure.
Log in to Azure .
'''
    Log in to Azure.

    Optional Parameters:
    - allow_no_subscriptions -- Support access tenants without subscriptions. It's uncommon but useful to run tenant level commands, such as 'az ad'
    - federated_token -- Federated token that can be used for OIDC token exchange.
    - password -- Credentials like user password, or for a service principal, provide client secret or a pem file with key and public certificate. Will prompt if not given.
    - scope -- Used in the /authorize request. It can cover only one static resource.
    - service_principal -- The credential representing a service principal.
    - tenant -- The AAD tenant, must provide when using service principals.
    - use_cert_sn_issuer -- used with a service principal configured with Subject Name and Issuer Authentication in order to support automatic certificate rolls
    - use_device_code -- Use CLI's old authentication flow based on device code. CLI will also use this if it can't launch a browser in your behalf, e.g. in remote SSH or Cloud Shell
    - username -- user name, service principal, or managed service identity ID
    '''
allow_no_subscriptions
federated_token
password
scope
service_principal
tenant
use_cert_sn_issuer
use_device_code
username