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 generated and found in the customer account under Products → Access keys:
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.
Related Articles
I keep my extensions under different amasty.com accounts. How do I manage the Composer keys?
It is not possible to transfer or merge Composer keys. However, an alternative solution would be to provide access to the extension listed in one account for another account. The shared package will be available in both the accounts and thus, can be ...
How to grant SSH access to my server if I'm using SSH keys on it?
In accordance with our security policy, we do not accept external SSH keys that are provided by outside means, such as an attachment to the ticket, email, archive, link, etc. To connect to customer servers, we use keys (both public and private) ...
I’m trying to install the module via composer, but the package is not found. How to resolve it?
Composer is the dependency manager that allows you easily download the required files on your server. The files are located on a remote server, or a repository, that you need to add to the list of “known” ones and authenticate to using the username ...
Composer error: Failed to decode response: Failed to decode zlib stream
When using composer to download packages, you might encounter an error related to zlib library. A typical error looks like this: This error can occur due to several reasons including: The zlibc library is not installed on your system. There is no ...
Composer error: Command "require" failed. You must be using the interactive console to authenticate
When working with composer in a Magento environment, you might encounter the following error: This error typically occurs when composer is unable to locate the PHP version with which it can work. The located version can be either not supported or not ...