Skip to content

Commit

Permalink
Mark LDAP password and admin_token secret
Browse files Browse the repository at this point in the history
Add secret=True to LDAP password and admin_token
of keystone configuration.

Fix bug #1172195

Change-Id: I8ef7f705e3f6b374ff427c20eb761892d5146a75
(cherry picked from commit d43e2a5)
  • Loading branch information
Xuhan Peng authored and Adam Gandelman committed May 1, 2013
1 parent 5929850 commit c5037dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keystone/common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def configure():
register_cli_str('pydev-debug-host', default=None)
register_cli_int('pydev-debug-port', default=None)

register_str('admin_token', default='ADMIN')
register_str('admin_token', secret=True, default='ADMIN')
register_str('bind_host', default='0.0.0.0')
register_int('compute_port', default=8774)
register_int('admin_port', default=35357)
Expand Down Expand Up @@ -271,7 +271,7 @@ def configure():
# ldap
register_str('url', group='ldap', default='ldap://localhost')
register_str('user', group='ldap', default=None)
register_str('password', group='ldap', default=None)
register_str('password', group='ldap', secret=True, default=None)
register_str('suffix', group='ldap', default='cn=example,cn=com')
register_bool('use_dumb_member', group='ldap', default=False)
register_str('dumb_member', group='ldap', default='cn=dumb,dc=nonexistent')
Expand Down

0 comments on commit c5037dd

Please # to comment.