Implemented credential creation on demand