GCLOUD_IAM_SERVICE-ACCOUNTS_SIGN-BLOB(1)

NAME

gcloud iam service-accounts sign-blob - sign a blob with a managed service account key

SYNOPSIS

gcloud iam service-accounts sign-blob INPUT-FILE OUTPUT-FILE --iam-account=IAM_ACCOUNT [GLOBAL-FLAG ...]

DESCRIPTION
This command signs a file containing arbitrary binary data (a blob) using a system-managed service account key.

POSITIONAL ARGUMENTS

    INPUT-FILE
        A path to the blob file to be signed.

    OUTPUT-FILE
        A path the resulting signed blob will be written to.

REQUIRED FLAGS

    --iam-account=IAM_ACCOUNT
        The service account to sign as.

GLOBAL FLAGS
Run $ gcloud help for a description of flags available to all commands.

EXAMPLES
To sign a blob file with a system-managed service account key, run:
    $ gcloud iam service-accounts sign-blob \
        --iam-account my-account@somedomain.com input.bin output.bin

SEE ALSO
For more information on how this command ties into the wider cloud infrastructure, please see https://cloud.google.com/appengine/docs/java/appidentity/