# What AWS config file settings are honored?

**URL:** <https://discuss.elastic.co/t/what-aws-config-file-settings-are-honored/327490>\
**Category:** Elastic Agent\
**Created:** [March 11, 2023, 9:39pm UTC](https://discuss.elastic.co/t/what-aws-config-file-settings-are-honored/327490 "2023-03-11T21:39:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcoderama](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcoderama/32/117770_2.png) [@marcoderama](https://discuss.elastic.co/u/marcoderama)\
**Post date:** [March 11, 2023, 9:39pm UTC](https://discuss.elastic.co/t/what-aws-config-file-settings-are-honored/327490/1 "2023-03-11T21:39:24Z")

</div>

[Elastic noob warning!]

Fundamentally, I'm trying to figure out how to automatically update temporary credentials for the Elastic AWS integration.

I'm trying to configure my AWS Elastic Agent integration to use a shared credential file. I was hoping to use the `credentials_process` setting but it doesn't appear to be working. I'm wondering now if the the only things I can usefully put in that file (for the purposes of the Elastic AWS integration) is

```auto
access_key_id = ...
secret_access_key = ...
session_token = ...

```

Are any of the other [AWS config settings](https://docs.aws.amazon.com/sdkref/latest/guide/settings-reference.html#ConfigFileSettings) useful in this context?

Do people have other suggestions for dealing with the problem of updating temporary credentials?

thanks,  
Marco

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 8, 2023, 9:40pm UTC](https://discuss.elastic.co/t/what-aws-config-file-settings-are-honored/327490/2 "2023-04-08T21:40:14Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
