CreateVaultMappedSecretDetails

class oci.network_firewall.models.CreateVaultMappedSecretDetails(**kwargs)

Bases: CreateMappedSecretDetails

The request details to be created in the Vault Mapped Secret for the policy.

Attributes:

TYPE_SSL_FORWARD_PROXY

A constant which can be used with the type property of a CreateMappedSecretDetails.

TYPE_SSL_INBOUND_INSPECTION

A constant which can be used with the type property of a CreateMappedSecretDetails.

description

Gets the description of this CreateMappedSecretDetails.

name

[Required] Gets the name of this CreateMappedSecretDetails.

source

[Required] Gets the source of this CreateMappedSecretDetails.

type

[Required] Gets the type of this CreateMappedSecretDetails.

vault_secret_id

[Required] Gets the vault_secret_id of this CreateVaultMappedSecretDetails.

version_number

[Required] Gets the version_number of this CreateVaultMappedSecretDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateVaultMappedSecretDetails 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.

TYPE_SSL_FORWARD_PROXY = 'SSL_FORWARD_PROXY'

A constant which can be used with the type property of a CreateMappedSecretDetails. 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 CreateMappedSecretDetails. This constant has a value of “SSL_INBOUND_INSPECTION”

__init__(**kwargs)

Initializes a new CreateVaultMappedSecretDetails object with values from keyword arguments. The default value of the source attribute of this class is OCI_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 CreateVaultMappedSecretDetails.

  • source (str) – The value to assign to the source property of this CreateVaultMappedSecretDetails.

  • type (str) – The value to assign to the type property of this CreateVaultMappedSecretDetails. Allowed values for this property are: “SSL_INBOUND_INSPECTION”, “SSL_FORWARD_PROXY”

  • description (str) – The value to assign to the description property of this CreateVaultMappedSecretDetails.

  • vault_secret_id (str) – The value to assign to the vault_secret_id property of this CreateVaultMappedSecretDetails.

  • version_number (int) – The value to assign to the version_number property of this CreateVaultMappedSecretDetails.

property description

Gets the description of this CreateMappedSecretDetails. The description of the mapped secret. This field can be used to add additional info.

Returns

The description of this CreateMappedSecretDetails.

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 CreateMappedSecretDetails. Unique name to identify the group of urls to be used in the policy rules.

Returns

The name of this CreateMappedSecretDetails.

Return type

str

property source

[Required] Gets the source of this CreateMappedSecretDetails. Source of the secrets, where the secrets are stored.

Returns

The source of this CreateMappedSecretDetails.

Return type

str

property type

[Required] Gets the type of this CreateMappedSecretDetails. 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”

Returns

The type of this CreateMappedSecretDetails.

Return type

str

property vault_secret_id

[Required] Gets the vault_secret_id of this CreateVaultMappedSecretDetails. OCID for the Vault Secret to be used.

Returns

The vault_secret_id of this CreateVaultMappedSecretDetails.

Return type

str

property version_number

[Required] Gets the version_number of this CreateVaultMappedSecretDetails. Version number of the secret to be used.

Returns

The version_number of this CreateVaultMappedSecretDetails.

Return type

int