Code Monkey home page Code Monkey logo

awsenv.fish's Introduction

awsenv.fish

A simple multi-provider AWS profile manager for fish-shell with backed-in supports for saml2aws and aws-vault.

Usage

# awsenv 0.1.0 (https://github.com/0rax/awsenv.fish)

A simple multi-provider AWS profile manager for fish-shell with backed-in
supports for saml2aws and aws-vault. The aws-cli is required for this software
to work.

Usage:

    awsenv saml <profile>
        Switch current profile to <profile> using saml2aws

    awsenv vault <profile>
        Switch current profile to <profile> using aws-vault

    awsenv cli <profile>
        Switch current profile to <profile> using aws-cli

    awsenv get
        Print currently loaded profile (if "<none>" is returned, the aws-cli
        will use its default profile)

    awsenv list
        List all available profiles (sorted by provider)

    awsenv status
        Get the current status of the profile, including the account number
        linked to the profile and the configured region if any

    awsenv disconnect
        Cleanup all profile specific environment variable from the current
        shell session

    awsenv help
        Print this help and exit

Installation

Using Make

# Will copy all necessary files to ~/.config/fish/{functions,completions}
make install

# The target path can be overridden via
make install FISH_CONFIG_PATH=/home/me/myfolder

Using Symlinks

# This method allows you to update awsenv using git pull
git clone https://github.com/0rax/awsenv.fish.git ~/.config/fish/awsenv
mkdir -p ~/.config/fish/functions/ ~/.config/fish/completions/
ln -s ~/.config/fish/awsenv/functions/*.fish ~/.config/fish/functions/
ln -s ~/.config/fish/awsenv/completions/awsenv.fish ~/.config/fish/completions/

awsenv.fish's People

Contributors

0rax avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

mrevjd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.