This is for the service daemon's store of rotating service secrets.
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
bool empty() {
return secrets.empty();
}
+ void wipe() {
+ secrets.clear();
+ }
void dump();
void dump(ceph::Formatter *f) const {
dump_rotating();
}
+void RotatingKeyRing::wipe()
+{
+ secrets.wipe();
+}
+
void RotatingKeyRing::dump_rotating() const
{
ldout(cct, 10) << "dump_rotating:" << dendl;
bool need_new_secrets(utime_t now) const;
void set_secrets(RotatingSecrets&& s);
void dump_rotating() const;
+ void wipe();
bool get_secret(const EntityName& name, CryptoKey& secret) const override;
bool get_service_secret(uint32_t service_id, uint64_t secret_id,
CryptoKey& secret) const override;