barnybug / cli53

Command line tool for Amazon Route 53

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MFA Serial to be enabled

VadimSavelyev opened this issue · comments

Issue type

  • Feature idea

cli53 version (cli53 --version)

cli53 version 0.8.16

OS / Platform

5.3.7-arch1-2-ARCH x86_64 GNU/Linux

Steps to reproduce

cli53 list --profile production
cli53 list --help

Expected behaviour

  • mfa-serial is taken from the AWS profile configuration
  • --mfa-serial option is available

Actual behaviour

cli53 list --profile production

AssumeRoleTokenProviderNotSetError: assume role with MFA enabled, but AssumeRoleTokenProvider session option not set.

cli53 list --help

NAME:
   cli53 list - list domains

USAGE:
   cli53 list [command options] [arguments...]

OPTIONS:
   --debug, -d               enable debug logging
   --profile value           profile to use from credentials file
   --role-arn value          AWS role ARN to assume
   --endpoint-url value      override Route53 endpoint (hostname or fully qualified URI)
   --format value, -f value  output format: text, json, jl, table, csv (default: "table")

Have you checked if the documentation has the information you require?

Affirmative

Could you contribute a fix or help testing with this issue?

Perhaps

I am closing this request as this can be overcome with AWS role assumtion mechanism.