AWS credential_process config setting

January 2, 2026

aws

AWS CLI config file’s credential_process setting is super handy.

It gives the ability to specify a command that AWS CLI or AWS SDK can run to obtain AWS credentials (when AWS credentials are unavailable or have expired).

Its especially useful when your employer provides short-lived AWS credentials that have to be periodically refreshed by a command/script.

Source Code