def write_(path, key, value, profile=None):
 result = _query('POST', path, profile=profile, data=json.dumps({key: value}))
 return read_(path, key, profile)

def write_ ( path , key , value , profile = None ) : result = _query ( 'POST' , path , profile = profile , data = json . dumps ( { key : value } ) ) return read_ ( path , key , profile )
set a key/value pair in the vault service .