Displaying and deleting scripts, Installing certificates, Entering passwords – HP Secure Key Manager User Manual

Page 245: Cli commands, 140 list of cli commands

Advertising
background image

Once loaded, a script can either be stepped through (executed one line at a time), or the entire script can

be run. To step through a script, use the command “step”, as shown here:
hostname(script)# step
To run the entire script, use the command “go”, as shown here:
hostname(script)# go

Displaying and deleting scripts

To display the current scripts that have been created on the system, use the command “show script”. To

display the contents of a specified script, use the command “show script <script name>”, as shown here:
hostname(script)# show script testscript
If you want to delete an existing script, use the command “no script <script name>” as shown here:
hostname(script)# no script testscript

Installing certificates

When you attempt to enter a command in a script that requires a certificate to be pasted in, the actual

certificate will not be stored in the script. Instead, the script will prompt you when it is run to paste

in the certificate.

Entering passwords

Whenever a command that requires a password is executed in a script, the actual password will not be

stored in the script. Instead, when the script is run, it will prompt you to enter the password.

CLI commands

The following table lists all of the CLI commands in functional groups.

Table 140 List of CLI commands

Activity Log Commands
activity log level
activity log rotate
no activity log
show activity log
show activity log level

transfer activity log
Administrator & LDAP Commands
administrator

credential settings
edit administrator
grant credential

ldap test failover
ldap test primary
no administrator
no granted credential

Secure Key Manager

245

Advertising