VaultMappedSecret¶
-
class
oci.network_firewall.models.
VaultMappedSecret
(**kwargs)¶ Bases:
oci.network_firewall.models.mapped_secret.MappedSecret
Mapped secret stored in OCI vault used in the firewall policy rules.
Attributes
SOURCE_OCI_VAULT
str(object=’’) -> str TYPE_SSL_FORWARD_PROXY
str(object=’’) -> str TYPE_SSL_INBOUND_INSPECTION
str(object=’’) -> str name
[Required] Gets the name of this MappedSecret. parent_resource_id
[Required] Gets the parent_resource_id of this MappedSecret. source
[Required] Gets the source of this MappedSecret. type
[Required] Gets the type of this MappedSecret. vault_secret_id
[Required] Gets the vault_secret_id of this VaultMappedSecret. version_number
[Required] Gets the version_number of this VaultMappedSecret. Methods
__init__
(**kwargs)Initializes a new VaultMappedSecret object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
SOURCE_OCI_VAULT
= 'OCI_VAULT'¶
-
TYPE_SSL_FORWARD_PROXY
= 'SSL_FORWARD_PROXY'¶
-
TYPE_SSL_INBOUND_INSPECTION
= 'SSL_INBOUND_INSPECTION'¶
-
__init__
(**kwargs)¶ Initializes a new VaultMappedSecret object with values from keyword arguments. The default value of the
source
attribute of this class isOCI_VAULT
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - name (str) – The value to assign to the name property of this VaultMappedSecret.
- source (str) – The value to assign to the source property of this VaultMappedSecret. Allowed values for this property are: “OCI_VAULT”
- type (str) – The value to assign to the type property of this VaultMappedSecret. Allowed values for this property are: “SSL_INBOUND_INSPECTION”, “SSL_FORWARD_PROXY”
- parent_resource_id (str) – The value to assign to the parent_resource_id property of this VaultMappedSecret.
- vault_secret_id (str) – The value to assign to the vault_secret_id property of this VaultMappedSecret.
- version_number (int) – The value to assign to the version_number property of this VaultMappedSecret.
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
name
¶ [Required] Gets the name of this MappedSecret. Name of the secret.
Returns: The name of this MappedSecret. Return type: str
-
parent_resource_id
¶ [Required] Gets the parent_resource_id of this MappedSecret. OCID of the Network Firewall Policy this Mapped Secret belongs to.
Returns: The parent_resource_id of this MappedSecret. Return type: str
-
source
¶ [Required] Gets the source of this MappedSecret. Source of the secrets, where the secrets are stored.
Allowed values for this property are: “OCI_VAULT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The source of this MappedSecret. Return type: str
-
type
¶ [Required] Gets the type of this MappedSecret. Type of the secrets mapped based on the policy.
- SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
- SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
Allowed values for this property are: “SSL_INBOUND_INSPECTION”, “SSL_FORWARD_PROXY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this MappedSecret. Return type: str
-
vault_secret_id
¶ [Required] Gets the vault_secret_id of this VaultMappedSecret. OCID for the Vault Secret to be used.
Returns: The vault_secret_id of this VaultMappedSecret. Return type: str
-
version_number
¶ [Required] Gets the version_number of this VaultMappedSecret. Version number of the secret to be used.
Returns: The version_number of this VaultMappedSecret. Return type: int
-