gcloud beta pam check-onboarding-status Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta pam check-onboarding-status - check Privileged Access Manager onboarding status for a resource
- SYNOPSIS
gcloud beta pam check-onboarding-status(--location=LOCATION:--folder=FOLDER--organization=ORGANIZATION)[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)Check Privileged Access Manager (PAM) onboarding status fora project/organization/folder location.- EXAMPLES
- The following command checks the PAM onboarding status for a project named
sample-projectand in locationglobal:gcloudbetapamcheck-onboarding-status--project=sample-project--location=globalThe following command checks the PAM onboarding status for a folder with ID
and in locationFOLDER_IDglobal:gcloudbetapamcheck-onboarding-status--folder=FOLDER_ID--location=globalThe following command checks the PAM onboarding status for an organization withID
and in locationORGANIZATION_IDglobal:gcloudbetapamcheck-onboarding-status--organization=ORGANIZATION_ID--location=global - REQUIRED FLAGS
- Location resource - The project/organization/folder location for which theonboarding status is to be checked. The arguments in this group can be used tospecify the attributes of this resource. (NOTE) Some attributes are not givenarguments in this group but can be set in other ways.
To set the
projectattribute:- provide the argument
--locationon the command line with a fullyspecified name; - provide the argument
--projecton the command line; - set the property
core/project. This resource can be one of thefollowing types: [privilegedaccessmanager.projects.locations,privilegedaccessmanager.folders.locations,privilegedaccessmanager.organizations.locations].
This must be specified.
--location=LOCATION- ID of the location or fully qualified identifier for the location.
To set the
locationattribute:- provide the argument
--locationon the command line.
This flag argument must be specified if any of the other arguments in this groupare specified.
- provide the argument
--folder=FOLDER- The name of the folder
To set the
folderattribute:- provide the argument
--locationon the command line with a fullyspecified name; - provide the argument
--folderon the command line. Must bespecified for resource of type [privilegedaccessmanager.folders.locations].
- provide the argument
--organization=ORGANIZATION- The name of the organization
To set the
organizationattribute:- provide the argument
--locationon the command line with a fullyspecified name; - provide the argument
--organizationon the command line. Must bespecified for resource of type[privilegedaccessmanager.organizations.locations].
- provide the argument
- provide the argument
- Location resource - The project/organization/folder location for which theonboarding status is to be checked. The arguments in this group can be used tospecify the attributes of this resource. (NOTE) Some attributes are not givenarguments in this group but can be set in other ways.
- GCLOUD WIDE FLAGS
- 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 helpfor details. - API REFERENCE
- This command uses the
privilegedaccessmanager/v1betaAPI. The fulldocumentation for this API can be found at:https://cloud.google.com/iam/docs/pam-overview - NOTES
- This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudpamcheck-onboarding-statusgcloudalphapamcheck-onboarding-status
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.