aws / aws-sdk

Landing page for the AWS SDKs on GitHub
https://aws.amazon.com/tools/
Other
68 stars 13 forks source link

Checkout seller issued licenses in a granted AWS account (AWS License Manager) #506

Closed gtsopour closed 1 year ago

gtsopour commented 1 year ago

Describe the bug

Regarding the seller issued licenses in AWS License Manager, if we grant access to another AWS account at least two (or more) seller issued licenses with the same ProductSKU, the same KeyFingerprint (as a result from the same issuer name) and the same entitlements, it is not possible to differentiate the license while checking it out. https://docs.aws.amazon.com/license-manager/latest/APIReference/API_CheckoutLicense.html#licensemanager-CheckoutLicense-request-ProductSKU

Expected Behavior

More flexibility while checking out a license as the ProductSKU and the issuer's name are not unique while creating a seller issued license in the AWS License Manager.

Current Behavior

If we grant access to another AWS account two (or more) seller issued licenses with the same ProductSKU, the same KeyFingerprint (as a result from the same issuer name) and the same entitlements, it is not possible to differentiate the license while checking it out. Currently the most recent one is being checked out. https://docs.aws.amazon.com/license-manager/latest/APIReference/API_CheckoutLicense.html#licensemanager-CheckoutLicense-request-ProductSKU

Reproduction Steps

If we grant access to another AWS account two (or more) seller issued licenses with the same ProductSKU, the same KeyFingerprint (as a result from the same issuer name) and the same entitlements, it is not possible to differentiate the license while checking it out. Currently the most recent one is being checked out. https://docs.aws.amazon.com/license-manager/latest/APIReference/API_CheckoutLicense.html#licensemanager-CheckoutLicense-request-ProductSKU

Possible Solution

No response

Additional Information/Context

The sam applies to CLI and all SDKs.

CLI version used

aws-cli/2.8.3 Python/3.9.11 Darwin/20.6.0 exe/x86_64 prompt/off

Environment details (OS name and version, etc.)

macOS Big Sur 11.6.5 (20G527)

tim-finnigan commented 1 year ago

Hi @gtsopour thanks for reaching out. As you mentioned this affects other SDKs, because the CheckoutLicense API is used across SDKS. So I'll transfer this issue to the cross-SDK repository and reach out to the License Manager team for more information. (alternatively if you have an AWS Support plan you can reach out directly through there). Please let us know if there's any other information you want us to pass along to the License Manager team.

tim-finnigan commented 1 year ago

P84789642

tim-finnigan commented 1 year ago

We heard back from the service team regarding this issue. They said this seems like more of feature ask, as the current behavior is expected behavior. A backlog item was created to track the request, and if you have any more info to provide regarding your use case please let us know and we can pass that info along. Also if the ask is to checkout specific licenses please let us know. You can reach out here or through AWS Support going forward if you have a support plan.

github-actions[bot] commented 1 year ago

This issue is now closed.

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.