Incorrect user message when profile name does not exist in local config

Issue #16 new
blakeca00 repo owner created an issue

AUTH fail msg is produced when a profile name doesn't exist in local profile:

[ AUTH ]: Authenication Failed to AWS Account for user dev1

instead, msg should state that user (dev1) is not profile in the local awscli config.

Comments (1)

  1. blakeca00 reporter

    Logic:

    1. Search for --user-name in config.sections()
    2. If exists, then exists in local awscli profile >> rotate as normal
    3. If NOT exist in config.sections(), stdout msg to user, write new keyset to disk in /tmp if BACKUP_LOCATION not set
  2. Log in to comment