Updating an Access Policy

Update the description of an access policy in Service Mesh.

    1. Open the navigation menu and click Developer Services. Under Containers & Artifacts, click Service Mesh.
    2. Click Service Meshes.
    3. On the Service Mesh page, from the list of compartments on the left side, select a compartment.
    4. From the list of meshes, click the mesh name for which you want to update an access policy.
    5. On the details page of the mesh, under Resources, click Access Policies.
    6. From the Access Policies table, click the access policy that you want to update.
    7. On the details page of the access policy, click Edit.
    8. In the Edit Access Policy panel, update the description of the access policy.
    9. Click Save changes.
  • To update an access-policy, use the service-mesh resource with the access-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.