diff --git a/scripts/confidential_compute.py b/scripts/confidential_compute.py index 1769da0af..5e153d1d5 100644 --- a/scripts/confidential_compute.py +++ b/scripts/confidential_compute.py @@ -26,7 +26,7 @@ def validate_operator_key(): operator_key = self.configs.get("api_token") if not operator_key: raise ValueError("API token is missing from the configuration.") - pattern = r"^(UID2|EUID)-.\-(I|P)-\d+-\*$" + pattern = r"^(UID2|EUID)-.\-(I|P)-\d+-.*$" if re.match(pattern, operator_key): env = self.configs.get("environment", "").lower() debug_mode = self.configs.get("debug_mode", False)