Update secret and get secrets api calls implemented