+
    i  c                   s.    ^ RI HtHt  ! R R]]4      tR# )i    )PluginUbuntuPluginc                   sD   a  ] tR t^t o RtRtRtRtR	tR	t	R t
R tRtV tR# )
VaultzThe Vault plugin collects the current status of the vault
snap on a Ubuntu machine.

It will collect logs from journal, vault status and configuration
z3Manage access to secrets and protect sensitive datavaultc                s
   R pV P                  V4        \        VRRR7      ;_uu_ 4       pVP                  4       P                  4        Fi  pV'       g   K  VP	                  R4      pV^ ,          P                  4       R8X  g   K<  V^,          P                  R4      pV P                  RRV/R	7       Kk  	  R
R
R
4       R
#   + '       g   i     R
# ; i  \         d#   pT P                  RT RT 24        R
p?R
# R
p?ii ; i) /var/snap/vault/common/vault.hclZrzUTF-8)ZencodingZ=api_addrz" zvault statusZ
VAULT_ADDR)ZenvNzCould not open conf file z: )	Zadd_copy_specZopenZreadZ
splitlinesZsplitZstripZadd_cmd_outputZIOErrorZ
_log_error)selfZ	vault_cfgZcfileZlineZwordsr   Zerrors   &      =/usr/lib/python3.14/site-packages/sos/report/plugins/vault.pysetupZVault.setup   s    6	9%	Niw775!JJL335D  JJsOEQx~~':5#(8>>%#8++N1=x0H , J 6 8777  	NOO7	{"UGLMM	Ns;   C AC1C7C C	C C D C==Dc                s,    V P                  R RR4       R# )r   z(password\s?=\s?).*z\1******N)Zdo_file_sub)r   s   &r   postprocZVault.postproc/   s    ."	
     N)ZsysmgmtZsecurity)r   )Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__Z
short_descZplugin_nameZprofilesZservicesZpackager   r	   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s6      GJK&HHGN&
 
r
   r   N)Zsos.report.pluginsr    r   r   r   r
   r   <module>r      s    4&
FL &
r
   