gcloud access-approval service-account get - get Access Approval service account
gcloud access-approval service-account get [--folder=FOLDER | --organization=ORGANIZATION | --project=PROJECT] [GCLOUD_WIDE_FLAG ...]
Retrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.
To get the service account for the current project use
$ gcloud access-approval service-account get
To get the service account for folder f1 use
$ gcloud access-approval service-account get --folder=f1
To get the service account for organization org1 use
$ gcloud access-approval service-account get --organization=org1
- At most one of these can be specified:
- --folder=FOLDER
Folder number. Only one of --project, --folder, or --organization can be provided. If none are provided then it uses config property [core/project].
- --organization=ORGANIZATION
Organization number. Either --project, --folder, or --organization must be provided. If none are provided then it uses config property [core/project].
- --project=PROJECT
Project number or id. Only one of --project, --folder, or --organization can be provided. If none are provided then it uses config property [core/project].
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.