docs: def write_vaultlocker_conf(context, priority=100):
      """Write vaultlocker configuration to disk and install alternative
  
      :param context: Dict of data from vault-kv relation
      :ptype: context: dict
      :param priority: Priority of alternative configuration
      :ptype: priority: int"""
      charm_vl_path = "/var/lib/charm/{}/vaultlocker.conf".format(
          hookenv.service_name()
      )
      host.mkdir(os.path.dirname(charm_vl_path), perms=0o700)
      templating.render(source='vaultlocker.conf.j2',
                        target=charm_vl_path,
                        context=context, perms=0o600),
      alternatives.install_alternative('vaultlocker.conf',
                                       '/etc/vaultlocker/vaultlocker.conf',
                                       charm_vl_path, priority)