OciVaultSecretConfig

class oci.data_integration.models.OciVaultSecretConfig(**kwargs)

Bases: SecretConfig

Properties used for specifying OCI vault configuration

Attributes:

MODEL_TYPE_OCI_VAULT_SECRET_CONFIG

A constant which can be used with the model_type property of a SecretConfig.

model_type

[Required] Gets the model_type of this SecretConfig.

secret_id

Gets the secret_id of this OciVaultSecretConfig.

Methods:

__init__(**kwargs)

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

MODEL_TYPE_OCI_VAULT_SECRET_CONFIG = 'OCI_VAULT_SECRET_CONFIG'

A constant which can be used with the model_type property of a SecretConfig. This constant has a value of “OCI_VAULT_SECRET_CONFIG”

__init__(**kwargs)

Initializes a new OciVaultSecretConfig object with values from keyword arguments. The default value of the model_type attribute of this class is OCI_VAULT_SECRET_CONFIG and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • model_type (str) – The value to assign to the model_type property of this OciVaultSecretConfig. Allowed values for this property are: “OCI_VAULT_SECRET_CONFIG”

  • secret_id (str) – The value to assign to the secret_id property of this OciVaultSecretConfig.

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 model_type

[Required] Gets the model_type of this SecretConfig. If OCI vault is used for storing sensitive info

Allowed values for this property are: “OCI_VAULT_SECRET_CONFIG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The model_type of this SecretConfig.

Return type

str

property secret_id

Gets the secret_id of this OciVaultSecretConfig. OCID of the OCI vault secret

Returns

The secret_id of this OciVaultSecretConfig.

Return type

str