docs: def from_connection_string(s):
  		"""
  		Credential input format:
  		<domain>/<username>/<secret_type>:<secret>@<dc_ip_or_hostname>
  		"""
  		cred = KerberosCredential()
  		
  		cred.domain, t = s.split('/', 1)
  		cred.username, t = t.split('/', 1)
  		secret_type, t = t.split(':', 1)
  		secret, target = t.rsplit('@', 1)
  		
  		st = KerberosSecretType(secret_type.upper())
  		if st == KerberosSecretType.PASSWORD or st == KerberosSecretType.PW or st == KerberosSecretType.PASS:
  			cred.password = secret
  		
  		elif st == KerberosSecretType.NT or st == KerberosSecretType.RC4:
  			cred.nt_hash = secret
  			cred.kerberos_key_rc4 = secret
  			
  		
  		elif st == KerberosSecretType.AES:
  			cred.kerberos_key_aes_256 = secret
  			cred.kerberos_key_aes_128 = secret
  		
  		elif st == KerberosSecretType.DES:
  			cred.kerberos_key_des = secret
  		
  		elif st == KerberosSecretType.DES3 or st == KerberosSecretType.TDES:
  			cred.kerberos_key_des3 = secret
  			
  		elif st == KerberosSecretType.CCACHE:
  			cred.ccache = CCACHE.from_file(secret)
  			
  		return cred