diff --git a/README.md b/README.md index 6bd5451..ed6e2fe 100644 --- a/README.md +++ b/README.md @@ -265,11 +265,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