Package com.morpheusdata.model
Class AccountCredential
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.AccountCredentialIdentityProjection
com.morpheusdata.model.AccountCredential
- All Implemented Interfaces:
Serializable
Reference to a Remotely stored Credential. Most of the data is in the `data` property in a Map. A
CredentialProvider
implemented plugin would leverage the data property on this object to save a Map of values into a remote secret store such as a Vault or CyberArk.
Optionally, an externalId can be stored on this object for future retrieval after creation.- Since:
- 0.13.1
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Accountprotected Stringprotected Stringprotected MapThis is the transient Map that holds the credential data.protected Stringprotected Booleanprotected Booleanprotected Dateprotected AccountIntegrationprotected Stringprotected Stringprotected Longprotected Stringprotected Stringprotected Stringprotected AccountCredentialTypeprotected Stringprotected UserFields inherited from class com.morpheusdata.model.projection.AccountCredentialIdentityProjection
externalId, internalId, providerIdFields inherited from class com.morpheusdata.model.MorpheusModel
config, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()getData()getName()getRefId()getType()getUser()voidsetAccount(Account account) voidsetCategory(String category) voidvoidvoidsetDescription(String description) voidsetEditable(Boolean editable) voidsetEnabled(Boolean enabled) voidsetExpireDate(Date expireDate) voidsetExternalId(String externalId) voidsetIntegration(AccountIntegration integration) voidsetInternalId(String internalId) voidsetItemSource(String itemSource) voidvoidsetProviderId(String providerId) voidvoidsetRefName(String refName) voidsetRefType(String refType) voidsetStoreType(String storeType) voidsetType(AccountCredentialType type) voidsetTypeName(String typeName) voidMethods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
Field Details
-
account
-
user
-
integration
-
name
-
code
-
category
-
description
-
type
-
typeName
-
refType
-
refId
-
refName
-
enabled
-
editable
-
itemSource
-
storeType
-
expireDate
-
data
This is the transient Map that holds the credential data. This is what needs to be saved remotely and also recovered remotely
-
-
Constructor Details
-
AccountCredential
public AccountCredential()
-
-
Method Details
-
getAccount
-
setAccount
-
getUser
-
setUser
-
getIntegration
-
setIntegration
-
getName
-
setName
-
getCode
-
setCode
-
getCategory
-
setCategory
-
getDescription
-
setDescription
-
getType
-
setType
-
getTypeName
-
setTypeName
-
getRefType
-
setRefType
-
getRefId
-
setRefId
-
getRefName
-
setRefName
-
getExternalId
- Overrides:
getExternalIdin classAccountCredentialIdentityProjection
-
setExternalId
- Overrides:
setExternalIdin classAccountCredentialIdentityProjection
-
getInternalId
- Overrides:
getInternalIdin classAccountCredentialIdentityProjection
-
setInternalId
- Overrides:
setInternalIdin classAccountCredentialIdentityProjection
-
getProviderId
- Overrides:
getProviderIdin classAccountCredentialIdentityProjection
-
setProviderId
- Overrides:
setProviderIdin classAccountCredentialIdentityProjection
-
getEnabled
-
setEnabled
-
getEditable
-
setEditable
-
getItemSource
-
setItemSource
-
getStoreType
-
setStoreType
-
getExpireDate
-
setExpireDate
-
getData
-
setData
-