This article provides a solution for issues with deploying Magento Cloud caused by access key ownership conflict.
Affected products and versions
- Magento Commerce Cloud, all supported versions
Steps to reproduce
Prerequisites: The Cloud license is associated with Contact A (email address: firstname.lastname@example.org)
- Contact A created Magento Commerce access keys on their account (Key X) and installs it on the Cloud.
- Contact B (email address: email@example.com) purchased an extension using his account and created the access keys for installing the extension (Key Y).
- Contact A then left the company, and the license (ownership) was then transferred to Contact B.
- System integrator tries to install the extension on the Cloud environment using Key X.
Extension is successfully installed.
Extension is not installed, because deployment fails.
Both keys were are seen to be assigned to the contact role, which causes a conflict.
If a deployment failed after a change was made to the Primary Contact on the account (with both the original account and the new account each having their own access keys), and the keys have been transferred from the original account to the new account, you need to disable the keys from the original account. In the terms of the example above, the key X should be disabled.
How to disable the access key
If you have access to the Marketplace account associated with the old key, take the following steps to disable the key:
- Log in to the Magento Marketplace using the credentials from the old account.
Click the account name in the top-right of the page and select My Profile.
Click Access Keys in the Marketplace tab.
- Click Disable next to the access key.