x
login Signup

ectool getAccess Custom Server Properties

Is there a way to use ectool to getAccess on a custom server property by property sheet name? I've found a way to getAccess by propertySheetId, but name would be much easier to automate.

This is the current way I get the ACL entries of a custom server property: /opt/electriccloud/electriccommander/bin/ectool getAccess --objectType propertySheet --objectId propertySheet-db2e41ab-1f5a-11e9-a53d-000c29047720

But I would really like it if I could do something like this: /opt/electriccloud/electriccommander/bin/ectool getAccess --objectType propertySheet --objectName ec_dashboards

Is this possible? If not, is there a way to get the UUID from a custom server property through ectool?

avatar image By mwalton.ihg 51 asked Jun 28 at 12:07 PM
more ▼
(comments are locked)
10|750 characters needed characters left

1 answer: sort voted first

It appears that all custom server properties are stored in the /server/ path, so this should work: /opt/electriccloud/electriccommander/bin/ectool getAccess --path /server/ec_dashboards

avatar image By mwalton.ihg 51 answered Jun 28 at 12:10 PM
more ▼
(comments are locked)
10|750 characters needed characters left
Your answer
toggle preview:

Up to 8 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.