AssetSourceCredentials

class oci.cloud_bridge.models.AssetSourceCredentials(**kwargs)

Bases: object

Credentials for an asset source.

Attributes

TYPE_BASIC A constant which can be used with the type property of a AssetSourceCredentials.
secret_id [Required] Gets the secret_id of this AssetSourceCredentials.
type [Required] Gets the type of this AssetSourceCredentials.

Methods

__init__(**kwargs) Initializes a new AssetSourceCredentials object with values from keyword arguments.
TYPE_BASIC = 'BASIC'

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

__init__(**kwargs)

Initializes a new AssetSourceCredentials 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 AssetSourceCredentials. Allowed values for this property are: “BASIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • secret_id (str) – The value to assign to the secret_id property of this AssetSourceCredentials.
secret_id

[Required] Gets the secret_id of this AssetSourceCredentials. The OCID of the secret in a vault. If the the type of the credentials is BASIC`, the secret must contain the username and password in JSON format, which is in the form of { “username”: “<VMwareUser>”, “password”: “<VMwarePassword>” }.

Returns:The secret_id of this AssetSourceCredentials.
Return type:str
type

[Required] Gets the type of this AssetSourceCredentials. Authentication type

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

Returns:The type of this AssetSourceCredentials.
Return type:str