RotationConfig

class oci.vault.models.RotationConfig(**kwargs)

Bases: object

Defines the frequency of the rotation and the information about the target system

Methods

__init__(**kwargs) Initializes a new RotationConfig object with values from keyword arguments.

Attributes

is_scheduled_rotation_enabled Gets the is_scheduled_rotation_enabled of this RotationConfig.
rotation_interval Gets the rotation_interval of this RotationConfig.
target_system_details [Required] Gets the target_system_details of this RotationConfig.
__init__(**kwargs)

Initializes a new RotationConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • rotation_interval (str) – The value to assign to the rotation_interval property of this RotationConfig.
  • target_system_details (oci.vault.models.TargetSystemDetails) – The value to assign to the target_system_details property of this RotationConfig.
  • is_scheduled_rotation_enabled (bool) – The value to assign to the is_scheduled_rotation_enabled property of this RotationConfig.
is_scheduled_rotation_enabled

Gets the is_scheduled_rotation_enabled of this RotationConfig. Enables auto rotation, when set to true rotationInterval must be set.

Returns:The is_scheduled_rotation_enabled of this RotationConfig.
Return type:bool
rotation_interval

Gets the rotation_interval of this RotationConfig. The time interval that indicates the frequency for rotating secret data, as described in ISO 8601 format. The minimum value is 1 day and maximum value is 360 days. For example, if you want to set the time interval for rotating a secret data as 30 days, the duration is expressed as “P30D.”

Returns:The rotation_interval of this RotationConfig.
Return type:str
target_system_details

[Required] Gets the target_system_details of this RotationConfig.

Returns:The target_system_details of this RotationConfig.
Return type:oci.vault.models.TargetSystemDetails