> For the complete documentation index, see [llms.txt](https://nishanthkp.gitbook.io/devsecops-for-bbk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nishanthkp.gitbook.io/devsecops-for-bbk/terraform-aws/terraform-aws-setup.md).

# Terraform AWS Setup

To use your IAM credentials to authenticate the Terraform AWS provider, set the `AWS_ACCESS_KEY_ID` environment variable.

```shell-session
export AWS_ACCESS_KEY_ID=
```

Now, set your secret key.

```shell-session
export AWS_SECRET_ACCESS_KEY=
```

Alternatvely you can use the following command

```
aws configure
```
