PasswordInVault

class oci.apm_synthetics.models.PasswordInVault(**kwargs)

Bases: oci.apm_synthetics.models.password.Password

Vault secret OCID for password that can be used with monitor Resource Principal. Example, ocid1.vaultsecret.oc1.iad.amaaaaaagpihjxqadwyc4kjhpeis2bylhzmp5r2si6mz2h4eujevnmf3zoca.

Attributes

PASSWORD_TYPE_IN_TEXT str(object=’’) -> str
PASSWORD_TYPE_VAULT_SECRET_ID str(object=’’) -> str
password_type Gets the password_type of this Password.
vault_secret_id [Required] Gets the vault_secret_id of this PasswordInVault.

Methods

__init__(**kwargs) Initializes a new PasswordInVault 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.
PASSWORD_TYPE_IN_TEXT = 'IN_TEXT'
PASSWORD_TYPE_VAULT_SECRET_ID = 'VAULT_SECRET_ID'
__init__(**kwargs)

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

Parameters:
  • password_type (str) – The value to assign to the password_type property of this PasswordInVault. Allowed values for this property are: “IN_TEXT”, “VAULT_SECRET_ID”
  • vault_secret_id (str) – The value to assign to the vault_secret_id property of this PasswordInVault.
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.

password_type

Gets the password_type of this Password. Type of method to pass password.

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

Returns:The password_type of this Password.
Return type:str
vault_secret_id

[Required] Gets the vault_secret_id of this PasswordInVault. Vault secret OCID.

Returns:The vault_secret_id of this PasswordInVault.
Return type:str