Тёмный

Access Google Cloud from GitHub Action Sans Keys - Workload Identity Federation 

Cloud Advocate
Подписаться 155 тыс.
Просмотров 9 тыс.
50% 1

Creating service account keys in GCP is one of the biggest security risks often overlooked.
- cloud.google.com/blog/product...
- github.com/google-github-acti...
----------
PLEASE SUBSCRIBE ➡️bit.ly/36x6qQy ❤️
If you like my work consider buying me ☕bit.ly/3lumyqx
----------
PLAYLISTS:
- Associate Cloud Engineer Study Guide: bit.ly/37y1dYl
- Google Cloud Playlist: bit.ly/37uMZal
----------
- Questions? Thoughts? Disagreements? Tell us here in the comments.
----------
LET'S CONNECT:
👍 Facebook: / multicloudguy
📸 Instagram - / multicloudguy
🐦 Twitter - / multicloudguy

Наука

Опубликовано:

 

22 янв 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 26   
@saiteju8169
@saiteju8169 Год назад
Thanks for this video ❤
@ravinasty
@ravinasty 21 день назад
Thanks for the video. How can we provision the gcp resources using terraform authenticating through wif without using service account keys?
@nightfury5124
@nightfury5124 Год назад
Thanks for the video😁👍. Can you tell how these attributes (timestamp- 3:34) work? And are these safe to use cuz I read somewhere in the document that if another repo has the same value or something it can allow that repo access too. Thanks in advance.
@ramsankarpandian9546
@ramsankarpandian9546 Год назад
Hi, I have gone through your videos on using Workflow identity federation to connect to GCP. They are very much helpful in understanding the feature and get to know how it is working. Can I use wfi for copying files from Linux server to GCS buckets? Could you please tell me in that case how this wfi pool has to be configured? Any help in this regard would be much appreciated.
@ShauryaShresht
@ShauryaShresht Год назад
1. Firewall Policy vs Firewall Rule (Where to use which one and why) 2. Create Firewall Policy and Implement it for Hybrid use case (Typically customer has dev and prod projects, hence a implement it considering both project) 3. Rules, Policy and Association (Understand use case in detail) 4. Automation of this using terraform (Hierarchical Firewall Policy Automation with Terraform | Google Cloud Blog) can you make a documentation on these ? Need help in understanding clearly kindly look into it, if you can answer all of them.
@radekjanik2657
@radekjanik2657 День назад
Why are the mappings the way they are? Why are these three necessary? What about other fields? What do they mean? You’re not explaining that 😢
@marcelomg1985
@marcelomg1985 Год назад
Hi, excellent video. My question is how can we set up this with Terraform? There is a way? Thanks for the content
@CloudAdvocate
@CloudAdvocate Год назад
Yes after the auth block you can use terraform action. You don’t have to use any keys
@eloscar3333
@eloscar3333 7 месяцев назад
my friends, thanks for your video but my output in github actions is: Error: Permission 'iam.serviceAccounts.getAccessToken' denied on resource (or it may not exist). and see when I follow your tutorial in the 4:24 minute , generate in your case principalSet, in my case principal :(
@jainjayantjjd5719
@jainjayantjjd5719 Год назад
Sir I am BCA graduate and i am fresher. Can i become a Devops Engineer????
@yashvats7815
@yashvats7815 Год назад
Thanks gk for this great video Can we use this same flow for azure devops pipelines?
@CloudAdvocate
@CloudAdvocate Год назад
Yes, I believe
@yashvats7815
@yashvats7815 Год назад
@@CloudAdvocate one more question GK can we use this WIF in azure cloud
@CloudAdvocate
@CloudAdvocate Год назад
Shoud work. Pls try and let me know :D
@LorDima666
@LorDima666 Год назад
1:15 🤣
@ramsharan4229
@ramsharan4229 Год назад
@CloudAdvocate what is the value of 'my-secret' in the yml file last line? I added this key in the github settings key-value but not sure about its value. Please help... @SnehaU-uj8rt
@SnehaU-uj8rt
@SnehaU-uj8rt Год назад
Hi, Thanks for the video. It was really useful. I did the exact same thing as mentioned in the video but I faced the following error in the github actions. Can you help me resolve this issue? Why is this happening? (gcloud.secrets.versions.access) There was a problem refreshing your current auth tokens: ('Unable to acquire impersonated credentials', '{ "error": { "code": 403, "message": "Permission \'iam.serviceAccounts.getAccessToken\' denied on resource (or it may not exist).", "status": "PERMISSION_DENIED", "details": [ { "@type": "type.googleapis.com/google.rpc.ErrorInfo", "reason": "IAM_PERMISSION_DENIED", "domain": "iam.googleapis.com", "metadata": { "permission": "iam.serviceAccounts.getAccessToken" } } ] } } ') Please run: $ gcloud auth login to obtain new credentials. If you have already logged in with a different account: $ gcloud config set account ACCOUNT to select an already authenticated account to use. Error: Process completed with exit code 1.
@marcelomg1985
@marcelomg1985 Год назад
yeah, the same problem, I guess, the service account needs Service Account Token Creator role
@CloudAdvocate
@CloudAdvocate Год назад
That’s correct. Pls try that
@SnehaU-uj8rt
@SnehaU-uj8rt Год назад
@marcelomg1986 @CloudAdvocate i tried adding the service account token creator role. It wasn't working.
@CloudAdvocate
@CloudAdvocate Год назад
@@SnehaU-uj8rt oh, what command is throwing you this error?
@marcelomg1985
@marcelomg1985 Год назад
@@SnehaU-uj8rt try to follow, documentation, set up the commands in the gcp console. It helps me a lot.
Далее
ШОКОЛАДКА МИСТЕРА БИСТА
00:44
Просмотров 1,1 млн
Nurse's dream !! 😂😂
00:17
Просмотров 5 млн
Why I Quit the Scrum Alliance
7:58
Просмотров 11 тыс.
Setting Up OIDC to Get Credentials from Google Cloud
19:35
GitHub OIDC and Google Identity Federation
24:39
Просмотров 4 тыс.
Google Cloud Deployment Manager - Getting Started
18:31
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
$1 vs $100,000 Slow Motion Camera!
0:44
Просмотров 8 млн