Comments (3)
Just a comment from an interested observer: from skimming the linked PR, it looks like the patch will enable retrieving specific keys from sso-session
blocks? So given a config file containing
[sso-session sso-personal]
sso_region = ...
sso_start_url = ...
[sso-session sso-homebusiness]
sso_region = ...
sso_start_url = ...
the patch would permit things like aws configure get sso-personal.sso_start_url
?
My comment/question is whether it could be extended a little bit to also support some variation on the theme of aws configure list-sso-sessions
? Or perhaps a --sso-sessions
option flag to the existing configure list-profiles
?
I ask because there is no way at present that I can find to extract the "sso-personal" and "sso-homebusiness" labels from the configuration file. (I was hoping to script some management utilities around generating these sections, or at least testing whether a previous aws configure sso-session
call had done so, etc.)
from aws-cli.
Thanks for the feature request. After a quick discussion with the team, we think this probably a reasonable request for the aws configure get command but further review is needed regarding the potential implementation. We would have to account for the config file variations and not introduce any possibly breaking behavior.
from aws-cli.
No problem, I had added the unit test for the new functionality.. and whilst here the CI Workflow didn't run yet due to review process, All Pytests executed locally successfully (with Py3.9 + Py3.11).
The only things I thought might perhaps make sense but didn't add was support for was get sso_section attributes using Unqualified Names...
e.g If one Specifies aws configure get sso_start_url --profile abc
This could lookup the values in the 'abc' profile section, if there isn't an sso_start_url key in that profile, then check if it has an sso_section key... if it does use that value to get the respective sso_section and return the sso_start_url value set there.
Also probably a documentation sample could be updated.
from aws-cli.
Related Issues (20)
- `GLIBC_2.28' not found with aws-actions/configure-aws-credentials@v4 action HOT 2
- In aws cloudformation package command, !Sub or !Ref function cannot work properly in Code property of AWS::Lambda::Function resource. HOT 3
- aws-cli/2.17.8 on Linux is flagged as vulnerable to CVE-2024-0397 HOT 4
- AWS CLI SSO stuck in browser loading state when click Allow
- Feature request: Support publishing SAM template to SAR that leverages an existing macro HOT 3
- OpenSSL 1.1.1y out of date in ARM distributions HOT 7
- aws sso login still broken for profiles outside of us-east-1 HOT 2
- --profile mandatory even if there is just one profile HOT 2
- setup.py(short issue description) HOT 1
- Option to preserve `role_session_name` when chaining roles HOT 3
- aws rds describe-db-instances missing LatestRestorableTime in output HOT 2
- Installing in relative path installs broken symlinks HOT 2
- awscli IAM list-users and list-access-keys doesn't parse max-items to request body HOT 2
- `aws ec2-instance-connect` times out too fast on MacOS HOT 2
- Support `DescribeExection` for Express Step Functions HOT 1
- aws ec2 import-image doesn't honour the DeviceName in the disk-container file HOT 3
- Example of how to retrieve all logs from a log group stream
- get authentication token / password for IAM secured elasticache (Redis OSS)
- Memory leak during recursive deletion of files from S3 bucket
- aws cloudformation package mixes two lambda functions with wrong indentation
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-cli.