com.yahoo.vespa.hosted.provision.backup.SnapshotKey Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of node-repository Show documentation
Show all versions of node-repository Show documentation
Keeps track of node assignment in a multi-application setup.
The newest version!
package com.yahoo.vespa.hosted.provision.backup;
import ai.vespa.secret.model.SecretVersionId;
import com.yahoo.security.SealedSharedKey;
import java.util.Objects;
/**
* The sealed encryption key for a {@link Snapshot}.
*
* @author mpolden
*/
public record SnapshotKey(SealedSharedKey sharedKey, SecretVersionId sealingKeyVersion) {
public SnapshotKey {
Objects.requireNonNull(sharedKey);
Objects.requireNonNull(sealingKeyVersion);
}
}