Skip to content

Command line tool to list and activate Azure PIM Role Assignments.

Notifications You must be signed in to change notification settings

j-sokol/az-pim-cli-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

az-pim-cli

Description

Command line tool to list and activate Azure PIM Role Assignments.

Installation

git clone https://github.com/j-sokol/az-pim-cli-v2
cd az-pim-cli
go build -o az-pim-cli cmd/main.go

mv ./az-pim-cli /usr/local/bin

Usage

This application accepts the following command-line parameters:

List

  • -l: List available role assignments
az-pim-cli -l

Activate

  • -a: Activate role
  • -r: Role to activate
  • -s: Scope of activation (i.e. Subscription / Resource)

Here's an example of how to use this application:

az-pim-cli -a -r 'key vault administrator' -s 'subscribtion_name' 

About

Command line tool to list and activate Azure PIM Role Assignments.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages