# CredentialPolicyType (Complex Type)

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

Structure that specifies common elements to all the credential policies.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
$itemDefinition.Name.LocalPart | container CredentialsStorageMethodType | [0,1] | Method used to store the values of this credential (encrypted, hashed, .
$itemDefinition.Name.LocalPart | container CredentialsResetMethodType | [0,1] | Specifies the method of resetting the credential.
$itemDefinition.Name.LocalPart | property CredentialsPropagationUserControlType | [0,1] |
$itemDefinition.Name.LocalPart | property string | [0,1] |
$itemDefinition.Name.LocalPart | property string | [0,1] |
$itemDefinition.Name.LocalPart | property duration | [0,1] |
$itemDefinition.Name.LocalPart | property duration | [0,1] |
$itemDefinition.Name.LocalPart | property duration | [0,1] |
$itemDefinition.Name.LocalPart | property int | [0,1] |
$itemDefinition.Name.LocalPart | property duration | [0,1] |
$itemDefinition.Name.LocalPart | property duration | [0,1] |
$itemDefinition.Name.LocalPart | reference ObjectReferenceType | [0,1] | Reference to the value policy for the credential.
$itemDefinition.Name.LocalPart | property int | [0,1] |
$itemDefinition.Name.LocalPart | container CredentialsStorageMethodType | [0,1] | Method used to store historical values of the credential (encrypted, hashed, .

- ### Items

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Method used to store the values of this credential (encrypted, hashed, ...) If storage method is not specified it defaults to encryption (due to compatibility and convenience reasons).

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Specifies the method of resetting the credential. This usually applies to a self-service credential reset.

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime,AVals:2

    Multiplicity: [0,1]

  - #### $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]

  - #### $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]

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM

    Multiplicity: [0,1]

    Reference to the value policy for the credential.

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Method used to store historical values of the credential (encrypted, hashed, ...) If storage type is not specified then it defaults to hashing.