This endpoint updates the secrets of a resource. If a resource has projects connected, the connected secrets are updated with the new secrets.