Create a credentials file at ~/.wsm/credentials.yaml
by logging into your wsm:
wsm login
You can then use the wsm-cli
command to interact with the Workspace Manager.
wsm-cli start-workspace 12345
You can get the list of commands by running
wsm-cli -h
You can get help for each command by running
wsm-cli help <command>
You can create credentials for a different wsm using the profile option on login
wsm-cli --profile 'otherProfile' login
You can then specify which profile to use with the --profile
option on any cli command.
wsm-cli --profile dev start-workspace 12345
If no --profile
option is specified, default
is used.