GCP | Google Cloud Secret Manager | Create & Access Secrets | DEMO

Опубликовано: 24 Апрель 2026
на канале: VSPARKZ
18,072
142

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: [email protected]

Happy Learning !!!

===========================================================================================

USEFUL LINKS:
#############

Secret Manager:
*****************
https://cloud.google.com/secret-manager

Secret Manager Quick start:
******************************
https://cloud.google.com/secret-manag...

Creating & Accessing Secrets:
********************************
https://cloud.google.com/secret-manag...

SDK & Client Libraries:
************************
https://cloud.google.com/secret-manag...

Managing Secret Versions:
****************************
https://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