Listing Access Policies
List the access policies in a 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 view the access policies.
- 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 theaccess-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.