-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
KMS service definition: SignResult
wrapper is not used
#2576
Comments
Hi @zbaylin, Thanks for reaching out! The service models we use are defined at the service level, meaning they are written/maintained by service teams and pushed to the (standard(non-amplify): Python, JavaScript, Go, CLI, etc.) AWS SDKs and tools. We unfortunately cannot accept external contributions to the models since they would be overwritten by the automated process that pushes this code from the service teams. As for the |
Hi @stobrien89, Thanks for the quick response.
Bummer, but that makes sense.
That would be great if possible, but no worries if not/rush! In the meantime I can just override the key myself in my project. Thanks again! |
No problem! I did want to double-check where you're seeing the key and which SDK/tool you're using— I didn't see the key present in a sample call from the CLI or Boto3(both of which use botocore as the low-level library). A sample response (with any sensitive information redacted) would also be great. |
@stobrien89 I'm attempting to add KMS support to Here's an example request/response (with redactions):
Response: <SignResponse xmlns="https://trent.amazonaws.com/doc/2014-11-01/">
<SignResult>
<SigningAlgorithm>RSASSA_PSS_SHA_512</SigningAlgorithm>
<Signature>[redacted]</Signature>
<KeyId>[redacted]</KeyId>
</SignResult>
<ResponseMetadata>
<RequestId>[redacted]</RequestId>
</ResponseMetadata>
</SignResponse> |
Hi @zbaylin, Thanks for the confirmation. I thought you were probably working with the raw response, but just wanted to be sure. The KMS team would have likely requested this information as well. I've created an internal ticket to inquire about this and will let you know as soon as I have an update! |
V487833764 |
@stobrien89 Thanks! I actually realized that this is more broad than just
|
Hi again @zbaylin, Sorry for the lack of updates! I was able to get in touch with someone more familiar with the modeling and they mentioned that the lack of the They did add that since you don't seem to use similar protocols in the |
|
Describe the bug
The result of the
sign
operation is wrapped in a field calledSignResult
, but this is not specified as aresultWrapper
inkms/2014-11-01/service-2.json
:botocore/botocore/data/kms/2014-11-01/service-2.json
Lines 745 to 752 in 3b7a7b3
Use elsewhere
Amazon's AWS SDKs have a
SignResult
model, taking the Android one as an example:https://github.com/aws-amplify/aws-sdk-android/blob/d4116c1909f1ecb5a31edf8588882a6181b73deb/aws-android-sdk-kms/src/main/java/com/amazonaws/services/kms/AWSKMSClient.java#L5660-L5687
This should be an easy fix, let me know if I can just open a PR for it or if there's more that needs to be done.
Thanks!
The text was updated successfully, but these errors were encountered: