GCP | Google Cloud Secret Manager | Create & Access Secrets | DEMO
Vložit
- čas přidán 2. 01. 2022
- Architecting with Google Cloud Platform
******************************************
Description:
*************
In this video, you are going to learn what is
What this Video covers ...
1. What is Secret Manager ?
2. What is a Secret ?
3. Features of Secret Manager
4. Replication of Secrets across Regions
5. Encryption of Secrets
6. Access Control with Cloud IAM
7. Creating & Accessing Secrets
8. DEMO: Secret Manager
Step 1: Login to GCP Console & Enable the API’s
Step 2: Create & Access Secrets using GCP Console (Passwords)
Step 3: Access the Secret Manager Logs
Step 4: Create & Access Secrets using Cloud SDK's (TLS Certificates)
Step 5: Lab Clean up
9. Thank You
For suggestions/feedback/doubts contact
email: kvk@vsparkz.com
Happy Learning !!!
===========================================================================================
USEFUL LINKS:
#############
Secret Manager:
*****************
cloud.google.com/secret-manager
Secret Manager Quick start:
******************************
cloud.google.com/secret-manag...
Creating & Accessing Secrets:
********************************
cloud.google.com/secret-manag...
SDK & Client Libraries:
************************
cloud.google.com/secret-manag...
Managing Secret Versions:
****************************
cloud.google.com/secret-manag...
DEMO Steps:
###########
Step 1: Login to Console
Step 2: Create & Access Secrets using GCP Console (Passwords)
Step 3: Access the Secret Manager Logs
Step 4: Create & Access Secrets using Cloud SDK's (TLS Certificates)
Set Current Project in SHELL:
----------------------------------------------
$ gcloud projects list
$ gcloud config set project -myproject-
Just create a sample self signed certificate:
----------------------------------------------------------------------
$ openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out MyCertificate.crt -keyout MyKey.key
Create Secrets using gcloud CLI:
----------------------------------------------------
$ gcloud secrets create Certs --replication-policy="automatic"
$ gcloud secrets versions add Certs --data-file="MyCertificate.crt"
$ gcloud secrets versions access 2 --secret="Certs"
Step 5: Clean up
==========================================================================================
#googlecloud #gcp #secretmanager - Věda a technologie
Teaching from ground, going smoothly. Well taught brother, Thank you!
Thanks a lot !
how to automate the regeneration of secret key after expiration.and how can i make it effect in the code automatically, it will be more helpful if i get answer for this/
very clear.. great video bro.
thanks for sharing.
Hey.. Thanks for your comments. Glad that the video is useful to you.
Thanks for your videos
You are welcome Ravi
Thnx man
You are welcome Nishit
Please make more videos on cloud run
Sure Nishit .. we will do a video on cloud run in the coming weeks..