kherge / rs.aws-login Goto Github PK
View Code? Open in Web Editor NEWA command line utility to simplify logging into AWS services.
License: ISC License
A command line utility to simplify logging into AWS services.
License: ISC License
When using aws-login
without having aws
in PATH
, a vague error message is displayed.
$ aws-login eks
The list of available EKS clusters could not be retrieved from the AWS CLI.
No such file or directory (os error 2)
The application should detect that aws
is not available and display a better error message.
$ aws-login eks
Please ensure that the AWS CLI is available in PATH.
It would be very handy to have a subcommand that simplifies the process of assuming and unassuming a role.
assume
subcommand.unassume
subcommand.The aws-login use
prompt that is used to select a profile.
I would like to make it easier to find a profile to use.
The list of profiles to select from should be filtered by a text search against a full or partial match of the profile name.
❯ aws-login use
? Please select a profile to use: ›
❯ profile-1
profile-2a
profile-2b
profile-3
(Move up and down to reveal more choices)
❯ aws-login use
? Please select a profile to use: › 2
❯ profile-2a
profile-2b
(Move up and down to reveal more choices)
No response
Shell integration support.
When switching profiles, the active profile is not automatically set when using Fish.
Provide shell integration support for Fish.
The application infrastructure.
aws-login
directly owns responsibility for how the application should be designed.
Delegate this to a library dedicated for it, and possibly benefit from improvements made to the library over time.
I am mostly dogfooding CarLI.
When using the pull
subcommand, an empty object is saved to the templates.json
file.
When using the pull
command, the downloaded templates should be saved to the templates.json
file.
reqwest
is failing silently?The shell script installer.
It is not convenient to read through the documentation to specify the desired shell integration.
Use the SHELL
environment variable to determine which shell integration option to use.
No response
When using pull
to download the templates file, the configuration directory is not automatically created.
$ aws-login pull https://...
Could not save the downloaded templates.
Could not write to the profile templates file: /Users/kherrera/.config/aws-login/templates.json
No such file or directory (os error 2)
When working with the configuration directory, it is automatically created if it does not exist.
Maybe the full path should be created in case the parent directory does not also exist?
Current build fails on the following command:
cargo build --release --locked
For the build to successfully complete.
I introduced this issue when I pushed directly to master. Lesson learned.
The ability to create profiles from templates.
Currently, profile templates can only be used to generate profiles of the same name.
There should be a way to use any existing profile template to generate a new profile using any desired name.
aws-login new template-name profile-name
The purpose of the new command would be solely to use templates for new profiles of any name.
aws-login use --as profile-name
The subcommand would check if the --as
option is being used and either create a new profile from the selected template or copy an existing profile.
No response
Generating a token for authenticating with RDS IAM can be confusing and tedious.
A subcommand could be created to handle prompting the user for the necessary information and then using to generate the token.
Bonus points if you can get dropped straight into the respective database client in the terminal.
When presented with a long list of profiles when running aws-login use
, keyboard navigation through the list does not work.
For keyboard navigation to work properly as it does in other shells.
No response
All error messages that are printed to the screen.
It could be beneficial to use red font color so that users can immediately understand that something has gone wrong instead of coming to that conclusion after having read the message.
Whenever an error message is printed to the screen, the red font color should be used.
No response
It would be very handy to have a subcommand that will download profile templates using a URL, and then saving it to where profile templates are normally stored.
pull
subcommand.The use
subcommand produces an error if no existing AWS CLI profiles are found and the profile templates file does not exist.
$ aws-login use
Could not get a list of existing AWS CLI profiles.
No such file or directory (os error 2)
The subcommand should detect this scenario and display a more elegant error message.
$ aws-login use
There are no profiles available.
No response
When you run the application and an error message is printed, all following text is now the same color as the error text. This persists even with other applications that are used.
The color should reset to their defaults after the error message is printed.
No response
Using AWS CLI to assume and assume roles can be tedious and confusing.
A subcommand could be created to automatically handle shell environment changes required for assuming and unassuming roles.
The documentation for integrating into PowerShell.
Some PowerShell configurations may have their ExecutionPolicy
undefined which prevents the integration script from being loaded.
Update the documentation to help PowerShell users that get caught by this issue.
ExecutionPolicy
is for CurrentUser
.
Get-ExecutionPolicy -List
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
This appears to be a Windows specific issue beginning with PowerShell 6.0 (see -ExecutionPolicy
documentation).
The ability to generate an auth token for RDS Proxy IAM authentication.
We currently cannot select an endpoint for an RDS proxy.
Include the option of selecting an endpoint for a proxy (e.g. read/write, read-only, etc.).
No response
All releases for macOS.
The binaries are not signed and complicate the user experience in launching the application.
Create and use a self-signed certificate to sign macOS releases.
When running the application in PowerShell without any arguments, the help screen does not have any font color.
When running the application in PowerShell without any arguments, the help screen should have the same colors that other terminals support.
The profile listing for selection.
There are some profiles I use far more frequently than others. Sorting alphabetically may not be the most convenient way of listing the available profiles.
Add an option to allow profiles to be sorted by how often they are used. When a profile is selected, increment an internal counter for it by one. The next time the profile list is presented, sort by that internal number for each profile in the list.
No response
The application does not integrate into the correct PowerShell profile.
The application properly detects the active PowerShell profile and uses it for integration.
It would be useful to have a subcommand that takes care of generating credentials to authenticate into an RDS cluster using IAM authentication.
rds
subcommand.Windows path separator is used in Windows when running in Git for Windows shell while running shell script installer.
Use the Unix path separator on shell script installation.
No response
Shell integration support.
When switching profiles, the active profile is not automatically set when using PowerShell.
Provide shell integration support for PowerShell.
The test workflow setup on GitHub.
The test workflow is only running the test suite on Linux.
The test workflow should run the test suite on all platforms releases are built for.
No response
The current documentation does not clearly specify that SSO support is for AWS SSO, not other services such as Okta.
The documentation to explicitly state that SSO support is for AWS SSO.
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.