diff --git a/xroot_plugins/XrdCtaFile.cpp b/xroot_plugins/XrdCtaFile.cpp
index b8f27f7311e7315ad4b6d48f3e2941d09e5bd4f9..53c1db05b95c4bcadefb5356164037aea2ca08b6 100644
--- a/xroot_plugins/XrdCtaFile.cpp
+++ b/xroot_plugins/XrdCtaFile.cpp
@@ -1034,7 +1034,7 @@ void XrdCtaFile::xCom_tape() {
         currentRow.push_back(it->vid);
         currentRow.push_back(it->logicalLibraryName);
         currentRow.push_back(it->tapePoolName);
-        currentRow.push_back((bool)it->encryptionKey ? it->encryptionKey.value() : "null");
+        currentRow.push_back((bool)it->encryptionKey ? it->encryptionKey.value() : "-");
         currentRow.push_back(std::to_string((unsigned long long)it->capacityInBytes));
         currentRow.push_back(std::to_string((unsigned long long)it->dataOnTapeInBytes));
         currentRow.push_back(std::to_string((unsigned long long)it->lastFSeq));