gcloud compute os-login describe-profile

NAME
gcloud compute os-login describe-profile - describe the OS Login profile for the current user
SYNOPSIS
gcloud compute os-login describe-profile[GCLOUD_WIDE_FLAG]
DESCRIPTION
gcloud compute os-login describe-profile displays the OS Loginprofile for the currently authenticated user, including Posix accounts and SSHkeys associated with the user.
EXAMPLES
To show all of the information about your OS Login profile, including POSIXaccount information and stored SSH public keys, run:
gcloudcomputeos-logindescribe-profile

To show all of the information in a different format, such as JSON, use the--format flag:

gcloudcomputeos-logindescribe-profile--format=json
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 help for details.

NOTES
These variants are also available:
gcloudalphacomputeos-logindescribe-profile
gcloudbetacomputeos-logindescribe-profile

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 2026-01-21 UTC.