init credential