How to get Documents secret in script?

Thanks @Chr1sG!

Related: Update a linked Document by prepending the contents of Rich Text fields