otdfctl policy subject-mappings update
update - Update a subject mapping
Synopsis
otdfctl policy subject-mappings update [flags]
Description
Update a Subject Mapping to alter entitlement of an entity to an Attribute Value.
Actions
are updated in place, destructively replacing the current set. If you want to add or remove actions, you must provide the full set of actions on update.
At this time, creation of a new SCS during update of a subject mapping is not supported.
For more information about subject mappings, see the subject-mappings
subcommand.
For more information about subject condition sets, see the subject-condition-sets
subcommand.
Example
otdfctl policy subject-mappings update --id 39866dd2-368b-41f6-b292-b4b68c01888b --action-standard DECRYPT,TRANSMIT
Options
-i
,--id <id>
- The ID of the subject mapping to update (required:
true
)
-
--action <action>
- Each 'id' or 'name' of an Action to be entitled (i.e. 'create', 'read', 'update', 'delete') (required:
false
)
-s
,--action-standard <action-standard>
- Deprecated. Migrated to '--action'. (required:
false
)
-c
,--action-custom <action-custom>
- Deprecated. Migrated to '--action'. (required:
false
)
-
--subject-condition-set-id <subject-condition-set-id>
- Known preexisting Subject Condition Set Id (required:
false
)
-l
,--label <label>
- Optional metadata 'labels' in the format: key=value (required:
false
)
-
--force-replace-labels <force-replace-labels>
- Destructively replace entire set of existing metadata 'labels' with any provided to this command