Package com.morpheusdata.model
Class AccountCredential
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.AccountCredentialIdentityProjection
com.morpheusdata.model.AccountCredential
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
Modifier and TypeFieldDescriptionprotected Account
protected String
protected String
protected Map
This is the transient Map that holds the credential data.protected String
protected Boolean
protected Boolean
protected Date
protected AccountIntegration
protected String
protected String
protected Long
protected String
protected String
protected String
protected AccountCredentialType
protected String
protected User
Fields inherited from class com.morpheusdata.model.projection.AccountCredentialIdentityProjection
externalId, internalId, providerId
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
getData()
getName()
getRefId()
getType()
getUser()
void
setAccount
(Account account) void
setCategory
(String category) void
void
void
setDescription
(String description) void
setEditable
(Boolean editable) void
setEnabled
(Boolean enabled) void
setExpireDate
(Date expireDate) void
setExternalId
(String externalId) void
setIntegration
(AccountIntegration integration) void
setInternalId
(String internalId) void
setItemSource
(String itemSource) void
void
setProviderId
(String providerId) void
void
setRefName
(String refName) void
setRefType
(String refType) void
setStoreType
(String storeType) void
setType
(AccountCredentialType type) void
setTypeName
(String typeName) void
Methods 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:
getExternalId
in classAccountCredentialIdentityProjection
-
setExternalId
- Overrides:
setExternalId
in classAccountCredentialIdentityProjection
-
getInternalId
- Overrides:
getInternalId
in classAccountCredentialIdentityProjection
-
setInternalId
- Overrides:
setInternalId
in classAccountCredentialIdentityProjection
-
getProviderId
- Overrides:
getProviderId
in classAccountCredentialIdentityProjection
-
setProviderId
- Overrides:
setProviderId
in classAccountCredentialIdentityProjection
-
getEnabled
-
setEnabled
-
getEditable
-
setEditable
-
getItemSource
-
setItemSource
-
getStoreType
-
setStoreType
-
getExpireDate
-
setExpireDate
-
getData
-
setData
-