Using Console
Using CLI
aws glue list-schemas
to list all the schemas and identify the custom schema registry.
aws glue get-resource-policy --resource-arn <schema-registry-arn>
to check the resource policy attached to the custom schema registry. Look for any misconfigurations in the policy that allow unauthorized access.
aws glue put-resource-policy --policy-in-json file://policy.json --resource-arn <schema-registry-arn>
. Ensure that the policy.json
file contains the updated and secure resource policy.
aws glue get-resource-policy --resource-arn <schema-registry-arn>
to confirm that the policy is correctly attached to the custom schema registry.
Using Python