docs: def get_auto_credentials(self, bucket):
          """
          :param bucket:
          :return: returns a dictionary of credentials for bucket/admin
          authentication
          """
  
          result = {k: v(self) for k, v in self.get_unique_creds_dict().items()}
          if bucket:
              result.update(self.get_cred_bucket(bucket))
          else:
              result.update(self.get_cred_not_bucket())
          return result