https://github.com/a-slice-of-py/nu-aws-service-reference
Browse and discover AWS Service Authorization Reference interactively in Nushell.
https://github.com/a-slice-of-py/nu-aws-service-reference
Last synced: 18 days ago
JSON representation
Browse and discover AWS Service Authorization Reference interactively in Nushell.
- Host: GitHub
- URL: https://github.com/a-slice-of-py/nu-aws-service-reference
- Owner: a-slice-of-py
- License: mit
- Created: 2025-03-24T17:05:59.000Z (21 days ago)
- Default Branch: main
- Last Pushed: 2025-03-24T17:15:08.000Z (21 days ago)
- Last Synced: 2025-03-24T18:24:19.398Z (21 days ago)
- Language: Nushell
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nu - nu-aws-service-reference
README
# nu-aws-service-reference
Browse and discover AWS Service Authorization Reference interactively in Nushell.## Installation
Copy `awssr.nu` into one of your [`NU_LIB_DIRS`](https://www.nushell.sh/book/configuration.html#using-constants) and add `use awssr.nu` to your `config.nu`.
## Usage
```
> awssrParameters:
service : AWS service name (e.g. s3), supports tab completion and filtering
action : action name (e.g. ListBucket), supports tab completion only
```## How it works
AWS service reference data are obtained programmatically via `http get` as suggested in the [AWS Service Authorization Reference docs](https://docs.aws.amazon.com/service-authorization/latest/reference/service-reference.html).
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](https://github.com/nushell/nushell/issues/12801#issuecomment-2676913305).
Each service action list is then served as [completion context](https://www.nushell.sh/book/custom_completions.html#context-aware-custom-completions).
The selected action reference is finally enriched with link to [Permissions](https://aws.permissions.cloud/) and displayed in the terminal.