From b1e772ddf35449da99f1d55c0624bb02fbe63b72 Mon Sep 17 00:00:00 2001 From: Bill Wang <ozbillwang@users.noreply.github.com> Date: Wed, 23 Oct 2024 22:53:55 +1100 Subject: [PATCH] docs: improve README for #66 --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3788018..b70e987 100644 --- a/README.md +++ b/README.md @@ -276,11 +276,17 @@ $ az-pim-cli activate group --name my-entra-id-group --duration 5 $ az-pim-cli list roles == my-entra-id-role == - Owner + - contributor # Activate the first matching role for the Entra role 'my-entra-id-role' -$ az-pim-cli activate role --name my-entra-id-role --duration 5 +$ az-pim-cli activate role --name "my-entra-id-role" --duration 30 2024/05/31 15:00:10 Activating role 'Owner' for Entra role 'my-entra-id-role' with reason 'config' (ticket: []) 2024/05/31 15:00:23 The role 'Owner' for Entra role 'my-entra-id-role' is now Active + +# Activate nominated role for the Entra role 'my-entra-id-role' +$ az-pim-cli activate role --name "my-entra-id-role" --role "Contributor" --duration 30 +2024/05/31 15:00:10 Activating role 'Contributor' for Entra role 'my-entra-id-role' with reason 'config' (ticket: []) +2024/05/31 15:00:23 The role 'Contributor' for Entra role 'my-entra-id-role' is now Active ``` ### Configuration options