Setting up external credentials - Amazon Toolkit with Amazon Q
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Setting up external credentials

If you have a method to generate or look up credentials that isn't directly supported by Amazon, you can add to the shared credentials file a profile that contains the credential_process setting. This setting specifies an external command that's run to generate or retrieve authentication credentials to use. For example, you might include an entry similar to the following in the config file:

[profile developer] credential_process = /opt/bin/awscreds-custom --username helen

For more information on using external credentials and the associated security risks, see Sourcing credentials with an external process in the Amazon Command Line Interface User Guide.