Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_sso1-0.0.2241904-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

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

Hashes for aws_sso1-0.0.2241904-py3-none-any.whl
Algorithm Hash digest
SHA256 5c478642176bb8309160f10bfddaade45b75d1aa42a381641e888564e91e6cb6
MD5 90826b02bc4c9bda771d15c094890895
BLAKE2b-256 e69bc86e061c133e6bc9f86e80da9db35ef33b99e51ca40b09ed6c2f1151b432

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page