Overview of Magento authentication
repo.magento.com repository, where Magento 2 and third-party component Composer packages are stored, requires authentication. To provide secure authentication, we enable you to generate a pair 32-character authentication tokens you can use to access the repository. You generate, access, and can also delete or regenerate your keys using Magento Marketplace.
To get your authentication keys:
- Go to Magento Marketplace.
Click Sign In and enter your login credentials.
If you don’t have a free account, click Create an Account.
After you log in, click My Access Keys as the following figure shows.
- If you already have keys, use the Public key as your user name and the Private key as your password.
To create a new key pair, click Create a New Access Key.
The following figure shows an example.
- When prompted, enter a descritive name to identify the key pair.
Click Generate New.
Use the Public key as your user name and the Private key as your password.
Manage your authentiation keys
You can optionally disable or delete authentication keys you created. For example, you can disable or delete keys for security reasons after someone left your organization.
- Disable keys: Click Disable. You can do this if you want to suspend use of your keys.
- Enable a previously disabled key: Click Enable.
- Delete keys: Click Delete.
You cannot delete or disable keys you created by logging in to
magento.com. To manage those keys:
- Log in to your
- In the top navigation bar, click Connect.
In the left pane, click Secure keys.
- Enable or disable the desired keys.
Use your authentication keys:
- PHP 5.5, 5.6, or 7.0—Ubuntu
- PHP 5.5, 5.6, or 7.0—CentOS
- Configuring security options
- Installing optional software
- Determine your installation or upgrade path