Close [x]

Get your authentication keys

Edit this page on GitHub

Contents

Overview of Magento Connect authentication

The 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 get your credentials by logging in to Magento Connect with a user name and password, then going to My Account > Connect > Developers > Secure Keys. There, you can generate, regenerate, or delete your authentication tokens to use to:

Get your authentication keys

To get your authentication keys:

  1. If you haven鈥檛 done so already, create an account on Magento Connect.

    (It鈥檚 the same as an account on magento.com.)

    • Click My Account in the upper right corner of the page.
    • In the New Customer section, click Register.

      If you already have an account, make sure you know your user name and password, then continue with the next step.

  2. At the top of the page, click Connect.
  3. In the Developers section, click Secure Keys.

  4. You have the following options in the right pane:

    • If you already have keys, use the Public key as your user name and the Private key as your password.
    • New key: In the Name field, enter a name to identify the keys and click Generate new.

      You can optionally generate additional keys; for example, to provide access to repo.magento.com to co-workers, contractors, or integrators.

    • Regenerate or rename existing keys: Click Regenerate.

      You can regenerate your keys for security reasons; for example, you believe they have been compromised.

    • Save an existing key if you changed its name: Click Save.
    • Disable keys: Click Disable. You can do this if you want to suspend use of your keys.
    • Delete keys: Click Delete.
  5. Come back to this page anytime to view or change your keys.