SecretMigrateConnectionDetails¶
- class oci.golden_gate.models.SecretMigrateConnectionDetails(**kwargs)¶
Bases:
MigrateConnectionDetailsDefinition of the additional attributes for secret Connection migrate.
Attributes:
A constant which can be used with the type property of a MigrateConnectionDetails.
[Required] Gets the key_id of this SecretMigrateConnectionDetails.
[Required] Gets the secret_compartment_id of this SecretMigrateConnectionDetails.
[Required] Gets the type of this MigrateConnectionDetails.
[Required] Gets the vault_id of this SecretMigrateConnectionDetails.
Methods:
__init__(**kwargs)Initializes a new SecretMigrateConnectionDetails 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_SECRET = 'SECRET'¶
A constant which can be used with the type property of a MigrateConnectionDetails. This constant has a value of “SECRET”
- __init__(**kwargs)¶
Initializes a new SecretMigrateConnectionDetails object with values from keyword arguments. The default value of the
typeattribute of this class isSECRETand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
type (str) – The value to assign to the type property of this SecretMigrateConnectionDetails. Allowed values for this property are: “SECRET”
secret_compartment_id (str) – The value to assign to the secret_compartment_id property of this SecretMigrateConnectionDetails.
vault_id (str) – The value to assign to the vault_id property of this SecretMigrateConnectionDetails.
key_id (str) – The value to assign to the key_id property of this SecretMigrateConnectionDetails.
- 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 key_id¶
[Required] Gets the key_id of this SecretMigrateConnectionDetails. Refers to the customer’s master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.
- Returns
The key_id of this SecretMigrateConnectionDetails.
- Return type
str
- property secret_compartment_id¶
[Required] Gets the secret_compartment_id of this SecretMigrateConnectionDetails. The OCID of the compartment being referenced.
- Returns
The secret_compartment_id of this SecretMigrateConnectionDetails.
- Return type
str
- property type¶
[Required] Gets the type of this MigrateConnectionDetails. The type of a migrate Connection.
Allowed values for this property are: “SECRET”
- Returns
The type of this MigrateConnectionDetails.
- Return type
str
- property vault_id¶
[Required] Gets the vault_id of this SecretMigrateConnectionDetails. Refers to the customer’s vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault.
- Returns
The vault_id of this SecretMigrateConnectionDetails.
- Return type
str