Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Create an RBAC policy with ALL rules (for testing)
sdc-policy create --name='kitchensink' --rules='can putdirectory' --rules='can getdirectory' --rules='can deletedirectory' --rules='can putobject' --rules='can getobject' --rules='can deleteobject' --rules='can putlink' --rules='can createjob' --rules='can listjobs' --rules='can getjob' --rules='can managejob' --rules='can getaccount' --rules='can updateaccount' --rules='can listkeys' --rules='can getkey' --rules='can createkey' --rules='can deletekey' --rules='can listusers' --rules='can getuser' --rules='can createuser' --rules='can updateuser' --rules='can changeuserpassword' --rules='can deleteuser' --rules='can listroles' --rules='can getrole' --rules='can createrole' --rules='can updaterole' --rules='can deleterole' --rules='can setroletags' --rules='can listpolicies' --rules='can getpolicy' --rules='can createpolicy' --rules='can updatepolicy' --rules='can deletepolicy' --rules='can listuserkeys' --rules='can getuserkey' --rules='can createuserkey' --rules='can deleteuserkey' --rules='can listdatacenters' --rules='can getdatacenter' --rules='can listimages' --rules='can getimage' --rules='can deleteimage' --rules='can exportimage' --rules='can createimagefrommachine' --rules='can updateimage' --rules='can listpackages' --rules='can getpackage' --rules='can listmachines' --rules='can getmachine' --rules='can createmachine' --rules='can stopmachine' --rules='can startmachine' --rules='can rebootmachine' --rules='can resizemachine' --rules='can renamemachine' --rules='can enablemachinefirewall' --rules='can disablemachinefirewall' --rules='can createmachinesnapshot' --rules='can startmachinefromsnapshot' --rules='can listmachinesnapshots' --rules='can getmachinesnapshot' --rules='can deletemachinesnapshot' --rules='can updatemachinemetadata' --rules='can getmachinemetadata' --rules='can deletemachinemetadata' --rules='can deleteallmachinemetadata' --rules='can addmachinetags' --rules='can replacemachinetags' --rules='can listmachinetags' --rules='can getmachinetag' --rules='can deletemachinetag' --rules='can deletemachinetags' --rules='can deletemachine' --rules='can machineaudit' --rules='can describeanalytics' --rules='can listinstrumentations' --rules='can getinstrumentation' --rules='can getinstrumentationvalue' --rules='can getinstrumentationheatmap' --rules='can getinstrumentationheatmapdetails' --rules='can createinstrumentation' --rules='can deleteinstrumentation' --rules='can listfirewallrules' --rules='can getfirewallrule' --rules='can createfirewallrule' --rules='can updatefirewallrule' --rules='can enablefirewallrule' --rules='can disablefirewallrule' --rules='can deletefirewallrule' --rules='can listmachinefirewallrules' --rules='can listfirewallrulemachines' --rules='can listnetworks'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.