# Not able to create AWS Cloudwatch Input in graylog and how to add multiple aws accounts

**URL:** <https://community.graylog.org/t/not-able-to-create-aws-cloudwatch-input-in-graylog-and-how-to-add-multiple-aws-accounts/16180>\
**Category:** Graylog Central (peer support)\
**Created:** [July 2, 2020, 5:27pm UTC](https://community.graylog.org/t/not-able-to-create-aws-cloudwatch-input-in-graylog-and-how-to-add-multiple-aws-accounts/16180 "2020-07-02T17:27:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ganeshbabu](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@Ganeshbabu](https://community.graylog.org/u/Ganeshbabu)\
**Post date:** [July 2, 2020, 5:27pm UTC](https://community.graylog.org/t/not-able-to-create-aws-cloudwatch-input-in-graylog-and-how-to-add-multiple-aws-accounts/16180/1 "2020-07-02T17:27:11Z")

</div>

Hi All,

I am running graylog version 3.3.1 in my environment as helm chart and I am trying create new input (AWS Kinesis/CloudWatch Input with authentication type as “Key & Secret”

but after entering the AWS key and secret in graylog, I am getting the below error,

> Unable to load credentials from any of the providers in the chain AwsCredentialsProviderChain(credentialsProviders=[SystemPropertyCredentialsProvider(), EnvironmentVariableCredentialsProvider(), WebIdentityTokenCredentialsProvider(), ProfileCredentialsProvider(), ContainerCredentialsProvider(), InstanceProfileCredentialsProvider()]) : [SystemPropertyCredentialsProvider(): Unable to load credentials from system settings. Access key must be specified either via environment variable (AWS\_ACCESS\_KEY\_ID) or system property (aws.accessKeyId)., EnvironmentVariableCredentialsProvider(): Unable to load credentials from system settings. Access key must be specified either via environment variable (AWS\_ACCESS\_KEY\_ID) or system property (aws.accessKeyId)., WebIdentityTokenCredentialsProvider(): Either the environment variable AWS\_WEB\_IDENTITY\_TOKEN\_FILE or the javaproperty aws.webIdentityTokenFile must be set., ProfileCredentialsProvider(): Profile file contained no credentials for profile ‘default’: ProfileFile(profiles=), ContainerCredentialsProvider(): Cannot fetch credentials from container - neither AWS\_CONTAINER\_CREDENTIALS\_FULL\_URI or AWS\_CONTAINER\_CREDENTIALS\_RELATIVE\_URI environment variables are set., InstanceProfileCredentialsProvider(): Unable to parse Json String.]

Note:- I have also tried by adding the credentials in on _AWS Plugin Configuration_ but it didnt worked out and still throwing the same error.

But I did tried by adding the credentials in the envrionment variables and it was working fine without any issues.

Two questions:-

1. Why there is an error throwing in graylog after giving key and secret in UI itself?
2. If I add the credentials in environment variables how can I add multiple AWS account credentials to the graylog?

How this plugin will support multiple AWS configuration?

Please share your thoughts.

Thanks,  
Ganeshbabu R

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [July 16, 2020, 5:27pm UTC](https://community.graylog.org/t/not-able-to-create-aws-cloudwatch-input-in-graylog-and-how-to-add-multiple-aws-accounts/16180/2 "2020-07-16T17:27:11Z")

</div>

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