Stay organized with collections
Save and categorize content based on your preferences.
This page describes individual commands that can be used with Google Cloud Armor.
For contextual how-to information about using these commands, see the
Cloud Armor how-to guides.
Security policies: Use to create security policies and rules.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis page provides information on individual commands for use with Google Cloud Armor.\u003c/p\u003e\n"],["\u003cp\u003eSecurity policies can be created and managed using the provided commands and APIs.\u003c/p\u003e\n"],["\u003cp\u003eCommands and APIs are available to attach a security policy to a backend service.\u003c/p\u003e\n"],["\u003cp\u003eFor detailed instructions on using these commands, refer to the Google Cloud Armor how-to guides.\u003c/p\u003e\n"]]],[],null,["# APIs and references\n\nThis page describes individual commands that can be used with Google Cloud Armor.\nFor contextual *how-to* information about using these commands, see the\nCloud Armor [how-to guides](/armor/docs/how-to).\n\n- **Security policies**: Use to create security policies and rules.\n\n [gcloud](/sdk/gcloud/reference/compute/security-policies) \\|\n [API](/compute/docs/reference/rest/v1/securityPolicies)\n- **Backend services**: Use to attach a security policy to a backend service.\n\n [gcloud](/sdk/gcloud/reference/compute/backend-services) \\|\n [API](/compute/docs/reference/rest/v1/backendServices)\n\nTo learn how to write expressions in advanced match conditions for security\npolicy rules, see the\n[Cloud Armor custom rules language reference](/armor/docs/rules-language-reference)."]]