Marcel Lupo
Best Practices for Using GitHub Secrets
#1about 2 minutes
Understanding the fundamentals of GitHub Secrets
GitHub Secrets provide an encrypted way to store sensitive data like API keys within repositories for use in CI/CD workflows.
#2about 6 minutes
Managing secrets at different scopes in the UI
Secrets can be managed at the repository, environment, or organization level through the UI, but repository-level secrets become difficult to rotate at scale.
#3about 5 minutes
Consuming secrets in workflows and avoiding common pitfalls
Reference secrets in GitHub Actions using the `secrets` context, but be aware of pitfalls like hard-coding, commit history exposure, and improper access control.
#4about 5 minutes
Integrating GitHub with Azure Key Vault for centralization
Use Azure Key Vault as a centralized secret store to manage secrets outside of GitHub, improving scalability and separating access controls.
#5about 7 minutes
Configuring passwordless authentication using OpenID Connect
Set up a federated identity in Azure Entra ID with OpenID Connect to allow GitHub Actions to authenticate to Azure without long-lived secrets.
#6about 7 minutes
Fetching Azure Key Vault secrets in a GitHub workflow
Use the `azure/login` action with OIDC to authenticate, then use Azure CLI within a workflow to retrieve secrets from Key Vault for subsequent steps.
#7about 4 minutes
Key benefits of the Azure Key Vault integration
Integrating with Azure Key Vault provides centralized management, granular RBAC, secret versioning and history, and enhanced auditing capabilities.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
30:56 MIN
Securing workflows with secrets and best practices
CI/CD with Github Actions
41:45 MIN
Key takeaways for securing your application pipeline
Securing Your Web Application Pipeline From Intruders
40:22 MIN
Q&A on GitOps secret management practices
Securing secrets in the GitOps Era
23:48 MIN
Summary of how GitHub secures open source
How GitHub secures open source
05:31 MIN
Why hard-coded secrets are a growing developer problem
Stop Committing Your Secrets - GIt Hooks To The Rescue!
05:30 MIN
Securing developer access and development tools
Securing your application software supply-chain
40:29 MIN
Key takeaways for preventing secret leaks in code
Stop Committing Your Secrets - GIt Hooks To The Rescue!
08:33 MIN
Preventing leaked secrets and managing dependencies
How GitHub secures open source
Featured Partners
Related Videos
Securing Secrets in the GitOps era
Alex Soto
Securing secrets in the GitOps Era
Davide Imola
Stop Committing Your Secrets - GIt Hooks To The Rescue!
Dwayne McDaniel
Lights, Camera, GitHub Actions!
Ixchel Ruiz
Real-World Security for Busy Developers
Kevin Lewis
How GitHub secures open source
Joseph Katsioloudes
CI/CD with Github Actions
Chris Ayers
Enabling automated 1-click customer deployments with built-in quality and security
Christoph Ruggenthaler
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

DevSecOps Engineer Landing Zone Azure
Talanx AG
Hannover, Germany
API
Azure
DevOps
Terraform
Microsoft Access

DevOps Security Engineer with Golang Development Focus
SAP AG
Sankt Leon-Rot, Germany
Junior
Go
Azure
DevOps
Puppet
Docker
+6

DevSecOps Engineer: Kubernetes & Cloud Security
Sólo para miembros registrados
Barcelona, Spain
€55-75K
Senior
Bash
Azure
Linux
Kafka
+10

Senior DevOps Engineer - Cloud Automation & CI/CD
Jordan Martorell S.L.
Municipality of Madrid, Spain
Senior
Bash
DevOps
Python
Continuous Integration
Amazon Web Services (AWS)

DevSecOps Engineer - Kubernetes & Cloud Security
Sólo para miembros registrados
Barcelona, Spain
€50-75K
Senior
Bash
Azure
Linux
DevOps
+7

![[Remote] Azure DevOps Engineer](https://wearedevelopers.imgix.net/public/default-job-listing-cover.png?w=400&ar=3.55&fit=crop&crop=entropy&auto=compress,format)
[Remote] Azure DevOps Engineer
Capitole
Municipality of Santiago de Compostela, Spain
.NET
Bash
Azure
DevOps
Python
+5
![Senior DevOps Engineer ( Azure Focus ) [J222]](https://wearedevelopers.imgix.net/public/default-job-listing-cover.png?w=400&ar=3.55&fit=crop&crop=entropy&auto=compress,format)
