OpenXPKI::Server::Workflow::Activity::Tools::Datapool::ModifyEntry
Modify the key and/or expiration date of a datapool entry.
This does NOT change the value of a datapool entry.
In the activity definition, the following parameters must be set. See the
example that follows.
- namespace
- The namespace to use.
- key
- Key within the namespace to access.
- newkey
- New key for the entry.
- force
- Causes the set action to overwrite an existing entry.
- expiration_date
- Sets expiration date of the datapool entry to the specified value. The
value can either be an epoch timestamp or a relative time specification,
such as '+000001', which means one day. See
OpenXPKI::DateTime::get_validity, section 'relativedate' for details.
If the expiration date is an empty string, the expiration date
is set to infinity.
- expiration_adjust
- Only adjust the expiration date if it is newer or older than
the current value. See api2/modify_data_pool_entry for details.
- ignore_missing
- If set to a true value, the activity will not throw an exception if the
datapool entry does not exist.