Marketplace keys
Add your organisation's Magento Marketplace access keys so its Magento sites install and build with your own account.
On this page
Before you start
- You are a user of the organisation that owns the sites.
- You have the public and private key from Magento Marketplace, under My profile › Access keys. Each is 32 characters.
- Magento Open Source installs use Corefinity's keys until you add your own. Adobe Commerce needs your own keys, from an account with an Adobe Commerce licence.
Add your keys
Open Marketplace keys
Go to Organisation › Organisations, choose your organisation, then Marketplace keys under Hosting.
Paste both keys
Choose Add keys. Paste the Public key and the Private key.
Save the keys
Choose Save keys: the keys are checked with
repo.magento.combefore they are saved. Then choose Done.
The keys are stored encrypted. Only the last four characters of the public key are shown again.
Read the result
| You see | It means |
|---|---|
| Your keys · Adobe Commerce included | Magento Open Source and Adobe Commerce sites use your keys. |
| Your keys · Open Source only | The keys work, but their account has no Adobe Commerce licence. |
| Adobe Commerce unchecked | The keys are saved, but Adobe could not be reached. Choose Try again. |
| Keys rejected | repo.magento.com no longer accepts the keys. Choose Replace…. |
| Using Corefinity’s keys | The organisation has no keys of its own. |
When you save, repo.magento.com rejected these keys means nothing was saved: check both keys against Access keys and try again.
Replace, re-check or remove keys
Replace or re-check
In Marketplace keys, choose Replace… to paste new keys. Open the card's … menu for Re-check Adobe Commerce or Remove keys….
Confirm a removal
Remove keys… names the Adobe Commerce sites that build with the keys. If there are any, type the organisation's name, then choose Remove keys.
Deployments of Adobe Commerce sites fail until new keys are added. Magento Open Source sites go back to Corefinity's keys.
Keys for a client
An agency that manages a client's sites sets that client's keys on the client's organisation page. An agency's own keys are never used for a client's sites.
Automate this
Saves your company's own Marketplace keys.
curl -X PUT https://manage.corefinity.com/api/company/magento-keys \
-H "Authorization: Bearer $COREFINITY_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"private_key": "fedcba9876543210fedcba9876543210",
"public_key": "0123456789abcdef0123456789ab3f9a"
}'Your assistant calls corestack_company_magento_keys_update.
{
"name": "corestack_company_magento_keys_update",
"arguments": {
"public_key": "0123456789abcdef0123456789abcdef",
"private_key": "fedcba9876543210fedcba9876543210"
}
}