User Guide
$ wattson --help
usage: wattson [<flags>] <command> [<args> ...]
The WaTTS client.
Please store your issuer id (up to version 1 the issuer url) in the 'WATTSON_ISSUER' environment variable:
export WATTSON_ISSUER=<the issuer id>
The url of WaTTS can be stored in the environment variable 'WATTSON_URL':
export WATTSON_URL=<url of watts>
It is possible to either pass the access token directly to wattson or use oidc-agent to retrieve access tokens. To use oidc-agent the environment variable
'OIDC_SOCK' needs to point to the socket of the agent and 'WATTSON_AGENT_ACCOUNT' needs to contain the oidc-agent account name to use, the account needs to be
loaded, else it will fail:
export OIDC_SOCK=<path to the oidc-agent socket> (usually this is already exported)
export WATTSON_AGENT_ACCOUNT=<account of oidc-agent to use>
If you want to pass the access token directly please use the WATTSON_TOKEN variable:
export WATTSON_TOKEN=<access token>
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
--version Show application version.
-u, --url=URL the base url of watts' rest interface
-p, --protver=2 protocol version to use (can be 0, 1 or 2)
-j, --json enable json output
--debug enable debug output
Commands:
help [<command>...]
Show help.
info
get the information about watts, e.g. its version
lsprov
list all OpenID Connect provider
lsserv
list all service
lscred
list all credentials
request <serviceId> [<parameter>]
request a credential for a service
revoke <credId>
revoke a credentialClient setup
Flags
Commands
Get Information about the Token Translation Service (info)
List all OpenId Provider (lsprov)
List all service for a user (lsserv) AUTH
Listing all credentials (lscred) AUTH
Requesting a credential (request) AUTH
Basic Request (without parameter sets)
Advanced requests
Revoking a credential (revoke) AUTH
Plugin Developer self signed certificate support
Last updated