Python 3.9 is now generally available.

Module: google.appengine.api.app_identity.app_identity

Provides access functions for the app identity service.

To learn more about the App Identity API, review the Overview document:


class BackendDeadlineExceeded: The communication to the backend service timed out.

class BlobSizeTooLarge: The size of the blob to sign is larger than the allowed limit.

class Error: Base error type.

class InternalError: An unspecified internal failure occurred.

class InvalidScope: The scope is invalid.

class NotAllowed: The operation is not allowed.

class OperationNotImplemented: The operation is not implemented for the service account.

class PublicCertificate: Class that specifies information about a public certificate.


create_rpc(...): Creates an RPC object for use with the App Identity API.

get_access_token(...): The OAuth 2.0 access token to act on behalf of the application.

get_application_id(...): Gets the application ID of an app.

get_default_gcs_bucket_name(...): Gets the default Google Cloud Storage bucket name for the app.

get_default_version_hostname(...): Gets the standard host name of the default version of the app.

get_public_certificates(...): Gets public certificates.

get_service_account_name(...): Gets the service account name of the app.

make_get_default_gcs_bucket_name_call(...): Gets the default Google Cloud Storage bucket name for the app.

make_get_public_certificates_call(...): Executes the RPC call to get a list of public certificates.

make_get_service_account_name_call(...): Gets the service account name of the app.

make_sign_blob_call(...): Executes the RPC call to sign a blob.

sign_blob(...): Signs a blob.