Create a new Workload Issuance policy
POST/v1/distributedissuers/policies
Add a new a Workload Issuance Policy for an Issuer to use to ensure compliance with company restrictions for creating certificates.
Request
Responses
- 201
- 400
- 403
Workload Issuance policy was created; details in response body.
The request was rejected. Possible causes, by error code:
- 10006: Malformed JSON body or an unknown/unrecognized field; a
keyUsagesvalue is unsupported; akeyAlgorithmallowed or default value is unsupported; or sharing is requested outside a Strata context or with bothshareWithAllandsharedWithSubTsgIdsset. - 50100:
nameis empty. - 50101:
validityPeriodis empty or not a valid ISO-8601 period. - 50102:
subjectis omitted from the body. - 50103:
sansis omitted from the body. - 50104:
keyUsageslist is empty. - 50105:
extendedKeyUsageslist is empty. - 50106:
keyAlgorithmis omitted. - 50107:
keyAlgorithm.allowedValueslist is empty. - 50108:
keyAlgorithm.defaultValueis empty. - 50111: A policy with the same
namealready exists. - 50112: Invalid subject common name.
- 50113: Invalid subject organization.
- 50114: Invalid subject organizational unit.
- 50115: Invalid subject locality.
- 50116: Invalid subject state or province.
- 50117: Invalid subject country.
- 50118: Invalid SAN DNS name.
- 50119: Invalid SAN IP address.
- 50120: Invalid SAN RFC822/email name.
- 50121: Invalid SAN URI.
- 50122:
nameis longer than 64 characters. - 50123:
extendedKeyUsagescontains a value unsupported by Workload Identity Manager. - 50124: A sub-TSG id is not a 10-digit number starting with 1.
The request was forbidden. Possible causes, by error code:
- 1002: The operation is restricted to the primary TSG; sub-TSG callers are rejected.