gcloud-iam
Verified for current stable LTS
Gcloud Iam Command: Create Custom Role
Use for create custom role with Gcloud Iam. Exact CLI syntax to create custom role using Gcloud Iam.
When to use this: Use for create custom role with Gcloud Iam.
Command Syntax
gcloud iam roles create <role_name> --<organization|project> <organization|project_id> --file <path/to/role.yaml> gcloud iam roles create <role_name> --<organization|project> <organization|project_id> --file <path/to/role.yaml> Command Breakdown
--<organization|project>- Command Option
- Tool-specific option used by this command invocation.
--file- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to create custom role using Gcloud Iam.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Gcloud Iam Command: Add Iam Policy Binding To Service Account
gcloud iam service-accounts add-iam-policy-binding <service_account_email> --member <member> --role <role> Gcloud Iam Command: Create Custom Role For Organization Or Project gcloud iam roles create <role_name> --<organization|project> <organization|project_id> --file <path/to/role.yaml> Gcloud Iam Command: Create Service Account gcloud iam service-accounts create <name> Gcloud Iam Command: Create Service Account For Project gcloud iam service-accounts create <name> Gcloud Iam Command: List Iam Grantable Roles gcloud iam list-grantable-roles <resource>