Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   eZ Publish 4.x / legacy

 
eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Change auth.json doc to reflect it being native to composer now

...

Optional: Save authentication information in auth.json to avoid repeatedly typing it

To Composer will ask you to do this for you usually, however if not to avoid having to always fill your credentials, add an auth.json file at your project root, next composer.json, or in your COMPOSER_HOME directory for machine-wide use. The file looks like the following:

Code Block
languagejs
titleauth.json
{
    "config": {
        "basic-auth": {
            "updates.ez.no": {
                "username": "<installation-key>",
                "password": "<token password>"
            }
        }
    }
}

The fine print: bundled with eZ Publish Platform is a Composer extension which makes it possible to store authentication information in that file.

Using composer

Update workflow

...