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
$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.