aboutsummaryrefslogtreecommitdiff
path: root/crates/iam/src/api.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/iam/src/api.rs')
-rw-r--r--crates/iam/src/api.rs6
1 files changed, 6 insertions, 0 deletions
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<Uuid>,
},
+ 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)]