a ýÎòfm@ã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@s‚eZdZdZdd„Zedd„ƒZejdd„ƒZedd„ƒZejd d„ƒZed d „ƒZ e jd d „ƒZ ed d„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZejdd„ƒZedd„ƒZejdd„ƒZedd „ƒZejd!d „ƒZed"d#„ƒZejd$d#„ƒZed%d&„ƒZejd'd&„ƒZed(d)„ƒZejd*d)„ƒZd+d,„Zd-d.„Zd/d0„Zd1S)2ÚCreateSecretDetailsz< The details of the secret that you want to create. cKs–ddddddddddddd d œ |_d d d ddddddddddd œ |_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_dS)ah Initializes a new CreateSecretDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this CreateSecretDetails. :type compartment_id: str :param defined_tags: The value to assign to the defined_tags property of this CreateSecretDetails. :type defined_tags: dict(str, dict(str, object)) :param description: The value to assign to the description property of this CreateSecretDetails. :type description: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateSecretDetails. :type freeform_tags: dict(str, str) :param key_id: The value to assign to the key_id property of this CreateSecretDetails. :type key_id: str :param metadata: The value to assign to the metadata property of this CreateSecretDetails. :type metadata: dict(str, object) :param secret_content: The value to assign to the secret_content property of this CreateSecretDetails. :type secret_content: oci.vault.models.SecretContentDetails :param rotation_config: The value to assign to the rotation_config property of this CreateSecretDetails. :type rotation_config: oci.vault.models.RotationConfig :param secret_name: The value to assign to the secret_name property of this CreateSecretDetails. :type secret_name: str :param secret_rules: The value to assign to the secret_rules property of this CreateSecretDetails. :type secret_rules: list[oci.vault.models.SecretRule] :param vault_id: The value to assign to the vault_id property of this CreateSecretDetails. :type vault_id: str :param secret_generation_context: The value to assign to the secret_generation_context property of this CreateSecretDetails. :type secret_generation_context: oci.vault.models.SecretGenerationContext :param enable_auto_generation: The value to assign to the enable_auto_generation property of this CreateSecretDetails. :type enable_auto_generation: bool Ústrzdict(str, dict(str, object))zdict(str, str)zdict(str, object)ZSecretContentDetailsZRotationConfigzlist[SecretRule]ZSecretGenerationContextÚbool) Úcompartment_idÚ defined_tagsÚ descriptionÚ freeform_tagsÚkey_idÚmetadataÚsecret_contentÚrotation_configÚ secret_nameÚ secret_rulesÚvault_idÚsecret_generation_contextÚenable_auto_generationZ compartmentIdZ definedTagsr Z freeformTagsZkeyIdrZ secretContentZrotationConfigZ secretNameZ secretRulesZvaultIdZsecretGenerationContextZenableAutoGenerationN)Z swagger_typesZ attribute_mapÚ_compartment_idÚ _defined_tagsÚ _descriptionÚ_freeform_tagsÚ_key_idÚ _metadataÚ_secret_contentÚ_rotation_configÚ _secret_nameÚ _secret_rulesÚ _vault_idÚ_secret_generation_contextÚ_enable_auto_generation)ÚselfÚkwargs©r%úJ/usr/lib/python3.9/site-packages/oci/vault/models/create_secret_details.pyÚ__init__sR;óózCreateSecretDetails.__init__cCs|jS)zõ **[Required]** Gets the compartment_id of this CreateSecretDetails. The OCID of the compartment where you want to create the secret. :return: The compartment_id of this CreateSecretDetails. :rtype: str ©r©r#r%r%r&r zs z"CreateSecretDetails.compartment_idcCs ||_dS)zó Sets the compartment_id of this CreateSecretDetails. The OCID of the compartment where you want to create the secret. :param compartment_id: The compartment_id of this CreateSecretDetails. :type: str Nr()r#r r%r%r&r †s cCs|jS)aÍ Gets the defined_tags of this CreateSecretDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this CreateSecretDetails. :rtype: dict(str, dict(str, object)) ©rr)r%r%r&r ’sz CreateSecretDetails.defined_tagscCs ||_dS)aØ Sets the defined_tags of this CreateSecretDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this CreateSecretDetails. :type: dict(str, dict(str, object)) Nr*)r#r r%r%r&r ¢scCs|jS)zë Gets the description of this CreateSecretDetails. A brief description of the secret. Avoid entering confidential information. :return: The description of this CreateSecretDetails. :rtype: str ©rr)r%r%r&r ²s zCreateSecretDetails.descriptioncCs ||_dS)zõ Sets the description of this CreateSecretDetails. A brief description of the secret. Avoid entering confidential information. :param description: The description of this CreateSecretDetails. :type: str Nr+)r#r r%r%r&r ¾s cCs|jS)a× Gets the freeform_tags of this CreateSecretDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this CreateSecretDetails. :rtype: dict(str, str) ©rr)r%r%r&r Êsz!CreateSecretDetails.freeform_tagscCs ||_dS)aã Sets the freeform_tags of this CreateSecretDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this CreateSecretDetails. :type: dict(str, str) Nr,)r#r r%r%r&r ÚscCs|jS)a± **[Required]** Gets the key_id of this CreateSecretDetails. The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. :return: The key_id of this CreateSecretDetails. :rtype: str ©rr)r%r%r&r ês zCreateSecretDetails.key_idcCs ||_dS)a§ Sets the key_id of this CreateSecretDetails. The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. :param key_id: The key_id of this CreateSecretDetails. :type: str Nr-)r#r r%r%r&r ös cCs|jS)a Gets the metadata of this CreateSecretDetails. Additional metadata that you can use to provide context about how to use the secret during rotation or other administrative tasks. For example, for a secret that you use to connect to a database, the additional metadata might specify the connection endpoint and the connection string. Provide additional metadata as key-value pairs. :return: The metadata of this CreateSecretDetails. :rtype: dict(str, object) ©rr)r%r%r&rs zCreateSecretDetails.metadatacCs ||_dS)a  Sets the metadata of this CreateSecretDetails. Additional metadata that you can use to provide context about how to use the secret during rotation or other administrative tasks. For example, for a secret that you use to connect to a database, the additional metadata might specify the connection endpoint and the connection string. Provide additional metadata as key-value pairs. :param metadata: The metadata of this CreateSecretDetails. :type: dict(str, object) Nr.)r#rr%r%r&rs cCs|jS)z¾ Gets the secret_content of this CreateSecretDetails. :return: The secret_content of this CreateSecretDetails. :rtype: oci.vault.models.SecretContentDetails ©rr)r%r%r&rsz"CreateSecretDetails.secret_contentcCs ||_dS)zË Sets the secret_content of this CreateSecretDetails. :param secret_content: The secret_content of this CreateSecretDetails. :type: oci.vault.models.SecretContentDetails Nr/)r#rr%r%r&r(scCs|jS)zº Gets the rotation_config of this CreateSecretDetails. :return: The rotation_config of this CreateSecretDetails. :rtype: oci.vault.models.RotationConfig ©rr)r%r%r&r2sz#CreateSecretDetails.rotation_configcCs ||_dS)zÈ Sets the rotation_config of this CreateSecretDetails. :param rotation_config: The rotation_config of this CreateSecretDetails. :type: oci.vault.models.RotationConfig Nr0)r#rr%r%r&r<scCs|jS)a‹ **[Required]** Gets the secret_name of this CreateSecretDetails. A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. :return: The secret_name of this CreateSecretDetails. :rtype: str ©rr)r%r%r&rFs zCreateSecretDetails.secret_namecCs ||_dS)a† Sets the secret_name of this CreateSecretDetails. A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. :param secret_name: The secret_name of this CreateSecretDetails. :type: str Nr1)r#rr%r%r&rRs cCs|jS)zþ Gets the secret_rules of this CreateSecretDetails. A list of rules to control how the secret is used and managed. :return: The secret_rules of this CreateSecretDetails. :rtype: list[oci.vault.models.SecretRule] ©rr)r%r%r&r^s z CreateSecretDetails.secret_rulescCs ||_dS)a  Sets the secret_rules of this CreateSecretDetails. A list of rules to control how the secret is used and managed. :param secret_rules: The secret_rules of this CreateSecretDetails. :type: list[oci.vault.models.SecretRule] Nr2)r#rr%r%r&rjs cCs|jS)zã **[Required]** Gets the vault_id of this CreateSecretDetails. The OCID of the vault where you want to create the secret. :return: The vault_id of this CreateSecretDetails. :rtype: str ©r r)r%r%r&rvs zCreateSecretDetails.vault_idcCs ||_dS)zÛ Sets the vault_id of this CreateSecretDetails. The OCID of the vault where you want to create the secret. :param vault_id: The vault_id of this CreateSecretDetails. :type: str Nr3)r#rr%r%r&r‚s cCs|jS)z× Gets the secret_generation_context of this CreateSecretDetails. :return: The secret_generation_context of this CreateSecretDetails. :rtype: oci.vault.models.SecretGenerationContext ©r!r)r%r%r&rŽsz-CreateSecretDetails.secret_generation_contextcCs ||_dS)zï Sets the secret_generation_context of this CreateSecretDetails. :param secret_generation_context: The secret_generation_context of this CreateSecretDetails. :type: oci.vault.models.SecretGenerationContext Nr4)r#rr%r%r&r˜scCs|jS)a9 Gets the enable_auto_generation of this CreateSecretDetails. The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. :return: The enable_auto_generation of this CreateSecretDetails. :rtype: bool ©r"r)r%r%r&r¢s z*CreateSecretDetails.enable_auto_generationcCs ||_dS)aN Sets the enable_auto_generation of this CreateSecretDetails. The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false. :param enable_auto_generation: The enable_auto_generation of this CreateSecretDetails. :type: bool Nr5)r#rr%r%r&r®s cCst|ƒS©N)rr)r%r%r&Ú__repr__ºszCreateSecretDetails.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©r#Úotherr%r%r&Ú__eq__½szCreateSecretDetails.__eq__cCs ||k Sr6r%r9r%r%r&Ú__ne__ÃszCreateSecretDetails.__ne__N)Ú__name__Ú __module__Ú __qualname__Ú__doc__r'Úpropertyr Úsetterr r r r rrrrrrrrr7r;r<r%r%r%r&r srh                          rN)Zoci.utilrrrZoci.decoratorsrÚobjectrr%r%r%r&Ús