19. A system for minimizing storage time for security credentials for a secure crawl comprising: one or more hardware processors; a non-transitory computer-readable storage medium storing a plurality of instructions, which, when executed, cause the one or more processors to: initiate, at a computer system, a crawl of a secure source; in response to initiating the crawl of the secure source, examine a setting for the secure source, the setting selected by an administrator or user specifying whether security credentials including a temporary password for the secure source are to be stored temporarily; in response to examining the setting, determine that security credentials for the secure source are required to be stored temporarily, and prompt for security credentials including the temporary password at a time of the crawl, wherein the security credentials including the temporary password are associated with said administrator or user; write the security credentials including the temporary password to temporary storage; crawl a plurality of documents obtained from the secure source using the security credentials including the temporary password, and indexing at the computer system the plurality of documents; if the crawl is interrupted before completion, delete the security credentials including the temporary password after the interruption; and if the crawl is completed, delete the security credentials including the temporary password from temporary storage when no longer needed for the crawling.
19. A system for minimizing storage time for security credentials for a secure crawl comprising: one or more hardware processors; a non-transitory computer-readable storage medium storing a plurality of instructions, which, when executed, cause the one or more processors to: initiate, at a computer system, a crawl of a secure source; in response to initiating the crawl of the secure source, examine a setting for the secure source, the setting selected by an administrator or user specifying whether security credentials including a temporary password for the secure source are to be stored temporarily; in response to examining the setting, determine that security credentials for the secure source are required to be stored temporarily, and prompt for security credentials including the temporary password at a time of the crawl, wherein the security credentials including the temporary password are associated with said administrator or user; write the security credentials including the temporary password to temporary storage; crawl a plurality of documents obtained from the secure source using the security credentials including the temporary password, and indexing at the computer system the plurality of documents; if the crawl is interrupted before completion, delete the security credentials including the temporary password after the interruption; and if the crawl is completed, delete the security credentials including the temporary password from temporary storage when no longer needed for the crawling. 20. The system according to claim 19 , wherein: instructions, which, when executed, cause the one or more processors to delete the security credentials including the temporary password, and include instructions that cause the one or more processors to perform a callback at the end of the crawl.