Update a Workload Issuance policy's details
PATCH/v1/distributedissuers/policies/:id
Updates (replaces) details of the Workload Issuance policy that has the specified id. Only fields specified in the request will be updated. Fields not included in the request will be ignored.
Request
Responses
- 200
- 400
- 403
- 404
Workload Issuance policy updated.
The request was rejected. Supplied fields are validated with the same rules as on create. 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. - 10055: The
idpath parameter is not a valid UUID. - 50100:
nameis empty. - 50101:
validityPeriodis not a valid ISO-8601 period. - 50107:
keyAlgorithm.allowedValueslist is empty (only whenkeyAlgorithmis supplied). - 50108:
keyAlgorithm.defaultValueis empty (only whenkeyAlgorithmis supplied). - 50111: A different 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.
The referenced entity was not found. Possible causes, by error code:
- 10051: No Workload Issuance policy with the given
idexists in this tenant.