Class AccountCredentialRequest

java.lang.Object
com.morpheusdata.request.AccountCredentialRequest

public class AccountCredentialRequest extends Object
  • Field Details

    • credential

      protected AccountCredential 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

      protected String authType
      A type identifier for the authentication used by the credential. Not used in default credential types.
    • authId

      protected String authId
      Identifier for the authentication used by the credential. Not used in default credential types.
    • username

      protected String username
      Name associated with credential secret. Used in credential types like 'Username and Password'
    • password

      protected String password
      Secret details to be saved in the credential. Used in credential types like 'Username and Password'
    • authPath

      protected String authPath
      Scoped path for the secret details. Used in credential types like 'API Token, Tenant'
    • authToken

      protected String authToken
      Token secret. Used in credential types like 'API Token and Tenant'
    • authVersion

      protected String authVersion
      Version identifier for the credential. Not used in default credential types.
    • authConfig

      protected String authConfig
      Configuration details specific to the authentication method of the credential. Not used in default credential types.
    • authFlag

      protected Boolean authFlag
      Boolean flag for the authentication method of the credential. Not used in default credential types.
    • authKey

      protected KeyPair authKey
      Account Key Pair used for authentication method of the credential. Used in credential types like 'Username and Keypair'.
    • scope

      protected String scope
      Scope of the credential (internal, account, user). Defaults to internal.
    • config

      protected String config
      Additional configuration details for the account credential. Not used in default credential types and use-cases.
    • opts

      protected Map<String,Object> opts
      Map to hold additional non-standard elements, which may be necessary for the creation and management of non-default Account Credentials.
  • Constructor Details

  • Method Details

    • getCredential

      public AccountCredential getCredential()
    • setCredential

      public void setCredential(AccountCredential credential)
    • getAuthType

      public String getAuthType()
    • setAuthType

      public void setAuthType(String authType)
    • getAuthId

      public String getAuthId()
    • setAuthId

      public void setAuthId(String authId)
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getAuthPath

      public String getAuthPath()
    • setAuthPath

      public void setAuthPath(String authPath)
    • getAuthToken

      public String getAuthToken()
    • setAuthToken

      public void setAuthToken(String authToken)
    • getAuthVersion

      public String getAuthVersion()
    • setAuthVersion

      public void setAuthVersion(String authVersion)
    • getAuthConfig

      public String getAuthConfig()
    • setAuthConfig

      public void setAuthConfig(String authConfig)
    • getAuthFlag

      public Boolean getAuthFlag()
    • setAuthFlag

      public void setAuthFlag(Boolean authFlag)
    • getAuthKey

      public KeyPair getAuthKey()
    • setAuthKey

      public void setAuthKey(KeyPair authKey)
    • getScope

      public String getScope()
    • setScope

      public void setScope(String scope)
    • getConfig

      public String getConfig()
    • setConfig

      public void setConfig(String config)
    • getOpts

      public Map<String,Object> getOpts()
    • setOpts

      public void setOpts(Map<String,Object> opts)