Parse AWS credentials from environment-export output (shell-agnostic). Supports POSIX export KEY=VAL and PowerShell $Env:KEY=VAL. Also supports AWS CLI windows-cmd (set KEY=VAL) and env-no-export (KEY=VAL).
export KEY=VAL
$Env:KEY=VAL
windows-cmd
set KEY=VAL
env-no-export
KEY=VAL
Raw stdout text from the AWS CLI.
Parsed credentials, or undefined when the input is not recognized.
undefined
Parse AWS credentials from environment-export output (shell-agnostic). Supports POSIX
export KEY=VALand PowerShell$Env:KEY=VAL. Also supports AWS CLIwindows-cmd(set KEY=VAL) andenv-no-export(KEY=VAL).