diff options
| author | benj <benj@rse8.com> | 2023-06-19 17:18:21 -0700 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2023-06-19 17:18:21 -0700 |
| commit | ab6d5cefbea1e8ddf41f385dd85918f651958287 (patch) | |
| tree | ac3a6b45b1a0e6a833a627307d07e94a95ba3c23 /crates/iam/src/api.rs | |
| parent | 3406b370fe290559ff2445097a380d6f48d0f9af (diff) | |
| download | secdiam-ab6d5cefbea1e8ddf41f385dd85918f651958287.tar secdiam-ab6d5cefbea1e8ddf41f385dd85918f651958287.tar.gz secdiam-ab6d5cefbea1e8ddf41f385dd85918f651958287.tar.bz2 secdiam-ab6d5cefbea1e8ddf41f385dd85918f651958287.tar.lz secdiam-ab6d5cefbea1e8ddf41f385dd85918f651958287.tar.xz secdiam-ab6d5cefbea1e8ddf41f385dd85918f651958287.tar.zst secdiam-ab6d5cefbea1e8ddf41f385dd85918f651958287.zip | |
hack to allow impersonator to impersonate target
Diffstat (limited to 'crates/iam/src/api.rs')
| -rw-r--r-- | crates/iam/src/api.rs | 6 |
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)] |
