Package com.morpheusdata.request
Class AccountCredentialRequest
java.lang.Object
com.morpheusdata.request.AccountCredentialRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringConfiguration details specific to the authentication method of the credential.protected BooleanBoolean flag for the authentication method of the credential.protected StringIdentifier for the authentication used by the credential.protected KeyPairAccount Key Pair used for authentication method of the credential.protected StringScoped path for the secret details.protected StringToken secret.protected StringA type identifier for the authentication used by the credential.protected StringVersion identifier for the credential.protected StringAdditional configuration details for the account credential.protected AccountCredentialMorpheus Plugin-API model details of the AccountCredential related to the request.Map to hold additional non-standard elements, which may be necessary for the creation and management of non-default Account Credentials.protected StringSecret details to be saved in the credential.protected StringScope of the credential (internal, account, user).protected StringName associated with credential secret. -
Constructor Summary
ConstructorsConstructorDescriptionAccountCredentialRequest(AccountCredential credential) AccountCredentialRequest(AccountCredential credential, String authType, String authId, String username, String password, String authPath, String authToken, String authVersion, String authConfig, Boolean authFlag, KeyPair authKey, String scope, String config, Map<String, Object> opts) AccountCredentialRequest(AccountCredential credential, String authType, String authId, String username, String password, String authPath, String authToken, String authVersion, String authConfig, Boolean authFlag, KeyPair authKey, String config, Map<String, Object> opts) -
Method Summary
Modifier and TypeMethodDescriptiongetOpts()getScope()voidsetAuthConfig(String authConfig) voidsetAuthFlag(Boolean authFlag) voidvoidsetAuthKey(KeyPair authKey) voidsetAuthPath(String authPath) voidsetAuthToken(String authToken) voidsetAuthType(String authType) voidsetAuthVersion(String authVersion) voidvoidsetCredential(AccountCredential credential) voidvoidsetPassword(String password) voidvoidsetUsername(String username)
-
Field Details
-
credential
Morpheus Plugin-API model details of the AccountCredential related to the request. In the case of a 'createCredential' action, this would be the details of the credential to create. -
authType
A type identifier for the authentication used by the credential. Not used in default credential types. -
authId
Identifier for the authentication used by the credential. Not used in default credential types. -
username
Name associated with credential secret. Used in credential types like 'Username and Password' -
password
Secret details to be saved in the credential. Used in credential types like 'Username and Password' -
authPath
Scoped path for the secret details. Used in credential types like 'API Token, Tenant' -
authToken
Token secret. Used in credential types like 'API Token and Tenant' -
authVersion
Version identifier for the credential. Not used in default credential types. -
authConfig
Configuration details specific to the authentication method of the credential. Not used in default credential types. -
authFlag
Boolean flag for the authentication method of the credential. Not used in default credential types. -
authKey
Account Key Pair used for authentication method of the credential. Used in credential types like 'Username and Keypair'. -
scope
Scope of the credential (internal, account, user). Defaults to internal. -
config
Additional configuration details for the account credential. Not used in default credential types and use-cases. -
opts
Map to hold additional non-standard elements, which may be necessary for the creation and management of non-default Account Credentials.
-
-
Constructor Details
-
AccountCredentialRequest
public AccountCredentialRequest() -
AccountCredentialRequest
-
AccountCredentialRequest
-
AccountCredentialRequest
-
-
Method Details
-
getCredential
-
setCredential
-
getAuthType
-
setAuthType
-
getAuthId
-
setAuthId
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
getAuthPath
-
setAuthPath
-
getAuthToken
-
setAuthToken
-
getAuthVersion
-
setAuthVersion
-
getAuthConfig
-
setAuthConfig
-
getAuthFlag
-
setAuthFlag
-
getAuthKey
-
setAuthKey
-
getScope
-
setScope
-
getConfig
-
setConfig
-
getOpts
-
setOpts
-