/policy-create-keysAsk AIpost https://api.akeyless.io/policy-create-keysRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body Paramsallowed-algorithmsarray of stringsSpecify allowed key algorithms (e.g., [RSA2048,AES128GCM])allowed-algorithmsADD stringallowed-key-namesarray of stringsSpecify allowed protection key names. To enforce using the account's default protection key, use 'default-account-key'allowed-key-namesADD stringallowed-key-typesarray of stringsSpecify allowed key protection types (dfc, classic-key)allowed-key-typesADD stringjsonbooleanDefaults to falseSet output format to JSONtruefalsemax-rotation-interval-daysint32Set the maximum rotation interval for automatic key rotation.object-typesarray of stringsThe object types this policy will apply to (items, targets). If not provided, defaults to [items, targets].object-typesADD stringpathstringrequiredThe path the policy refers totokenstringAuthentication token (see /auth and /configure)uid-tokenstringThe universal identity token, Required only for universal_identity authenticationResponses 201 defaulterrorResponse wraps any error to return it as a JSON object with one "error" field.Updated 2 months ago