Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Python 3.10 is now available in preview.

google.appengine.api.app_identity.sign_blob

Signs a blob.

bytes_to_sign The blob that must be signed.
deadline Optional deadline in seconds for the operation; the default value is a system-specific deadline, typically 5 seconds.

A tuple containing the signing key name and signature.