Secure a Published Service
This page describes how to apply an Access Control Policy (ACP) to secure a published a Service.
Introduction¶
After you created an ACP in your cluster, you have to assign it to the Service you want to protect.
Before you begin¶
Make sure to have published a Service before applying the next steps.
Web Interface¶
Go to the Service detail page (that corresponds to your published Service).
Find the Edit button in the top right corner of the publication card and, in the form, select the Access Control Policy.
Apply the changes by saving the form. Applying takes a few moments.
Custom Resource Definition¶
To secure a published Service from the resource,
edit the EdgeIngress
resource and add the following field to the specification:
spec:
acp:
name: <..you-acp-name..>
Apply the changes and wait a few seconds before accessing the Service.