# DockerSecretsProviderType (Complex Type)

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

Supertype: ContainerSecretsProviderType
Docker secrets provider. Files with secrets are by default located in "/run/secrets/*" directory or in "C:\ProgramData\Docker\secrets\*" directory.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
identifier | property string | [1,1] | Unique identifier of this secrets provider.
display | container DisplayType | [0,1] | Display name, icon and styles for secret provider.
description | property string | [0,1] | Free-form description of the secrets provider.
documentation | property string | [0,1] | Free-form description of the secrets provider.
cache | property duration | [0,1] | Time-to-live when caching the secrets provided by this provider.
allowKeyPrefix | property string | [0,-1] | Allowed prefix for the secret keys resolved by this provider.
charset | property string | [0,1] | Charset of the files where secrets are stored.

- ### Items

  - #### identifier

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Display order:

    Unique identifier of this secrets provider.

  - #### display

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Display name, icon and styles for secret provider. This is mostly for UI purposes.

  - #### description

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Free-form description of the secrets provider.

  - #### documentation

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Free-form description of the secrets provider.

  - #### cache

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Time-to-live when caching the secrets provided by this provider. The secrets will be refreshed after this time. If not specified or duration is zero then the secrets will not be cached. If duration is negative then the secrets will be cached forever. Otherwise, secrets will be cached for specified duration time.

  - #### allowKeyPrefix

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Display order:

    Allowed prefix for the secret keys resolved by this provider. If not specified, all keys are allowed. E.g. "MYAPP_" - provider will only be able to use environment variables that start with "MYAPP_".

  - #### charset

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Charset of the files where secrets are stored.