Comments (7)
Or even just aws-vault profiles
and aws-vault sessions
? Although add
and remove
implicitly act on profiles.. Or maybe kinda like you said, list
lists profiles, list --sessions
lists sessions
from aws-vault.
Thinking about this again.. would a table layout make sense here? e.g.
$ aws-vault list
99designs master 11111111111111111111
99designs session 22222222222222222222
99designs session 33333333333333333333
99designs session 44444444444444444444
home master 55555555555555555555
home session 55555555555555555555
from aws-vault.
There are three different things, a profile, master keys and session keys. The relationship between profile and session master keys ends up being via source_profile
. Confusing to represent and think about.
My big thing is that there isn't anything good to use to get a list of profiles from, which makes cli autocomplete hard.
from aws-vault.
Right... so for our subcommands we currently have
add <profile>
list
rotate <profile>
exec <profile> [<cmd>] [<args>...]
remove <profile>
login <profile>
server
Given that all commands act on a profile, I would think list
should just list profiles - that's the entity you're working with.
Then to see sessions you could just add
sessions [profile]
which would list sessions, maybe in a table format like above?
from aws-vault.
Yeah, I think you are right.
from aws-vault.
So @mtibben, I guess the interesting thing about that is what is the source of profiles? Is it what profiles you have listed in your ~/.aws/config
file, or is it the credentials you have in your keyring? Or both? Say if I have profile1
,profile2
and profile3
in my ~/.aws/config
and then I use aws-vault add profile4
, should a subsequent list show profiles 1-3 or profiles 1-4?
from aws-vault.
It's hard to know which should be definitive, the profiles listed in ~/.aws/config
or your keyring.
from aws-vault.
Related Issues (20)
- aws-vault ec2server cannot utilize an instance of aws-vault proxy that is already running on windows HOT 1
- aws-vault not working with eksctl to update the add-ons of AWS EKS cluster HOT 1
- AppleScript Error Message: variable not defined HOT 1
- mfa_process not working on Windows HOT 1
- [Bug] aws-vault wedges on 'dbus-launch', won't even run `aws-vault --help` or `aws-vault --version` HOT 2
- Usage with MongoDB Compass HOT 3
- Configure aws-vault to cache role tokens HOT 2
- Embedding aws-vault into a golang-written cli HOT 1
- Sponsorship HOT 1
- Unable to find steps to download for Linux ARM Machines HOT 2
- MFA does not seem to be working when using the login function HOT 2
- Can't use --prompt=terminal with --ec2-server on Linux HOT 2
- ECS Server URI needs to include the `get-credentials` path to support AWS SDK Libraries HOT 1
- Unable to decrypt credentials file when using pass backend HOT 4
- Docs out of date for latest version wrt to ykman HOT 1
- No build since March
- Feature: import from `~/.aws/credentials`
- Error when executing any AWS Vault Command on 7.2.0, in WSL Ubuntu on Windows 11 HOT 1
- mfa_process does not seem to be working with Windows
- Importing aws-vault as a library?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-vault.