Describe the solution you'd like
The API and CLI to create a user supports the password-expires variable
While we're, support for account expiry too.
Describe alternatives you've considered
Only option is to do this manually currently
Additional context
rowlf-4# isi auth users create --help
Description:
Create a user.
Required Privileges:
ISI_PRIV_AUTH, ISI_PRIV_RESTRICTED_AUTH
Usage:
isi auth users create <name>
[--enabled <boolean>]
[{--expiry | -x} <timestamp>]
[--email <string>]
[--gecos <string>]
[--home-directory <string>]
[--password <string>]
[--password-expires <boolean>]
[--primary-group <name> | --primary-group-gid <id> | --primary-group-sid <sid>]
[--prompt-password-change <boolean>]
[--shell <string>]
[--uid <integer>]
[--disable-when-inactive <boolean>]
[--zone <string>]
[--provider <provider>]
[--set-password]
[{--verbose | -v}]
[{--force | -f}]
[{--help | -h}]
Describe the solution you'd like
The API and CLI to create a user supports the password-expires variable
While we're, support for account expiry too.
Describe alternatives you've considered
Only option is to do this manually currently
Additional context