|
| 1 | +## stackit beta kms key create |
| 2 | + |
| 3 | +Creates a KMS Key |
| 4 | + |
| 5 | +### Synopsis |
| 6 | + |
| 7 | +Creates a KMS Key. |
| 8 | + |
| 9 | +``` |
| 10 | +stackit beta kms key create [flags] |
| 11 | +``` |
| 12 | + |
| 13 | +### Examples |
| 14 | + |
| 15 | +``` |
| 16 | + Create a Symmetric KMS Key |
| 17 | + $ stakit beta kms key create --key-ring "my-keyring-id" --algorithm "rsa_2048_oaep_sha256" --name "my-key-name" --purpose "symmetric_encrypt_decrypt" |
| 18 | +
|
| 19 | + Create a Message Authentication KMS Key |
| 20 | + $ stakit beta kms key create --key-ring "my-keyring-id" --algorithm "hmac_sha512" --name "my-key-name" --purpose "message_authentication_code" |
| 21 | +``` |
| 22 | + |
| 23 | +### Options |
| 24 | + |
| 25 | +``` |
| 26 | + --algorithm string En-/Decryption / signing algorithm |
| 27 | + --backend string The backend that is responsible for maintaining this key (default "software") |
| 28 | + --description string Optinal description of the Key |
| 29 | + -h, --help Help for "stackit beta kms key create" |
| 30 | + --import-only States whether versions can be created or only imported |
| 31 | + --key-ring string ID of the KMS Key Ring |
| 32 | + --name string The display name to distinguish multiple keys |
| 33 | + --purpose string Purpose of the Key. Enum: 'symmetric_encrypt_decrypt', 'asymmetric_encrypt_decrypt', 'message_authentication_code', 'asymmetric_sign_verify' |
| 34 | +``` |
| 35 | + |
| 36 | +### Options inherited from parent commands |
| 37 | + |
| 38 | +``` |
| 39 | + -y, --assume-yes If set, skips all confirmation prompts |
| 40 | + --async If set, runs the command asynchronously |
| 41 | + -o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"] |
| 42 | + -p, --project-id string Project ID |
| 43 | + --region string Target region for region-specific requests |
| 44 | + --verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info") |
| 45 | +``` |
| 46 | + |
| 47 | +### SEE ALSO |
| 48 | + |
| 49 | +* [stackit beta kms key](./stackit_beta_kms_key.md) - Manage KMS Keys |
| 50 | + |
0 commit comments