py: use decorators, scala: get secret from shell command