Skip to content

Commit

Permalink
Jasons final comments on IAM feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ebgitelman committed Nov 17, 2022
1 parent 1e9f09f commit 5e312c2
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ Provision your cluster before configuring IAM for Postgres.

1. For each IAM user, run this Postgres command:

```
CREATE USER "<ARN>" IN ROLE iam_aws;
```
```
CREATE USER "<ARN>" IN ROLE iam_aws;
```

### Logging in to Postgres using IAM credentials

Expand All @@ -108,7 +108,7 @@ If IAM integration is configured for your cluster, you can log in to Postgres us
!!! Note
You can continue to log in using your Postgres username and password. However, doing so doesn’t provide IAM authentication even if this feature is configured.

1. Obtain your token (access key id + secret access key) from AWS. See [Managing access keys for IAM users](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html).
1. At the Postgres CLI or cloud shell on your cloud server provider, for your username, enter your ARN.
1. For the password, enter the token.
1. Using your AWS CLI or Cloud shell, obtain your ARN and access key. For guidance on obtaining your ARN and access key, see [Managing access keys for IAM users](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html).
1. Connect to Postgres using your IAM credentials.
1. When prompted for the password, enter your access key (&lt;access key ID>:&lt;secret access key>).

0 comments on commit 5e312c2

Please sign in to comment.