# PasswordHistoryEntryType (Complex Type)

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

Contains a single entry of the password history. It contains a historical value of a password together with essential metadata.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
metadata | container MetadataType | [0,1] | Timestamps and general metadata describing the credential change.
value | property ProtectedStringType | [0,1] |
changeTimestamp | property dateTime | [0,1] | The timestamp when this password was changed to a different value.

- ### Items

  - #### metadata

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    Display order:

    Timestamps and general metadata describing the credential change. This is a copy of the original metadata of the password before it was changed and before it was moved to the history.

  - #### value

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

  - #### changeTimestamp

    Flags: RAM,runtime,oper,I

    Multiplicity: [0,1]

    Display order:

    The timestamp when this password was changed to a different value. This is different from the date in metadata. The dates in metadata tells when this password was created (when it started to be valid). The changeTimestamp tells when the password stopped to be valid and was moved to the history entries. This timestamp can be used to chronologically order the entries.