How-to configure AWS config credential_process + op?

yodakramer
yodakramer
Community Member
edited August 2022 in CLI

In CLIv1 I was able to use something like:

[profile default]
region=us-west-2
credential_process = sh -c "op --account kramer get item 'AWS Production' | jq '.details.sections[2].fields | map({(.t):.}) |  add | {Version:1, AccessKeyId:.aws_access_key_id.v, SecretAccessKey:.aws_secret_access_key.v}'"

I can't seem to figure out the v2 version of that or how to use credential_process to retrieve credentials.

Comments

This discussion has been closed.