We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a037caa commit 74c200cCopy full SHA for 74c200c
application/single_app/functions_keyvault.py
@@ -189,13 +189,9 @@ def validate_secret_name_dynamic(secret_name):
189
pattern = rf"^(.+)--({sources_pattern})--({scopes_pattern})--(.+)$"
190
match = re.match(pattern, secret_name)
191
if not match:
192
- print(f"Secret name '{secret_name}' does not match the required pattern.")
193
- logging.warning(f"Secret name '{secret_name}' does not match the required pattern.")
194
return False
195
# Optionally, check length
196
if len(secret_name) > 127:
197
- print(f"Secret name '{secret_name}' exceeds the maximum length of 127 characters.")
198
- logging.warning(f"Secret name '{secret_name}' exceeds the maximum length of 127 characters.")
199
200
return True
201
0 commit comments