Skip to content

MemoryDB IAM auth support#33937

Merged
greedy52 merged 5 commits intomasterfrom
STeve/33068/memorydb_iam_auth
Nov 8, 2023
Merged

MemoryDB IAM auth support#33937
greedy52 merged 5 commits intomasterfrom
STeve/33068/memorydb_iam_auth

Conversation

@greedy52
Copy link
Copy Markdown
Contributor

@greedy52 greedy52 commented Oct 26, 2023

changelog: Added IAM Authentication support for Amazon MemoryDB Access

closes #33068

Mostly just sharing/copy-paste from ElastiCache IAM auth support.

Note that branch/v12, branch/v13 has older AWS SDKs so may have to manually define auth type iam when backporting (plus manual testing)

Tested manual/secrets-manager/IAM AUTH for both MemoryDB and ElastiCache Redis just to make sure everything works.

Will update docs separately.

@greedy52 greedy52 added aws Used for AWS Related Issues. database-access Database access related issues and PRs db/redis backport/branch/v12 labels Oct 26, 2023
@greedy52 greedy52 self-assigned this Oct 26, 2023
@greedy52 greedy52 marked this pull request as ready for review October 26, 2023 16:03
@github-actions github-actions Bot requested a review from tcsc October 26, 2023 16:03
Copy link
Copy Markdown
Contributor

@GavinFrazar GavinFrazar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't test it but LGTM

Comment thread lib/srv/db/common/auth.go Outdated
Comment thread lib/srv/db/redis/engine.go Outdated
Comment thread lib/srv/db/redis/engine.go Outdated
Comment thread lib/srv/db/redis/engine.go Outdated
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from tcsc November 8, 2023 12:24
@greedy52 greedy52 force-pushed the STeve/33068/memorydb_iam_auth branch from dc51063 to d7f2d98 Compare November 8, 2023 15:22
@greedy52 greedy52 force-pushed the STeve/33068/memorydb_iam_auth branch from d7f2d98 to 1c46092 Compare November 8, 2023 15:35
@greedy52 greedy52 enabled auto-merge November 8, 2023 15:54
@greedy52 greedy52 added this pull request to the merge queue Nov 8, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 8, 2023
@greedy52 greedy52 added this pull request to the merge queue Nov 8, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 8, 2023
@greedy52 greedy52 added this pull request to the merge queue Nov 8, 2023
Merged via the queue into master with commit b67d773 Nov 8, 2023
@greedy52 greedy52 deleted the STeve/33068/memorydb_iam_auth branch November 8, 2023 18:36
@public-teleport-github-review-bot
Copy link
Copy Markdown

@greedy52 See the table below for backport results.

Branch Result
branch/v12 Failed
branch/v13 Failed
branch/v14 Create PR

greedy52 added a commit that referenced this pull request Nov 8, 2023
* Added IAM Authentication support for Amazon MemoryDB Access

* update configurator

* minor typos

* address review comments
github-merge-queue Bot pushed a commit that referenced this pull request Nov 9, 2023
* MemoryDB IAM auth support (#33937)

* Added IAM Authentication support for Amazon MemoryDB Access

* update configurator

* minor typos

* address review comments

* fix UT

* add a comment on the "iam" memorydb auth type
@greedy52
Copy link
Copy Markdown
Contributor Author

greedy52 commented Nov 9, 2023

ElastiCache IAM Auth was not back ported in v12 so will not backport this to v12 either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aws Used for AWS Related Issues. database-access Database access related issues and PRs db/redis size/md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MemoryDB IAM authentication support

3 participants