gws-modelarmor-create-template

Create Google Model Armor templates with required project, location, and template-id flags.

8|3|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/haberlah/dotfiles-claude --skill gws-modelarmor-create-template-haberlah
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-modelarmor-create-template
Source: https://github.com/haberlah/dotfiles-claude/tree/main/skills/gws-modelarmor-create-template
Command: npx skills add https://github.com/haberlah/dotfiles-claude --skill gws-modelarmor-create-template-haberlah

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Google Cloud Platform security teams need a repeatable way to create and manage Model Armor templates across projects and locations, reducing manual setup and misconfigurations.

Core Features & Use Cases

  • Create standardized Model Armor templates for consistent security posture across environments.
  • Validate input parameters (project, location, template-id) before creation to prevent misconfigurations.
  • Use optional presets or JSON payloads to tailor template configurations quickly.

Quick Start

Run the command to create a new Model Armor template with your project, location, and template-id.

Frequently Asked Questions about gws-modelarmor-create-template

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Model Armor template programmatically in Google Cloud?

To create a Model Armor template programmatically, you must provide the required flags --project, --location, and --template-id. You can optionally use --preset or --json to tailor the template configuration to standardize deployments across environments.

What is required to standardize Model Armor template deployments across projects?

Standardizing Model Armor template deployments requires specifying the --project, --location, and --template-id flags during creation. Using optional presets or JSON configurations ensures a consistent security posture across multiple Google Cloud environments.

Can I use a JSON payload to configure a Model Armor template?

Yes, you can use a JSON payload to configure a Model Armor template by utilizing the --json flag. This allows you to quickly tailor template configurations alongside the mandatory --project, --location, and --template-id parameters.

Does the Model Armor CLI enforce validation for template creation parameters?

Yes, the Model Armor CLI enforces validation by requiring the --project, --location, and --template-id flags before creation. This strict input validation prevents misconfigurations and ensures repeatable template deployments across Google Cloud projects.

What is the best way to automate Model Armor template setup across multiple locations?

The best way to automate Model Armor template setup is by programmatically passing the required --project, --location, and --template-id flags. Utilizing --preset configurations further reduces manual setup and enforces a consistent security posture.

Why do I need to specify project and location when creating a Model Armor template?

You must specify project and location when creating a Model Armor template because these flags enforce required validation and prevent misconfigurations. This ensures templates are correctly scoped and repeatable across diverse Google Cloud environments.