get_parameters_for_export
Get APC signing certificate and export token before building a TR-34 export payload for an external system. Select key material type and signing algorithm; reuse valid token when retrying.
Instructions
Call this before export_key when using TR-34 — you need APC's signing certificate before constructing the export payload for an external system.
Args: key_material_type: Tr31KeyBlock or Tr34KeyBlock signing_key_algorithm: RSA_2048, RSA_3072, RSA_4096 reuse_last_generated_token: Reuse the existing export token and signing key certificate when one is still valid for the same key material type and algorithm, with at least 7 days of validity left. Default false, which mints a new token on every call. Set true when retrying, or when building an export payload across several steps, so the token does not change underneath you.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_material_type | Yes | ||
| signing_key_algorithm | Yes | ||
| reuse_last_generated_token | No |