MappedSecret¶
- class oci.network_firewall.models.MappedSecret(**kwargs)¶
Bases:
objectMapped secret used on the firewall policy rules.
Attributes:
A constant which can be used with the source property of a MappedSecret.
A constant which can be used with the type property of a MappedSecret.
A constant which can be used with the type property of a MappedSecret.
Gets the description of this MappedSecret.
[Required] Gets the name of this MappedSecret.
[Required] Gets the parent_resource_id of this MappedSecret.
[Required] Gets the source of this MappedSecret.
[Required] Gets the type of this MappedSecret.
Methods:
__init__(**kwargs)Initializes a new MappedSecret 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'¶
A constant which can be used with the source property of a MappedSecret. This constant has a value of “OCI_VAULT”
- TYPE_SSL_FORWARD_PROXY = 'SSL_FORWARD_PROXY'¶
A constant which can be used with the type property of a MappedSecret. This constant has a value of “SSL_FORWARD_PROXY”
- TYPE_SSL_INBOUND_INSPECTION = 'SSL_INBOUND_INSPECTION'¶
A constant which can be used with the type property of a MappedSecret. This constant has a value of “SSL_INBOUND_INSPECTION”
- __init__(**kwargs)¶
Initializes a new MappedSecret object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 MappedSecret.
source (str) – The value to assign to the source property of this MappedSecret. 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’.
type (str) – The value to assign to the type property of this MappedSecret. 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’.
parent_resource_id (str) – The value to assign to the parent_resource_id property of this MappedSecret.
description (str) – The value to assign to the description property of this MappedSecret.
- property description¶
Gets the description of this MappedSecret. The description of the mapped secret. This field can be used to add additional info.
- Returns
The description of this MappedSecret.
- Return type
str
- 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.
- property name¶
[Required] Gets the name of this MappedSecret. Name of the secret.
- Returns
The name of this MappedSecret.
- Return type
str
- property 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
- property 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
- property 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