VaultSecretPasswordDetails

class oci.resource_analytics.models.VaultSecretPasswordDetails(**kwargs)

Bases: AdwAdminPasswordDetails

Secret details for the ADW Admin password.

Attributes:

PASSWORD_TYPE_PLAIN_TEXT

A constant which can be used with the password_type property of a AdwAdminPasswordDetails.

PASSWORD_TYPE_VAULT_SECRET

A constant which can be used with the password_type property of a AdwAdminPasswordDetails.

password_type

[Required] Gets the password_type of this AdwAdminPasswordDetails.

secret_id

[Required] Gets the secret_id of this VaultSecretPasswordDetails.

Methods:

__init__(**kwargs)

Initializes a new VaultSecretPasswordDetails 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_PLAIN_TEXT = 'PLAIN_TEXT'

A constant which can be used with the password_type property of a AdwAdminPasswordDetails. This constant has a value of “PLAIN_TEXT”

PASSWORD_TYPE_VAULT_SECRET = 'VAULT_SECRET'

A constant which can be used with the password_type property of a AdwAdminPasswordDetails. This constant has a value of “VAULT_SECRET”

__init__(**kwargs)

Initializes a new VaultSecretPasswordDetails object with values from keyword arguments. The default value of the password_type attribute of this class is VAULT_SECRET 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 VaultSecretPasswordDetails. Allowed values for this property are: “PLAIN_TEXT”, “VAULT_SECRET”

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

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 password_type

[Required] Gets the password_type of this AdwAdminPasswordDetails. Password type

Allowed values for this property are: “PLAIN_TEXT”, “VAULT_SECRET”

Returns

The password_type of this AdwAdminPasswordDetails.

Return type

str

property secret_id

[Required] Gets the secret_id of this VaultSecretPasswordDetails. The OCID of the vault secret to use as the ADW admin password.

Returns

The secret_id of this VaultSecretPasswordDetails.

Return type

str