Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proposal: Key Store Admin #282

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Conversation

texastony
Copy link
Contributor

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Check any applicable:

  • Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.

`Key Management` is a union,
such that additional options maybe added at a later date.

Members of `Kms Management` are elements that
Copy link
Contributor

Choose a reason for hiding this comment

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

Is that supposed to say Key Management?

changes/2024-TBD_key-store-admin/background.md Outdated Show resolved Hide resolved
@@ -0,0 +1,172 @@
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

Where is this going?
Is it a new MPL subproject? i.e. <MPL root>/KeyStoreAdmin
Or is it a new localService inside the MPL-Core subproject? i.e. <MPL root>/AwsCryptographicMaterialProviders/KeyStoreAdmin

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Discussed in meeting.
New Local Service of the MPL, alongside the Key Store.

This allows MPL Consumers to configure different
credentials or request headers for the KMS Operations.

# Modified Operations from the original [Branch Key Store Specification](../../framework/branch-key-store.md#operations)
Copy link
Contributor

Choose a reason for hiding this comment

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

any reason why the mutation operations are not part of this Key Store Admin?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What Mutation Operations? ;)

Crypto Tools could refactor the existing
Key Store Client to behave in the manner described below.

This would be a breaking change,
Copy link
Contributor

Choose a reason for hiding this comment

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

if we're adding new API operations,
then it isn't necessarily a breaking change

Copy link
Contributor

Choose a reason for hiding this comment

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

it seems like there are better reasons why it makes sense to have separate Admin vs. Cryptography/Dataplane/whatever,
for the sake of allowing customers to more easily enable separation of permissions between the two.


The CreateKey caller MUST provide:

- A `KMS Identifier`
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we abstract this away,
in case the Key Management is not KMS?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm... this could be Key Identifier... we can come back to this before we GA.

changes/2024-TBD_key-store-admin/background.md Outdated Show resolved Hide resolved
changes/2024-TBD_key-store-admin/background.md Outdated Show resolved Hide resolved
changes/2024-TBD_key-store-admin/background.md Outdated Show resolved Hide resolved
changes/2024-TBD_key-store-admin/background.md Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

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

Why don't we put this in the key store directory?

Comment on lines +143 to +144
The Operation behaves identically to the [Key Store Client's CreateKey](../branch-key-store.md#createkey),
with the following caveats:
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to move the operation here, and then point the key store here?

@texastony texastony force-pushed the tony/change-key-store-admin branch from e8c9f98 to af1bccf Compare December 17, 2024 16:46
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.

7 participants