# 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. 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.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
password | container PasswordType | [0,1] |
nonce | container NonceType | [0,1] |
securityQuestions | container SecurityQuestionsCredentialsType | [0,1] |

- ### Items

  - #### password

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### nonce

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### securityQuestions

    Flags: RAM,runtime

    Multiplicity: [0,1]