AWS SSO utility
Project description
AWS Single Sign On
Deprecation Notice
If your AWS organization has been configured with Identity Center you should use the aws sso command that's
included in the AWS cli. After going through the configuration step your ~/.aws/config might look like the following,
where example refers to the name of your company or organization. You can define multiple AWS profiles linked to
one sso session.
[sso-session example]
sso_start_url = https://example.awsapps.com/start
sso_region = us-east-1
[profile example-stage-admin]
sso_session = example
sso_account_id = REDACTED
sso_role_name = AdministratorAccess
region = us-east-1
output = json
The aws sso configure and aws sso login actions attempt to open your default web browser and initiate the login process
for your AWS org. For more information see their official documentation:
Example Usage
pip install aws-sso
aws-sso site add --domain example.com --username {your_name}
aws-sso discover --domain example.com --skip-names
aws-sso login --domain example.com
pip install awscli
cd path/to/project
echo "export AWS_PROFILE=sbx" > .envrc
direnv allow
aws s3 ls
Code Quality
Run the following commands to analyze the project with sonar.
docker run -d --name sonarqube -p 9000:9000 sonarqube
nosetests --with-xunit --with-coverage --cover-xml
sonar-scanner -D project.settings=cicd/sonar-project.properties
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aws_sso1-0.0.2241904-py3-none-any.whl.
File metadata
- Download URL: aws_sso1-0.0.2241904-py3-none-any.whl
- Upload date:
- Size: 24.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c478642176bb8309160f10bfddaade45b75d1aa42a381641e888564e91e6cb6
|
|
| MD5 |
90826b02bc4c9bda771d15c094890895
|
|
| BLAKE2b-256 |
e69bc86e061c133e6bc9f86e80da9db35ef33b99e51ca40b09ed6c2f1151b432
|