setter method for secrets