Listing Access Policies

List the access policies in a 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 view the access policies.
    5. On the details page of the mesh, under Resources, click Access Policies.
    The Access Policies table displays the list of access policies.
  • To list all the access policies in a mesh, use the service-mesh resource with the access-policy option.

    oci service-mesh access-policy list --mesh-id <mesh-id>

    Example:

    oci service-mesh access-policy list --mesh-id ocid.mesh.oc1.iad.aaaa....

    To see what operations are available for access-policy list use:

    oci service-mesh access-policy list -h
  • Use the ListAccessPolicy operation to list the access policies in a compartment.