WlsDomainCredential

class oci.wlms.models.WlsDomainCredential(**kwargs)

Bases: object

Details of the WebLogic and Node Manager credentials.

Attributes

STRATEGY_USE_DOMAIN_CONFIG A constant which can be used with the strategy property of a WlsDomainCredential.
STRATEGY_USE_NODE_MANAGER_CONFIG A constant which can be used with the strategy property of a WlsDomainCredential.
STRATEGY_USE_SECRETS A constant which can be used with the strategy property of a WlsDomainCredential.
password_secret_id Gets the password_secret_id of this WlsDomainCredential.
strategy Gets the strategy of this WlsDomainCredential.
type [Required] Gets the type of this WlsDomainCredential.
user_secret_id Gets the user_secret_id of this WlsDomainCredential.

Methods

__init__(**kwargs) Initializes a new WlsDomainCredential object with values from keyword arguments.
STRATEGY_USE_DOMAIN_CONFIG = 'USE_DOMAIN_CONFIG'

A constant which can be used with the strategy property of a WlsDomainCredential. This constant has a value of “USE_DOMAIN_CONFIG”

STRATEGY_USE_NODE_MANAGER_CONFIG = 'USE_NODE_MANAGER_CONFIG'

A constant which can be used with the strategy property of a WlsDomainCredential. This constant has a value of “USE_NODE_MANAGER_CONFIG”

STRATEGY_USE_SECRETS = 'USE_SECRETS'

A constant which can be used with the strategy property of a WlsDomainCredential. This constant has a value of “USE_SECRETS”

__init__(**kwargs)

Initializes a new WlsDomainCredential object with values from keyword arguments. 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 WlsDomainCredential.
  • strategy (str) – The value to assign to the strategy property of this WlsDomainCredential. Allowed values for this property are: “USE_DOMAIN_CONFIG”, “USE_NODE_MANAGER_CONFIG”, “USE_SECRETS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • user_secret_id (str) – The value to assign to the user_secret_id property of this WlsDomainCredential.
  • password_secret_id (str) – The value to assign to the password_secret_id property of this WlsDomainCredential.
password_secret_id

Gets the password_secret_id of this WlsDomainCredential. The OCID for password secret.

Returns:The password_secret_id of this WlsDomainCredential.
Return type:str
strategy

Gets the strategy of this WlsDomainCredential. The strategy for passing the new credentials.

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

Returns:The strategy of this WlsDomainCredential.
Return type:str
type

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

Returns:The type of this WlsDomainCredential.
Return type:str
user_secret_id

Gets the user_secret_id of this WlsDomainCredential. The OCID for user secret.

Returns:The user_secret_id of this WlsDomainCredential.
Return type:str