How to use stsauth - 1 common examples

To help you get started, we’ve selected a few stsauth examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cshamrick / stsauth / tests / test_stsauth.py View on Github external
def setUp(self):
        self.username = 'username'
        self.password = 'password'
        config = {
            'default': {
                'idpentryurl': '',
                'domain': '',
                'region': '',
                'output': ''
            }
        }
        self.credentialsfile = './fixtures/credentials'
        self.sts_auth = STSAuth(self.username, self.password, self.credentialsfile)
        self.sts_auth.config = MagicMock(return_value=config)

stsauth

CLI tool for fetching AWS tokens.

MIT
Latest version published 3 months ago

Package Health Score

58 / 100
Full package analysis

Popular stsauth functions

Similar packages