Rotating Root User Password - Teradata AppCenter

Teradata® AppCenter User Guide

Product
Teradata AppCenter
Release Number
2.0
Published
September 2020
Language
English (United States)
Last Update
2020-09-28
dita:mapPath
zzv1586527506119.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-1111
Product Category
Analytical Ecosystem

"" Root User

We recommend rotating the AppCenter root user password periodically for increased security. You can rotate the root user password using the User Service API in Swagger.

When rotating the root user password, consider the following password requirements:
  • Minimum of 8 characters
  • At least one lowercase character
  • At least one uppercase character
  • At least one number
  • At least one special character
  • No username in the password
Only the root user can change the root user password.
  1. Go to the User API Swagger URL.

    For example, replace base-domain with your domain as shown here:

    https://base-domain/api/user/swagger-ui.html

  2. Under Token Controller, next to /token Authentice a User, select Post.
    The Parameters and Responses panes appear.
  3. Select Try it out.
  4. In the Example Value code box, enter the existing root user credentials.

    For example:

    {
    “password”: “PasswordNow1!”,
    “username”: “root”
    }
    
  5. Select Execute.
  6. From the Response headers, locate and copy access_token.
  7. Under User, next to /Updates a User, select Patch.
    The Parameters and Responses panes appear.
  8. Select Try it out.
  9. Next to Authorization, in the string (header) code box, type Bearer, followed by a space, then paste the authorization token.

    For example:


    Sample authorization token entry
  10. Next to username, in the string (path) code box, type root.
  11. In the Example Value code box, enter a new root user password that meets password requirements.

    For example:

    {
    	"username": "root",
    	"password": "PasswordNew1!"
    }
  12. Select Execute.
    If the root user password has been updated successfully, response 200 appears.
  13. Log in to AppCenter using the new credentials.