From 0fa8bda6e565211d10a1b22168dbf707b6d92c7d Mon Sep 17 00:00:00 2001 From: Tor Brede Vekterli Date: Wed, 2 Nov 2022 17:11:46 +0100 Subject: [PATCH] Add feature flag for core dump encryption public key ID --- flags/src/main/java/com/yahoo/vespa/flags/Flags.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java index df797a14e773..300a3548a94d 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java @@ -418,6 +418,13 @@ public class Flags { "Takes effect on the next tick.", ZONE_ID, NODE_TYPE, HOSTNAME); + public static final UnboundStringFlag CORE_ENCRYPTION_PUBLIC_KEY_ID = defineStringFlag( + "core-encryption-public-key-id", "", + List.of("vekterli"), "2022-11-03", "2022-12-01", + "Specifies which public key to use for core dump encryption.", + "Takes effect on the next tick.", + ZONE_ID, NODE_TYPE, HOSTNAME); + /** WARNING: public for testing: All flags should be defined in {@link Flags}. */ public static UnboundBooleanFlag defineFeatureFlag(String flagId, boolean defaultValue, List owners, String createdAt, String expiresAt, String description,