Browse and discover AWS Service Authorization Reference interactively in Nushell.
Copy awssr.nu
into one of your NU_LIB_DIRS
and add use awssr.nu
to your config.nu
.
> awssr <service> <action>
Parameters:
service <string>: AWS service name (e.g. s3), supports tab completion and filtering
action <string>: action name (e.g. ListBucket), supports tab completion only
AWS service reference data are obtained programmatically via http get
as suggested in the AWS Service Authorization Reference docs.
A table of the in-memory sqlite database is used to cache the list of services and corresponding reference URLs, as suggested in nushell#12801.
Each service action list is then served as completion context.
The selected action reference is finally enriched with link to Permissions and displayed in the terminal.