From ab6d5cefbea1e8ddf41f385dd85918f651958287 Mon Sep 17 00:00:00 2001 From: benj Date: Mon, 19 Jun 2023 17:18:21 -0700 Subject: hack to allow impersonator to impersonate target --- crates/iam/src/api.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crates/iam/src/api.rs') diff --git a/crates/iam/src/api.rs b/crates/iam/src/api.rs index c662e0c..7865a75 100644 --- a/crates/iam/src/api.rs +++ b/crates/iam/src/api.rs @@ -217,6 +217,12 @@ pub enum CreateObject { #[arg(long, short)] identity_id: Option, }, + Impersonator { + /// The identity which will be the source impersonator. + impersonator_id: Uuid, + /// The identity id which will be the target for impersonation, and for whom a credential will be created. + target_id: Uuid, + }, Validation { /// Method by which the validation will occur #[command(subcommand)] -- cgit v1.2.3