Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Does anyone have a definitive list of the APIs that need to be granted to allow read-only access from powershell? We're trying to automate reporting, but we need to ensure there is no possibility of the script changing anything.
Any and all advice gratefully received.
Regards,
Eamonn
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey,
I suggest create a role called readonly with Access level "readonly" and Command "Default" assign that role to the user which your powershell script will be using to run an API. This way script can only run command to get output from storage systems and not for input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This would work for you.
security login create -user-or-group-name <scriptuser> -role readonly -application ontapi
security login create -user-or-group-name <scriptuser> -role readonly -application http
