# CredentialsType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

This is a container type for various credentials types: passwords, public keys, one-time password scheme identifiers, etc. However, we expect that password will be the most widely used credential type and that's actually also the only supported type. The reason to "formalize" this structure is the ability to synchronize credentials. If the password would be just an ordinary attribute, we cannot automatically synchronize user and account passwords. Similarly as other credential types. Note: marking password with a special attribute type will not be enough. There may be numerous passwords with various meanings, we need to distinguish the "primary" one to synchronize. We also need to store user password somewhere. This is not perfect. It may change in the future. TODO: support for "old password", e.g. some resource need it to change password.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
$itemDefinition.Name.LocalPart | container PasswordType | [0,1] |
$itemDefinition.Name.LocalPart | container NonceType | [0,1] |
$itemDefinition.Name.LocalPart | container SecurityQuestionsCredentialsType | [0,1] |

- ### Items

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime

    Multiplicity: [0,1]