You got downvoted because storing encrypted secrets is fine.
Only until/unless the encryption is broken. I wouldn’t store long-lived secrets even encrypted in a public place.
Storing where?
You got downvoted because storing encrypted secrets is fine.