Skip to main content

apic jwk-sets:create

Create a Jwk Set object

Synopsis

Create a Jwk Set object

Fields allowed but ignored:

  • id
  • type
  • api_version
  • scope
  • created_at
  • updated_at
  • url
apic jwk-sets:create [flags]

Possible Usages

apic jwk-sets:create [flags] JWK_SET_FILE

Request examples


Example of creating a JWK set containing a private and public key


keys:
- d: CFpObmn1kAgkgfIlLMyFPGWobo2npm675YgXyy-ybhryvi1R7PoYA1y9m9geQoJJNC71hpDbvMQRMSF4NLvE9Hdbl6s-nr4zITklhwzwdr07Hb1p2lnJ_fsGFQNFVnGL--zDFvbZKAh0LdjSqCVG7PvV1baSg2IFLWIUcuPHO4L5RPueeSIXmDbLMZOt4hjetdn4B6zoiXfdaNOHrjfe-uZOVzywqjs7UdwlKiwgQ9eZACRkatnCBaPJGHheNjd6g9pT3HZxA6zmA_CZ3AGdneEg2g6pBWS94mMFQrgkFvjnrZHn9jO7FobVMrqaBWufBSPnAR86vSu3Hep-KBngUw
dp: KORZ7ehBCifmLvlxA9qR7n7Wuzitu8-SwMCUiQgAq8fcTQnpSQY3pAfa-QrrttimXQooEeu5zszsC8kldAwTfKNB_f3SGBSx24Xqya0Xf6STYXldgc2Y34nPF4kyCaAplE06aiB-lAtqcTcmTRrFHjVBjAuHzpfKN6J3chkF9o0
dq: iH_pnBEQ32A7ctv8BcSCtuwA9ePuczPngE_jhxptZM5jiCADp-E9upWFtZT3SZeAiD37MjWsTUaAwW3Uowus8CDchTN09cPSjFQffYAgL39NV_5jmIQ4aDPuDkPn94av6jzi3vOUzndrz2Xqp6MeOc64XpEQhyhcKAd1uIT1EPc
e: AQAB
kid: b449971a-2d70-4a60-8171-8f84d71536a3
kty: RSA
"n": s6-7fcj1M4c1fjoo1ZSyDfCxJ6C54jOJ3_u95CSa77AS6t8cTSRXrriyh9rd-mpxZaYlhZlsfoi286k5c8AcQRDv6Qu_IIv8FgoQEQNyTAWzspFsVoWNyF923V3vFfbgZuqdiOxODgAaEyjBWjOZ1yQTdQwT09g3aQSmS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kEvsmQYIE0T24pcZyti4mRf9-mqmQ
title: acme-jwkset

Options

      --format string   Output format. One of [json yaml octet-stream go-template=... go-template-file=...], defaults to yaml.
-o, --org string Organization name or id (required)
--output string Write file(s) to directory, instead of STDOUT (default "-")
-s, --server string management server endpoint (required)

Options inherited from parent commands

      --accept-license        Accept the license for API Connect
--debug Enable debug output
--debug-output string Write debug output to file
--lang string Toolkit operation language
--live-help Enable or disable tracking of limited usage information
-m, --mode string Toolkit operation mode (default "apim")