The cost to the federal government of keeping all of its secrets was more than $11 billion last year, according to publicly available records. That total does not include costs incurred by the CIA and the NSA and other spy agencies, because those figures are classified.