mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-04 08:27:46 +08:00
Support per-format provider key auth
This commit is contained in:
@@ -831,6 +831,10 @@ pub(super) fn build_admin_pool_key_payload(
|
||||
payload.insert("key_name".to_string(), json!(key.name));
|
||||
payload.insert("is_active".to_string(), json!(key.is_active));
|
||||
payload.insert("auth_type".to_string(), json!(key.auth_type));
|
||||
payload.insert(
|
||||
"auth_type_by_format".to_string(),
|
||||
json!(key.auth_type_by_format),
|
||||
);
|
||||
payload.insert(
|
||||
"credential_kind".to_string(),
|
||||
json!(auth_semantics.credential_kind().as_str()),
|
||||
|
||||
Reference in New Issue
Block a user