Updating an Access Policy
Update the description of an access policy in Service Mesh.
- Open the navigation menu and click Developer Services. Under Containers & Artifacts, click Service Mesh.
- Click Service Meshes.
- On the Service Mesh page, from the list of compartments on the left side, select a compartment.
- From the list of meshes, click the mesh name for which you want to update an access policy.
- On the details page of the mesh, under Resources, click Access Policies.
- From the Access Policies table, click the access policy that you want to update.
- On the details page of the access policy, click Edit.
- In the Edit Access Policy panel, update the description of the access policy.
- Click Save changes.
To update an access-policy, use the
service-mesh
resource with theaccess-policy
option.oci service-mesh access-policy update --from-json <json-file-name>
Example:
oci service-mesh access-policy update --from-json file://update.json
To see what operations are available for
access-policy update
use:oci service-mesh access-policy update -h
To generate a sample JSON file for
access-policy update
use:oci service-mesh access-policy update --generate-full-command-json-input
Use the UpdateAccessPolicy operation to update an access policy.