CreateCredentialDetails

class oci.database_tools_runtime.models.CreateCredentialDetails(**kwargs)

Bases: object

Details for the new credential.

Attributes:

TYPE_BASIC

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

key

[Required] Gets the key of this CreateCredentialDetails.

type

[Required] Gets the type of this CreateCredentialDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateCredentialDetails 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_BASIC = 'BASIC'

A constant which can be used with the type property of a CreateCredentialDetails. This constant has a value of “BASIC”

__init__(**kwargs)

Initializes a new CreateCredentialDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 CreateCredentialDetails. Allowed values for this property are: “BASIC”

  • key (str) – The value to assign to the key property of this CreateCredentialDetails.

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

[Required] Gets the key of this CreateCredentialDetails. The credential_name to be created

Returns

The key of this CreateCredentialDetails.

Return type

str

property type

[Required] Gets the type of this CreateCredentialDetails. The type of credential.

Allowed values for this property are: “BASIC”

Returns

The type of this CreateCredentialDetails.

Return type

str