hardgcloud
Create a new Secret Manager secret and set its initial value from a file
command
gcloud secrets create SECRET_NAME --data-file FILEalso accepted
gcloud secrets createcommand
gcloud secrets create SECRET_NAME --data-file FILEalso accepted
gcloud secrets createPart of the Google Cloud CLI (gcloud) — Misc category.
| Flag | Purpose |
|---|---|
--data-file | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →