Add credentials support

Add cred support and privilege escalation.