ReplicationConfig¶
- class oci.vault.models.ReplicationConfig(**kwargs)¶
Bases:
objectDefines the configuration that enables cross-region secret replication.
Methods:
__init__(**kwargs)Initializes a new ReplicationConfig object with values from keyword arguments.
Attributes:
Gets the is_write_forward_enabled of this ReplicationConfig.
[Required] Gets the replication_targets of this ReplicationConfig.
- __init__(**kwargs)¶
Initializes a new ReplicationConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
replication_targets (list[oci.vault.models.ReplicationTarget]) – The value to assign to the replication_targets property of this ReplicationConfig.
is_write_forward_enabled (bool) – The value to assign to the is_write_forward_enabled property of this ReplicationConfig.
- property is_write_forward_enabled¶
Gets the is_write_forward_enabled of this ReplicationConfig. (Optional) A Boolean value to enable forwarding of write requests from replicated secrets to the source secrets. The default value of false disables this option.
- Returns
The is_write_forward_enabled of this ReplicationConfig.
- Return type
bool
- property replication_targets¶
[Required] Gets the replication_targets of this ReplicationConfig. List of the secret replication targets. By default, a maximum of 3 targets is allowed. To configure more than 3 targets, an override is required.
- Returns
The replication_targets of this ReplicationConfig.
- Return type