Google cloud platform 如何使用Google Cloud Secret Manager和gcloud命令行工具创建一个秘密?

Google cloud platform 如何使用Google Cloud Secret Manager和gcloud命令行工具创建一个秘密?,google-cloud-platform,google-secret-manager,Google Cloud Platform,Google Secret Manager,我已经开始了谷歌云帐户,我想访问和使用谷歌秘密管理器。如何使用gcloud命令行界面使用Google Secret Manager API创建机密?您可以在此处看到它 你可以在这里看到 gcloud secrets create secret-id \ --replication-policy="automatic"

我已经开始了谷歌云帐户,我想访问和使用谷歌秘密管理器。如何使用gcloud命令行界面使用Google Secret Manager API创建机密?

您可以在此处看到它

你可以在这里看到

gcloud secrets create secret-id \
    --replication-policy="automatic"