9. A non-transitory computer-readable storage medium storing instructions, the instructions which when executed by one or more processors, cause the one or more processors to crawl secure documents in an enterprise system, the instructions comprising instructions for: specifying in metadata for a secure data source an indication that a temporary password storage option is selected for the secure data source; examining the metadata for the secure data source at crawl time to determine that the temporary password storage option is selected for the secure data source; prompting for and receiving security credentials; in response to determining that the temporary password storage option is selected, writing the security credentials to a temporary storage; reading the security credentials from the temporary storage; crawling a set of documents provided by the secure data source, wherein each document of the set of documents is associated with a set of security attributes; wherein crawling further comprises presenting the security credentials to the secure data source; indexing one or more documents of the set of documents, each document of the one or more documents associated with a set of security attributes that allow access to the one or more documents based on the security credentials; and deleting the security credentials in response to completing use of the security credentials.
9. A non-transitory computer-readable storage medium storing instructions, the instructions which when executed by one or more processors, cause the one or more processors to crawl secure documents in an enterprise system, the instructions comprising instructions for: specifying in metadata for a secure data source an indication that a temporary password storage option is selected for the secure data source; examining the metadata for the secure data source at crawl time to determine that the temporary password storage option is selected for the secure data source; prompting for and receiving security credentials; in response to determining that the temporary password storage option is selected, writing the security credentials to a temporary storage; reading the security credentials from the temporary storage; crawling a set of documents provided by the secure data source, wherein each document of the set of documents is associated with a set of security attributes; wherein crawling further comprises presenting the security credentials to the secure data source; indexing one or more documents of the set of documents, each document of the one or more documents associated with a set of security attributes that allow access to the one or more documents based on the security credentials; and deleting the security credentials in response to completing use of the security credentials. 16. The non-transitory computer-readable storage medium of claim 9 , wherein multiple crawls are initiated, and the instructions further comprising instructions for retaining the security credentials until no longer needed for any of those crawls.