After an endpoint service is created, the ID of the Alibaba Cloud account of the service owner is automatically added to the service whitelist. Users whose account IDs are in the whitelist can query the endpoint service and use endpoints to connect to the endpoint service. If you want to allow a virtual private cloud (VPC) that belongs to another Alibaba Cloud account to access the endpoint service, you must add the ID of the Alibaba Cloud account to the whitelist of the endpoint service.
Operations
Prerequisites
An endpoint service is created. For more information, see Create and manage endpoint services.
Add account IDs to the service whitelist
- Log on to the endpoint service console.
- In the top navigation bar, select the region in which the endpoint service is deployed.
- On the Endpoints Service page, find and click the ID of the endpoint service that you want to manage.
- On the details page of the endpoint service, click the Service Whitelist tab, and then click Add to Whitelist.
- In the Add to Whitelist dialog box, enter the account IDs that you want to add to the whitelist, and click OK.
You can add one or more account IDs to the whitelist at a time. Separate account IDs with commas (,).
Remove account IDs from the service whitelist
You can remove account IDs from the whitelist of an endpoint service. After an account ID is removed from the whitelist of an endpoint service, the user cannot query the endpoint service by using the account or use an endpoint to connect to the endpoint service.
- Log on to the endpoint service console.
- In the top navigation bar, select the region in which the endpoint service is deployed.
- On the Endpoints Service page, find and click the ID of the endpoint service that you want to manage.
- On the details page of the endpoint service, click the Service Whitelist tab, find the account that you want to remove, and then click Delete in the Actions column.
- In the Remove Account from Whitelist message, click OK.
References
- AddUserToVpcEndpointService: adds an account ID to the whitelist of an endpoint service.
- RemoveUserFromVpcEndpointService: removes an account ID from the whitelist of an endpoint service.