fix(keystone): fail closed on EC2 auth and apply configured timeout (#4464)

This commit is contained in:
Zhengchao An
2026-07-08 18:31:48 +08:00
committed by GitHub
parent 7a33ba5e21
commit 9ffedc0e2b
9 changed files with 94 additions and 78 deletions
+7
View File
@@ -51,6 +51,13 @@ pub enum KeystoneError {
#[error("Unsupported Keystone version")]
UnsupportedVersion,
/// EC2/SigV4 credential authentication is not supported
///
/// The EC2 path deliberately fails closed rather than fabricating an
/// identity from client-supplied input.
#[error("EC2 credential authentication is not supported")]
Ec2AuthUnsupported,
/// Project not found
#[error("Project not found")]
ProjectNotFound,