code: def awscli_defaults(os_type=None):
      
  
      try:
          if os_type is None:
              os_type = platform.system()
  
          if os_type == 'Linux':
              HOME = os.environ['HOME']
              awscli_credentials = HOME + '/.aws/credentials'
              awscli_config = HOME + '/.aws/config'
          elif os_type == 'Windows':
              username = os.getenv('username')
              awscli_credentials = 'C:\\Users\\' + username + '\\.aws\\credentials'
              awscli_config = 'C:\\Users\\' + username + '\\.aws\\config'
          elif os_type == 'Java':
              logger.warning('Unsupported OS. No information')
              HOME = os.environ['HOME']
              awscli_credentials = HOME + '/.aws/credentials'
              awscli_config = HOME + '/.aws/config'
          alt_credentials = os.getenv('AWS_SHARED_CREDENTIALS_FILE')
      except OSError as e:
          logger.exception(
              '%s: problem determining local os environment %s' %
              (inspect.stack()[0][3], str(e))
              )
          raise e
      return {
                  'awscli_defaults': {
                      'awscli_credentials': awscli_credentials,
                      'awscli_config': awscli_config,
                      'alt_credentials': alt_credentials
                  }
              }
docs: Summary:
          Parse, update local awscli config credentials
      Args:
          :user (str):  USERNAME, only required when run on windows os
      Returns:
          TYPE: dict object containing key, value pairs describing
          os information