Skip to main content
August 11, 2022
Question

How-to configure AWS config credential_process + op?

  • August 11, 2022
  • 1 reply
  • 169 views

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.

1 reply

1Password Employee
August 15, 2022