Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
NOM
gdcloud kms keys asymmetric-sign : crée une signature du fichier d'entrée à l'aide de la clé fournie.
SYNOPSIS
gdcloud kms keys asymmetric-sign [flags]
DESCRIPTION
Cette commande crée une signature numérique du fichier d'entrée à l'aide de la clé de signature asymétrique fournie et enregistre la signature encodée en base64.
DRAPEAUX REQUIS
--input-file string Input file with the message to sign.
--signature-file string Output file that contains the signature.
OPTIONS GCLOUD GÉNÉRALES
Ces options sont disponibles pour toutes les commandes : --configuration, --format, --help, --project, --quiet.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\u003cp\u003eThis command generates a digital signature for a specified input file using an asymmetric-signing key.\u003c/p\u003e\n"],["\u003cp\u003eThe command requires users to specify the input file containing the message to be signed.\u003c/p\u003e\n"],["\u003cp\u003eThe output, which is the base64 encoded signature, is saved to a user-specified signature file.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--input-file\u003c/code\u003e and \u003ccode\u003e--signature-file\u003c/code\u003e flags are mandatory to run this command.\u003c/p\u003e\n"]]],[],null,["# gdcloud kms keys asymmetric-sign\n\nNAME\n----\n\ngdcloud kms keys asymmetric-sign - Create a signature of the input file using the provided key.\n\nSYNOPSIS\n--------\n\n gdcloud kms keys asymmetric-sign [flags]\n\nDESCRIPTION\n-----------\n\nThis command creates a digital signature of the input file using the provided asymmetric-signing key and saves the base64 encoded signature.\n\n### REQUIRED FLAGS\n\n --input-file string Input file with the message to sign.\n --signature-file string Output file that contains the signature.\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-reference/gdcloud) page."]]