PreExistingCredentials¶
- 
class oci.stack_monitoring.models.PreExistingCredentials(**kwargs)¶
- Bases: - oci.stack_monitoring.models.monitored_resource_credential.MonitoredResourceCredential- Pre existing credentials [indicated by the type property in CredentialStore]. - Attributes - CREDENTIAL_TYPE_ENCRYPTED- str(object=’’) -> str - CREDENTIAL_TYPE_EXISTING- str(object=’’) -> str - CREDENTIAL_TYPE_PLAINTEXT- str(object=’’) -> str - credential_type- Gets the credential_type of this MonitoredResourceCredential. - description- Gets the description of this MonitoredResourceCredential. - name- Gets the name of this MonitoredResourceCredential. - source- Gets the source of this MonitoredResourceCredential. - type- Gets the type of this MonitoredResourceCredential. - Methods - __init__(**kwargs)- Initializes a new PreExistingCredentials 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. - 
CREDENTIAL_TYPE_ENCRYPTED= 'ENCRYPTED'¶
 - 
CREDENTIAL_TYPE_EXISTING= 'EXISTING'¶
 - 
CREDENTIAL_TYPE_PLAINTEXT= 'PLAINTEXT'¶
 - 
__init__(**kwargs)¶
- Initializes a new PreExistingCredentials object with values from keyword arguments. The default value of the - credential_typeattribute of this class is- EXISTINGand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters: - source (str) – The value to assign to the source property of this PreExistingCredentials.
- name (str) – The value to assign to the name property of this PreExistingCredentials.
- type (str) – The value to assign to the type property of this PreExistingCredentials.
- description (str) – The value to assign to the description property of this PreExistingCredentials.
- credential_type (str) – The value to assign to the credential_type property of this PreExistingCredentials. Allowed values for this property are: “EXISTING”, “PLAINTEXT”, “ENCRYPTED”
 
 - 
credential_type¶
- Gets the credential_type of this MonitoredResourceCredential. Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.- PLAINTEXT - The credential properties will have credentials in plain text format.
- ENCRYPTED - The credential properties will have credentials stored in vault in
- encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
 
 - Allowed values for this property are: “EXISTING”, “PLAINTEXT”, “ENCRYPTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The credential_type of this MonitoredResourceCredential. - Return type: - str 
 - 
description¶
- Gets the description of this MonitoredResourceCredential. The user-specified textual description of the credential. - Returns: - The description of this MonitoredResourceCredential. - Return type: - str 
 - 
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. 
 - 
name¶
- Gets the name of this MonitoredResourceCredential. The name of the credential, within the context of the source. - Returns: - The name of this MonitoredResourceCredential. - Return type: - str 
 - 
source¶
- Gets the source of this MonitoredResourceCredential. The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. - Returns: - The source of this MonitoredResourceCredential. - Return type: - str 
 - 
type¶
- Gets the type of this MonitoredResourceCredential. The type of the credential ( ex. JMXCreds,DBCreds). - Returns: - The type of this MonitoredResourceCredential. - Return type: - str 
 
-