You can optionally add a custom login banner for VMS. The login banner can contain any text you choose to specify. It appears on the login page of the VMS VAST Web UI and it appears after login in the command line of the VAST CLI. The banner is scrollable in the VAST Web UI and there is no limit on the length of text you can enter.
To set a custom login banner, use the vms modify
command with the --login-banner
parameter. For example:
vcli: admin> vms modify --login-banner 'You are logging into VMS'
Note
Multiple lines are not supported when specifying the banner text via the VAST CLI. However, there is no limit on the line length and the words wrap from one line to the next when displayed.
To remove a custom login banner, specify an empty string in single quotes:
vcli: admin> vms modify --login-banner ''
When a user logs in to the VMS GUI, two session tokens are issued: an access token and a refresh token.
The access token is a digitally encoded signature used to authenticate the user and authorize access. Access tokens are designed to have a minimal lifetime, to ensure minimum time for a user's identity to be exploited.
The refresh token must have a longer lifetime than the access token. It is used to request a new access token on behalf of the user before the access token expires, without bothering the user for login credentials. When the refresh token expires, the user is logged out.
The lifetimes of the two types of session tokens are configurable with the following defaults:
-
Access token: 1 hour
-
Refresh token: 1 day
To change the VMS session timeouts, use the vms modify
command with the --access-token-lifetime
and --refresh-token-lifetime
parameters. For example, to set the access token lifetime to 2 hours and the refresh token lifetime to 12 hours:
vcli: admin> vms modify --access-token-lifetime 02:00:00 --refresh-token-lifetime 12:00:00
Comments
0 comments
Article is closed for comments.