[英]gcloud iam service-accounts list command for SQL instance GCP
Is there any gcloud command in GCP to list GCP SQL instance iam service-accounts . GCP 中是否有任何gcloud 命令列出 GCP SQL 实例iam service-accounts 。 I am able to see in the GCP UI but I need cli command to print it the terminal.我可以在 GCP UI 中看到,但我需要 cli 命令才能在终端上打印它。 Could some one help me on this.有人可以帮我解决这个问题。
There is no such gcloud command to get only the service account of a sql instance, if you want to get the account of an specific instance you can run this in cloud shell or voa Cloud SDK gcloud sql instances describe instanceName | grep "serviceAccountEmailAddress"
There is no such gcloud command to get only the service account of a sql instance, if you want to get the account of an specific instance you can run this in cloud shell or voa Cloud SDK gcloud sql instances describe instanceName | grep "serviceAccountEmailAddress"
gcloud sql instances describe instanceName | grep "serviceAccountEmailAddress"
the output will be just then one of the service account. gcloud sql instances describe instanceName | grep "serviceAccountEmailAddress"
output 将成为服务帐户之一。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.