Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding validation for aws credentials without any dependency on boto3 #135

Merged
merged 26 commits into from
Nov 16, 2020

Conversation

joshuaberetta
Copy link
Member

@joshuaberetta joshuaberetta commented Nov 10, 2020

closes #125

Adding functionality to allow for AWS credentials to be validated during the setup process. If the validation fails for whatever reason, the user is prompted a maximum of another 2 times before being asked if they would like to rather skip the validation and continue with the setup. If validation is successful, they will be greeted with a AWS credentials verified message and the setup process will continue as normal.

@joshuaberetta joshuaberetta marked this pull request as ready for review November 11, 2020 19:28
@joshuaberetta joshuaberetta changed the title Adding validation for aws credentials without any dependancy on boto3 Adding validation for aws credentials without any dependency on boto3 Nov 11, 2020
helpers/aws_validation.py Show resolved Hide resolved
helpers/aws_validation.py Outdated Show resolved Hide resolved
helpers/aws_validation.py Outdated Show resolved Hide resolved
helpers/aws_validation.py Outdated Show resolved Hide resolved
helpers/aws_validation.py Outdated Show resolved Hide resolved
helpers/aws_validation.py Outdated Show resolved Hide resolved
helpers/aws_validation.py Outdated Show resolved Hide resolved
helpers/config.py Outdated Show resolved Hide resolved
helpers/config.py Outdated Show resolved Hide resolved
helpers/aws_validation.py Show resolved Hide resolved
helpers/config.py Outdated Show resolved Hide resolved
helpers/config.py Outdated Show resolved Hide resolved
helpers/aws_validation.py Outdated Show resolved Hide resolved
helpers/aws_validation.py Outdated Show resolved Hide resolved
helpers/aws_validation.py Outdated Show resolved Hide resolved
helpers/config.py Outdated Show resolved Hide resolved
helpers/config.py Show resolved Hide resolved
helpers/config.py Outdated Show resolved Hide resolved
helpers/config.py Outdated Show resolved Hide resolved
Base automatically changed from refactoring to 53-kobo-coding-style November 13, 2020 20:37
Base automatically changed from 53-kobo-coding-style to master November 13, 2020 20:47
tests/test_config.py Outdated Show resolved Hide resolved
tests/test_config.py Show resolved Hide resolved
if (
self.access_key == 'test_access_key'
and self.secret_key == 'test_secret_key'
):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@noliveleger noliveleger merged commit ec3e516 into master Nov 16, 2020
@noliveleger noliveleger deleted the 125-validate-aws-credentials branch November 16, 2020 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants