How to create a custom role from a YAML file in GCP

0 votes

Hi Guys,

I have configured the GCP SDK in the Windows system. I want to create a custom role from a YAML file in GCP. How can I do that?

Nov 10, 2020 in GCP by akhtar
• 38,120 points
51 views

1 answer to this question.

0 votes

Hi@akhtar,

You can create an IAM role in GCP with the help of a file or with flags. The following command can be used to create an IAM role from a YAML file.

$ gcloud iam roles create ProjectUpdater --organization=12345 --file=role_file_path
answered Nov 10, 2020 by MD
• 94,990 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer

How to allow outbound traffic on a custom port in gcp?

To allow outbound traffic through a custom ...READ MORE

answered Sep 26, 2019 in GCP by Sirajul
• 58,950 points
1,168 views
0 votes
1 answer

How to create a cloud storage bucket in GCP?

Buckets are the basic containers that hold your ...READ MORE

answered Oct 23, 2019 in GCP by Sirajul
• 58,950 points
746 views
0 votes
1 answer

How to create a file on GCP storage?

In case you are using Cloud storage ...READ MORE

answered Nov 5, 2019 in GCP by Sirajul
• 58,950 points
274 views
+2 votes
1 answer

How to activate GCP Cloud Shell?

Hi@MD, You can follow the below steps to ...READ MORE

answered Aug 22, 2020 in GCP by akhtar
• 38,120 points
95 views
+2 votes
1 answer

How to list down all the projects in GCP Cloud?

Hi@akhtar, GCP Shell has a command named gcloud. ...READ MORE

answered Aug 22, 2020 in GCP by MD
• 94,990 points
84 views
+2 votes
1 answer

How to create a project from GCP Cloud Shell?

Hi@akhtar, GCP shell has a command named gcloud. ...READ MORE

answered Aug 22, 2020 in GCP by MD
• 94,990 points
93 views
+2 votes
1 answer

How to create a firewall rule in GCP Cloud?

Hi@akhtar, If you are using the default VPC ...READ MORE

answered Aug 22, 2020 in GCP by MD
• 94,990 points
103 views
+2 votes
1 answer

How to create a project in GCP Cloud?

Hi@akhtar, To deploy your app on App Engine, ...READ MORE

answered Aug 22, 2020 in GCP by MD
• 94,990 points
70 views