Skip to content

Instantly share code, notes, and snippets.

View abusch's full-sized avatar

Antoine Büsch abusch

View GitHub Profile
# nushell support for https://github.com/common-fate/granted
# Save this file to `granted.nu` in your nushell config dir, then add `use granted.nu *` in your config.nu
# assume - https://granted.dev
export def --env --wrapped assume [...rest: string] {
const var_names = [
"AWS_ACCESS_KEY_ID",
"AWS_SECRET_ACCESS_KEY",
"AWS_SESSION_TOKEN",
"AWS_PROFILE",