Fixed bug with secrets PUT;