📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
vault
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/vault/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: secret.cpython-39.pyc
a ���f�r � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Z e jd7d6� �Z ed8d9� �Z!e!jd:d9� �Z!ed;d<� �Z"e"jd=d<� �Z"ed>d?� �Z#e#jd@d?� �Z#edAdB� �Z$e$jdCdB� �Z$edDdE� �Z%e%jdFdE� �Z%edGdH� �Z&e&jdIdH� �Z&edJdK� �Z'e'jdLdK� �Z'edMdN� �Z(e(jdOdN� �Z(edPdQ� �Z)e)jdRdQ� �Z)dSdT� Z*dUdV� Z+dWdX� Z,dYS )Z�Secretze The details of the secret. Secret details do not contain the contents of the secret itself. �CREATING�ACTIVE�UPDATING�DELETING�DELETED�SCHEDULING_DELETION�PENDING_DELETION�CANCELLING_DELETION�FAILED�IN_PROGRESS� SCHEDULED�NOT_ENABLED� CANCELLINGc K s� ddddddddddddddddddddd d d�| _ dd ddddddddddddddddddd d!d�| _d"| _d"| _d"| _d"| _d"| _d"| _d"| _d"| _ d"| _ d"| _d"| _d"| _ d"| _d"| _d"| _d"| _d"| _d"| _d"| _d"| _d"| _d"| _d"S )#a+ Initializes a new Secret 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 Secret. :type compartment_id: str :param current_version_number: The value to assign to the current_version_number property of this Secret. :type current_version_number: int :param defined_tags: The value to assign to the defined_tags property of this Secret. :type defined_tags: dict(str, dict(str, object)) :param description: The value to assign to the description property of this Secret. :type description: str :param freeform_tags: The value to assign to the freeform_tags property of this Secret. :type freeform_tags: dict(str, str) :param id: The value to assign to the id property of this Secret. :type id: str :param key_id: The value to assign to the key_id property of this Secret. :type key_id: str :param lifecycle_details: The value to assign to the lifecycle_details property of this Secret. :type lifecycle_details: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Secret. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param metadata: The value to assign to the metadata property of this Secret. :type metadata: dict(str, object) :param rotation_config: The value to assign to the rotation_config property of this Secret. :type rotation_config: oci.vault.models.RotationConfig :param rotation_status: The value to assign to the rotation_status property of this Secret. Allowed values for this property are: "IN_PROGRESS", "SCHEDULED", "NOT_ENABLED", "CANCELLING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type rotation_status: str :param last_rotation_time: The value to assign to the last_rotation_time property of this Secret. :type last_rotation_time: datetime :param next_rotation_time: The value to assign to the next_rotation_time property of this Secret. :type next_rotation_time: datetime :param secret_name: The value to assign to the secret_name property of this Secret. :type secret_name: str :param secret_rules: The value to assign to the secret_rules property of this Secret. :type secret_rules: list[oci.vault.models.SecretRule] :param time_created: The value to assign to the time_created property of this Secret. :type time_created: datetime :param time_of_current_version_expiry: The value to assign to the time_of_current_version_expiry property of this Secret. :type time_of_current_version_expiry: datetime :param time_of_deletion: The value to assign to the time_of_deletion property of this Secret. :type time_of_deletion: datetime :param vault_id: The value to assign to the vault_id property of this Secret. :type vault_id: str :param secret_generation_context: The value to assign to the secret_generation_context property of this Secret. :type secret_generation_context: oci.vault.models.SecretGenerationContext :param is_auto_generation_enabled: The value to assign to the is_auto_generation_enabled property of this Secret. :type is_auto_generation_enabled: bool �str�intzdict(str, dict(str, object))zdict(str, str)zdict(str, object)ZRotationConfigZdatetimezlist[SecretRule]ZSecretGenerationContext�bool)�compartment_id�current_version_number�defined_tags�description� freeform_tags�id�key_id�lifecycle_details�lifecycle_state�metadata�rotation_config�rotation_status�last_rotation_time�next_rotation_time�secret_name�secret_rules�time_created�time_of_current_version_expiry�time_of_deletion�vault_id�secret_generation_context�is_auto_generation_enabledZ compartmentIdZcurrentVersionNumberZdefinedTagsr ZfreeformTagsr ZkeyIdZlifecycleDetailsZlifecycleStater ZrotationConfigZrotationStatusZlastRotationTimeZnextRotationTimeZ secretNameZsecretRulesZtimeCreatedZtimeOfCurrentVersionExpiryZtimeOfDeletionZvaultIdZsecretGenerationContextZisAutoGenerationEnabledN)Z swagger_typesZ attribute_map�_compartment_id�_current_version_number� _defined_tags�_description�_freeform_tags�_id�_key_id�_lifecycle_details�_lifecycle_state� _metadata�_rotation_config�_rotation_status�_last_rotation_time�_next_rotation_time�_secret_name� _secret_rules� _time_created�_time_of_current_version_expiry�_time_of_deletion� _vault_id�_secret_generation_context�_is_auto_generation_enabled)�self�kwargs� rE �;/usr/lib/python3.9/site-packages/oci/vault/models/secret.py�__init__F s� c��zSecret.__init__c C s | j S )z� **[Required]** Gets the compartment_id of this Secret. The OCID of the compartment where you want to create the secret. :return: The compartment_id of this Secret. :rtype: str �r- �rC rE rE rF r � s zSecret.compartment_idc C s || _ dS )z� Sets the compartment_id of this Secret. The OCID of the compartment where you want to create the secret. :param compartment_id: The compartment_id of this Secret. :type: str NrH )rC r rE rE rF r � s c C s | j S )z� Gets the current_version_number of this Secret. The version number of the secret version that's currently in use. :return: The current_version_number of this Secret. :rtype: int �r. rI rE rE rF r s zSecret.current_version_numberc C s || _ dS )z� Sets the current_version_number of this Secret. The version number of the secret version that's currently in use. :param current_version_number: The current_version_number of this Secret. :type: int NrJ )rC r rE rE rF r s c C s | j S )a� Gets the defined_tags of this Secret. 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 Secret. :rtype: dict(str, dict(str, object)) �r/ rI rE rE rF r ! s zSecret.defined_tagsc C s || _ dS )a� Sets the defined_tags of this Secret. 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 Secret. :type: dict(str, dict(str, object)) NrK )rC r rE rE rF r 1 s c C s | j S )z� Gets the description of this Secret. A brief description of the secret. Avoid entering confidential information. :return: The description of this Secret. :rtype: str �r0 rI rE rE rF r A s zSecret.descriptionc C s || _ dS )z� Sets the description of this Secret. A brief description of the secret. Avoid entering confidential information. :param description: The description of this Secret. :type: str NrL )rC r rE rE rF r M s c C s | j S )a� Gets the freeform_tags of this Secret. 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 Secret. :rtype: dict(str, str) �r1 rI rE rE rF r Y s zSecret.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this Secret. 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 Secret. :type: dict(str, str) NrM )rC r rE rE rF r i s c C s | j S )z� **[Required]** Gets the id of this Secret. The OCID of the secret. :return: The id of this Secret. :rtype: str �r2 rI rE rE rF r y s z Secret.idc C s || _ dS )z� Sets the id of this Secret. The OCID of the secret. :param id: The id of this Secret. :type: str NrN )rC r rE rE rF r � s c C s | j S )a� Gets the key_id of this Secret. 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 Secret. :rtype: str �r3 rI rE rE rF r � s z Secret.key_idc C s || _ dS )a� Sets the key_id of this Secret. 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 Secret. :type: str NrO )rC r rE rE rF r � s c C s | j S )z� Gets the lifecycle_details of this Secret. Additional information about the current lifecycle state of the secret. :return: The lifecycle_details of this Secret. :rtype: str �r4 rI rE rE rF r � s zSecret.lifecycle_detailsc C s || _ dS )z� Sets the lifecycle_details of this Secret. Additional information about the current lifecycle state of the secret. :param lifecycle_details: The lifecycle_details of this Secret. :type: str NrP )rC r rE rE rF r � s c C s | j S )a� **[Required]** Gets the lifecycle_state of this Secret. The current lifecycle state of the secret. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Secret. :rtype: str )r5 rI rE rE rF r � s zSecret.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this Secret. The current lifecycle state of the secret. :param lifecycle_state: The lifecycle_state of this Secret. :type: str ) r r r r r r r r r �UNKNOWN_ENUM_VALUEN)r r5 )rC r �allowed_valuesrE rE rF r � s c C s | j S )a� Gets the metadata of this Secret. Additional metadata that you can use to provide context about how to use the secret or 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 Secret. :rtype: dict(str, object) �r6 rI rE rE rF r � s zSecret.metadatac C s || _ dS )a� Sets the metadata of this Secret. Additional metadata that you can use to provide context about how to use the secret or 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 Secret. :type: dict(str, object) NrS )rC r rE rE rF r � s c C s | j S )z� Gets the rotation_config of this Secret. :return: The rotation_config of this Secret. :rtype: oci.vault.models.RotationConfig �r7 rI rE rE rF r! � s zSecret.rotation_configc C s || _ dS )z� Sets the rotation_config of this Secret. :param rotation_config: The rotation_config of this Secret. :type: oci.vault.models.RotationConfig NrT )rC r! rE rE rF r! s c C s | j S )a� Gets the rotation_status of this Secret. Additional information about the status of the secret rotation Allowed values for this property are: "IN_PROGRESS", "SCHEDULED", "NOT_ENABLED", "CANCELLING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The rotation_status of this Secret. :rtype: str )r8 rI rE rE rF r"