Modify the Tape Server code to pass the encryption key ID directly to the python script `cta-get-encryption-key`
Introduction
At the moment, the script cta-get-encryption-key queries cta-admin
(whish interacts with the ctafrontend) to query for the encryption Key ID. As mentioned in https://gitlab.cern.ch/cta/operations/-/issues/839, this dependency on the ctafrontend can cause some HA related problems.
Fortunately, we can simplify bypass this check - simplify the script a lot - by passing the Key ID directly from the Tape Server. The Tape Server has access to the catalogue, therefore there is no reason not to get this field there.
Task
The Tape Server code needs to be modified to pass the Key ID directly to the script cta-get-encryption-key
instead of the tape VID.
This requires the following two issues to be completed first: #137 (closed), #138 (closed)