Close [x]

Get your authentication keys

Edit this page on GitHub

Updated: 18 July 2016 (PDT)


Overview of Magento Marketplace authentication

The 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 Marketplace 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’t done so already, create an account on Magento Marketplace.

    (It’s the same as an account on

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