better auth handling for VaultPass

This commit is contained in:
2020-03-29 01:45:33 -04:00
parent 9bfbba30df
commit 6639053208
3 changed files with 50 additions and 6 deletions

View File

@@ -7,16 +7,24 @@
attributeFormDefault="unqualified">
<xs:include schemaLocation="../lib/types/vaultpass.xsd"/>
<xs:include schemaLocation="../lib/elements/vaultpass.xsd"/>
<!-- ROOT -->
<xs:element name="vaultpass">
<xs:complexType>
<xs:all>
<xs:element name="uri" type="t_std_uri" minOccurs="0" maxOccurs="1" default="http://localhost:8000/"/>
<xs:element name="auth" type="t_vaultpass_auth" minOccurs="1" maxOccurs="1"/>
<xs:element name="server" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:all>
<xs:element name="uri" type="t_std_uri" minOccurs="0" maxOccurs="1"
default="http://localhost:8000/"/>
<xs:element name="unseal" minOccurs="0" maxOccurs="1" type="t_std_base64"/>
</xs:all>
</xs:complexType>
</xs:element>
<xs:element ref="t_vaultpass_authselect" minOccurs="1" maxOccurs="1"/>
</xs:all>
<xs:attribute name="autoUnseal" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="unsealShard" type="t_std_base64" use="optional"/>
</xs:complexType>
</xs:element>
</xs:schema>