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,260 points
1,156 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
• 95,460 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
• 59,230 points
4,865 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 24, 2019 in GCP by Sirajul
• 59,230 points
2,560 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
• 59,230 points
2,543 views
+2 votes
1 answer

How to activate GCP Cloud Shell?

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

answered Aug 23, 2020 in GCP by akhtar
• 38,260 points
2,396 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 23, 2020 in GCP by MD
• 95,460 points
4,017 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 23, 2020 in GCP by MD
• 95,460 points
1,923 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 23, 2020 in GCP by MD
• 95,460 points
1,526 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 23, 2020 in GCP by MD
• 95,460 points
677 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP