Beispiel #1
0
 def test_saints_xctf_password_exists(self):
     """
     Test that a SaintsXCTF password exists as expected in Secrets Manager.
     """
     self.assertTrue(SecretsManager.validate_secret(
         secret_id='saints-xctf-andy-password',
         description='SaintsXCTF Password'
     ))
Beispiel #2
0
 def test_jenkins_secret_exists(self):
     """
     Test that the GitHub credentials exist as expected in Secrets Manager.
     """
     self.assertTrue(SecretsManager.validate_secret(
         secret_id='jenkins-secret',
         description='Jenkins Credentials'
     ))
Beispiel #3
0
 def test_google_account_secret_exists(self):
     """
     Test that the GitHub credentials exist as expected in Secrets Manager.
     """
     self.assertTrue(SecretsManager.validate_secret(
         secret_id='google-account-secret',
         description='Google Account Credentials'
     ))
Beispiel #4
0
 def test_github_access_token_secret_exists(self):
     """
     Test that the GitHub credentials exist as expected in Secrets Manager.
     """
     self.assertTrue(SecretsManager.validate_secret(
         secret_id='github-access-token',
         description='GitHub access token for using the GitHub API'
     ))
Beispiel #5
0
 def test_github_secret_exists(self):
     """
     Test that the GitHub credentials exist as expected in Secrets Manager.
     """
     self.assertTrue(SecretsManager.validate_secret(
         secret_id='github-secret',
         description='GitHub key for cloning and pushing to repositories'
     ))
Beispiel #6
0
 def test_aws_access_secrets_exists(self):
     """
     Test that the AWS CLI & SDK access secrets exist as expected in Secrets Manager.
     """
     self.assertTrue(SecretsManager.validate_secret(
         secret_id='aws-access-secrets',
         description='AWS access secrets for using the AWS CLI and SDKs'
     ))