code: def get_aws_secrets_from_env():  # type: () -> Set[str]
      
      keys = set()
      for env_var in (
          'AWS_SECRET_ACCESS_KEY', 'AWS_SECURITY_TOKEN', 'AWS_SESSION_TOKEN',
      ):
          if env_var in os.environ:
              keys.add(os.environ[env_var])
      return keys
docs: Extract AWS secrets from environment variables.