code: def change_crypto_domain_config(self, crypto_domain_index, access_mode):
          
          body = {'domain-index': crypto_domain_index,
                  'access-mode': access_mode}
          self.manager.session.post(
              self.uri + '/operations/change-crypto-domain-configuration', body)
docs: Change the access mode for a crypto domain that is currently included
          in the crypto configuration of this partition.
  
          The access mode will be changed for the specified crypto domain on all
          crypto adapters currently included in the crypto configuration of this
          partition.
  
          For the general principle for maintaining crypto configurations of
          partitions, see :meth:`~zhmcclient.Partition.increase_crypto_config`.
  
          Authorization requirements:
  
          * Object-access permission to this Partition.
          * Task permission to the "Partition Details" task.
  
          Parameters:
  
            crypto_domain_index (:term:`integer`):
              Domain index of the crypto domain to be changed. For values, see
              :meth:`~zhmcclient.Partition.increase_crypto_config`.
  
            access_mode (:term:`string`):
              The new access mode for the crypto domain. For values, see
              :meth:`~zhmcclient.Partition.increase_crypto_config`.
  
          Raises:
  
            :exc:`~zhmcclient.HTTPError`
            :exc:`~zhmcclient.ParseError`
            :exc:`~zhmcclient.AuthError`
            :exc:`~zhmcclient.ConnectionError`