|
NameOpenXPKI::Server::Workflow::Activity::Tools::Connector::GetValue DescriptionThis activity reads a (set of) values from the config connector into the context. ConfigurationActivity parameters
Examplesscalar mode, simple path class: OpenXPKI::Server::Workflow::Activity::Tools::Connector::GetValue
param:
_map_config_path: smartcard.policy.certs.type.[% context.cert_type %].escrow_key
target_key: flag_need_escrow
hash map mode with path assemblyCreator usually contains the delimiter char, so we must use path assembly (otherwise the username is split into path elements). class: OpenXPKI::Server::Workflow::Activity::Tools::Connector::GetValue
param:
mode: map
config_prefix: smartcard.users.by_mail
_map_config_key: "[% context.creator %]"
attrmap: auth2_mail -> mail, auth2_cn -> cn
array mode with path assembly class: OpenXPKI::Server::Workflow::Activity::Tools::Connector::GetValue
param:
mode: array
config_prefix: smartcard.policy.certs.type
_map_config_key: "[% context.cert_type %]"
config_suffix: allowed_profiles
target_key: buid_profiles
|