code: def post(method, hmc, uri, uri_parms, body, logon_required,
               wait_for_completion):
          
          assert wait_for_completion is True  # async not supported yet
          partition_oid = uri_parms[0]
          partition_uri = '/api/partitions/' + partition_oid
          try:
              partition = hmc.lookup_by_uri(partition_uri)
          except KeyError:
              raise InvalidResourceError(method, uri)
          cpc = partition.manager.parent
          assert cpc.dpm_enabled
          check_valid_cpc_status(method, uri, cpc)
          check_partition_status(method, uri, partition,
                                 invalid_statuses=['starting', 'stopping'])
          check_required_fields(method, uri, body, [])  # check just body
  
          adapter_uris, domain_configs = ensure_crypto_config(partition)
  
          add_adapter_uris = body.get('crypto-adapter-uris', [])
          add_domain_configs = body.get('crypto-domain-configurations', [])
  
          # We don't support finding errors in this simple-minded mock support,
          # so we assume that the input is fine (e.g. no invalid adapters) and
          # we just add it.
  
          for uri in add_adapter_uris:
              if uri not in adapter_uris:
                  adapter_uris.append(uri)
          for dc in add_domain_configs:
              if dc not in domain_configs:
                  domain_configs.append(dc)
docs: Operation: Increase Crypto Configuration (requires DPM mode).