0

When attempting to call aws kms get-parameters-for-import --key-id .... --wrapping-algorithm RSAES_OAEP_SHA_1 --wrapping-key-spec RSA_2048 I receive an error Unknown output type: q. I'm following the instructions in http://docs.aws.amazon.com/kms/latest/developerguide/importing-keys-get-public-key-and-token.html but not having luck with that step.

gdevito
  • 5
  • 2

1 Answers1

0

As explained in the documentation, AWS CLI supports this four output formats:

  • json
  • yaml (Available in the AWS CLI version 2 only.)
  • text
  • table

According to the AWS CLI configuration topic you have three ways to specify the output format:

  • Using the output option in a named profile in the config file

    [default]
    output=text

  • Using the AWS_DEFAULT_OUTPUT environment variable

    $ export AWS_DEFAULT_OUTPUT="table"

  • Using the --output option on the command line:

    $ aws s3 ls --output json

Vadim Yangunaev
  • 1,817
  • 1
  • 18
  • 41