With the aws cli (version 2) I have created an access key for an iam user, which produces json output. I pipe that output to a file.
Now I would like to import these credentials to my aws cli configuration. aws cli has the aws configure import
command, but it only accepts a .csv file genereated by the web console.
What is the simplest way to import the access key in json format, short of parsing it and creating the desired csv structure?