- Enclosing class:
- ActionOnKeyOptions
public static interface ActionOnKeyOptions.Prefer
Alters server behavior for POST or DELETE operations. A header with `return=minimal` causes the service to return
only the key identifier as metadata. A header containing `return=representation` returns both the key material and
metadata in the response entity-body. If the key has been designated as a root key, the system cannot return the
key material.
**Note:** During POST operations, Key Protect may not immediately return the key material due to key generation
time. To retrieve the key material, you can perform a subsequent `GET /keys/{id}` request.