Finding Composer Access Keys in Magento Account

Where can I find Composer access keys?

When installing the package from the Amasty Composer repository for the first time, the system requests the login (Public Key) and password (Private Key). These access keys can be found in the customer account under License Registration tab inside your project (if you haven't created one yet, please do so following the instructions from the hint block on the License Registration page). Click on View link next to your project in the My Production Projects section, and you'll see the keys that are generated automatically after product creation:



A page with project details and composer keys will appear:



Additionally, check out our video guide on how to create composer keys:



If you didn't create a project yourself, but another amasty.com account shared that project with you instead, you can also find it in License Registration tab, but in the Projects shared with me section:


In such shared projects, you have to manually generate your own pair of composer keys by clicking the Generate New Access Key button:



Info
Project Owner account (the one that created the project) can generate as many composer key pairs as they need there, while other amasty.com accounts the project was shared with can generate only one pair of composer keys in the shared project, since they have limited permissions in it. Also, composer keys generated in one amasty.com account can't be viewed via another account.

It is possible to manually store the keys in the repository, eliminating the need for authorization every time. Find the Magento root directory and indicate:
composer config --auth http-basic.composer.amasty.com $COMPOSER_AMASTY_USERNAME $COMPOSER_AMASTY_PASSWORD


Where 
$COMPOSER_AMASTY_USERNAME is the Public Key and  $COMPOSER_AMASTY_PASSWORD is the Private Key.

Alternatively, when prompted for access keys for the first time, you can authorize the system to save the credentials by typing yes.

Alert
The old functionality of storing composer keys on account level has been deprecated, those keys have been disabled, and they don't provide access to module download anymore. For this reason, it is necessary to switch to project-level composer keys according to our Composer guide. If you previously created composer keys on account level, the information below will help you locate them.
For viewing account-level composer keys generated in the past, navigate to the bottom of Products tab in your account: