📂 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
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
vault
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/vault/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: secret.pyc
a O��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 Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Zejd9d8� �Zed:d;� �Zejd<d;� �Zd=d>� Z d?d@� Z!dAdB� Z"dCS )D�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�FAILEDc K s� ddddddddddddddddd�| _ d d ddd dddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a3 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 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 �str�intzdict(str, dict(str, object))zdict(str, str)zdict(str, object)zlist[SecretRule]�datetime)�compartment_id�current_version_number�defined_tags�description� freeform_tags�id�key_id�lifecycle_details�lifecycle_state�metadata�secret_name�secret_rules�time_created�time_of_current_version_expiry�time_of_deletion�vault_id� compartmentId�currentVersionNumber�definedTagsr �freeformTagsr �keyId�lifecycleDetails�lifecycleStater � secretName�secretRules�timeCreated�timeOfCurrentVersionExpiry�timeOfDeletion�vaultIdN)� swagger_types� attribute_map�_compartment_id�_current_version_number� _defined_tags�_description�_freeform_tags�_id�_key_id�_lifecycle_details�_lifecycle_state� _metadata�_secret_name� _secret_rules� _time_created�_time_of_current_version_expiry�_time_of_deletion� _vault_id)�self�kwargs� rD �{/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/vault/models/secret.py�__init__4 sd I��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 �r2 �rB rD rD rE 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 NrG )rB r rD rD rE 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 �r3 rH rD rD rE 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 NrI )rB r rD rD rE 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)) �r4 rH rD rD rE 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)) NrJ )rB r rD rD rE r � 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 �r5 rH rD rD rE r 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 NrK )rB r rD rD rE r 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) �r6 rH rD rD rE r 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) NrL )rB r rD rD rE r + 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 �r7 rH rD rD rE r ; 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 NrM )rB r rD rD rE r G 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 �r8 rH rD rD rE r S 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 NrN )rB r rD rD rE 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 �r9 rH rD rD rE r k 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 NrO )rB r rD rD rE r w 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 )r: rH rD rD rE 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 r: )rB r �allowed_valuesrD rD rE 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) �r; rH rD rD rE 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) NrR )rB r rD rD rE r � s c C s | j S )z� **[Required]** Gets the secret_name of this Secret. The user-friendly name of the secret. Avoid entering confidential information. :return: The secret_name of this Secret. :rtype: str �r<