# AWS

# Ceredentials configuration

# Using `pass` command for key

Edit `.aws/credentials`:

```ini
[default]
region = eu-west-2
credential_process = /usr/bin/pass <account>
```

The contents of the password file needs to be in JSON format like:

```json
{
  "Version": 1,
  "AccessKeyId": "AKIA...",
  "SecretAccessKey": "...",
}
```

# Test access

```sh
aws sts get-caller-identity
```