authentication
authentication username <USER-NAME> password <PASSWORD>
authentication
authentication | Enables database authentication on this database-policy. When executed without the associated keywords, the command enables authentication on the database host using the policy. Execute the command along with the username and password inputs to configure the user credentials required for access the database. |
authentication username <USER-NAME> password <PASSWORD>
authentication username <USER-NAME> password <PASSWORD> | Configures the username and password required to access the
database. Note, username and password specified here should be
the same as those already created on the database host. For more
information, see service (common commands).
Users using these credentials are allowed database access. In case of a split NSight/EGuest deployment, ensure that the database-client-policy running on the NSight/EGuest server has the same user details configured. For information on creating database-client-policy, see database-client-policy global-config. For more information on enabling database authentication, see Example: Enabling Database Authentication. |
nx9500-6C874D(config-database-policy-test)#authentication
nx9500-6C874D(config-database-policy-test)#no shutdown
nx9500-6C874D(config-database-policy-test)#authentication username user1 password uesr@123
nx9500-6C874D(config-database-policy-test)#show context database-policy test authentication authentication username user1 password 2 f20/dTjYiMnR/tqbGFaO5gAAAAjL/xo8clisk1TZjimo128t nx9500-6C874D(config-database-policy-test)#
no | Disables database authentication, and removes the username and password configuration. |