Skip to content

Comments

Restore KMS caching logic#67

Merged
SalusaSecondus merged 4 commits intoaws:masterfrom
bdonlan:kms-cache-restore
Aug 3, 2018
Merged

Restore KMS caching logic#67
SalusaSecondus merged 4 commits intoaws:masterfrom
bdonlan:kms-cache-restore

Conversation

@bdonlan
Copy link
Contributor

@bdonlan bdonlan commented Aug 3, 2018

We now verify that the requested region is reachable before caching the KMS
client. Behavior verified by tests (for the should-not-cache case) and log inspection (for the should-cache case).

@bdonlan bdonlan requested review from lizroth and mattsb42-aws August 3, 2018 20:33
We now verify that the requested region is reachable before caching the KMS
client.
@bdonlan bdonlan force-pushed the kms-cache-restore branch from e47a0f8 to 4b85273 Compare August 3, 2018 20:34
Bryan Donlan added 3 commits August 3, 2018 14:01
…lient initialization

Note that, while previously we would throw an exception when a MK was requested
for a region that the MKP cannot service immediately on MK creation, we now
throw on first use of the MK.
@bdonlan bdonlan force-pushed the kms-cache-restore branch from 4aa0af8 to 2a6e6e4 Compare August 3, 2018 21:01
Copy link
Member

@mattsb42-aws mattsb42-aws left a comment

Choose a reason for hiding this comment

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

LGTM

@lizroth lizroth requested review from SalusaSecondus and removed request for lizroth August 3, 2018 21:32
Copy link
Contributor

@SalusaSecondus SalusaSecondus left a comment

Choose a reason for hiding this comment

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

LGTM

@SalusaSecondus SalusaSecondus merged commit 6cb1c42 into aws:master Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants