Help > Azure > blob >
setauth
PreviousNext

  • Overview
  • Syntax
  • Arguments
  • Notes
  • Examples
  • Overview

    set authentication information to connect storage account

    Download ZappyShell

    Syntax

    setauth [<ACCOUNT_NAME>] [<ACCOUNT_KEY>] [-n|--name ENTRY_NAME] [-t|--temp]
               [-s|--save] [-r|--reset] [--consoleout FILEPATH] [-v|--verbose]
               [-w|--wait] [-i|--interactive] 
    

    Arguments

    Parameter Description
    <ACCOUNT_NAME>
    Storage account name. Enter dev if you connecting to storage emulator
    <ACCOUNT_KEY>
    Secret API Key to connect to storage account.
    -n | --name ENTRY_NAME
    Entry name. If this is not specified along with --save flag then information saved under default entry name
    -t | --temp
    set only for this session.
    -s | --save
    Persist information on disk so it can be loaded next time. This information is stored in encrypted form on your local machine.
    -r | --reset
    clears all saved options.
    --consoleout FILEPATH
    Captures console output and saves to file
    -v | --verbose
    Log verbosity level. -v means detailed, If you don't specify this option then minimum logging will be done.
    -w | --wait
    Wait for user input before exit
    -i | --interactive
    Continue in interactive mode after this command is completed. This switch is not applicable if you already in interactive mode

    Notes

    Examples

    Examples
    connect to local storage emulator (i.e. development mode).

    auth dev
    set credentials for cloud storage account and remember credentials for next time

    auth --save mystorageacct1 TWqduxmPHlqeCNZ3LU0DHptbeIHy5l/Yhg==


    www.zappysys.com | Products | All copyrights reserved. ZappySys LLC.