Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-1926

As an admin, I want an API to create first user, so I can automate deployment.

    XMLWordPrintable

Details

    • 0

    Description

      • API doesn't require login
      • only works when db has zero users in it
      • returns error if called when users exist

       To use:
      Set `FEATURE_USER_INITIALIZE` to true
      POST to `/api/v1/user/initialize` with

      {
          username: username,
          password: password,
          email: email,
          access_token: true
      }
      

      If `access_token` is present, then a token will be created that may be used as the `Bearer` token in further API calls.

      Attachments

        Issue Links

          Activity

            People

              tomckay@redhat.com Thomas Mckay
              tomckay@redhat.com Thomas Mckay
              Dongbo Yan Dongbo Yan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: