Class AWSCredentialsImpl

java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.cloudbees.jenkins.plugins.awscredentials.BaseAmazonWebServicesCredentials
com.cloudbees.jenkins.plugins.awscredentials.AWSCredentialsImpl
All Implemented Interfaces:
com.amazonaws.auth.AWSCredentialsProvider, AmazonWebServicesCredentials, com.cloudbees.plugins.credentials.common.IdCredentials, com.cloudbees.plugins.credentials.common.StandardCredentials, com.cloudbees.plugins.credentials.Credentials, ExtensionPoint, Describable<com.cloudbees.plugins.credentials.Credentials>, Serializable, software.amazon.awssdk.auth.credentials.AwsCredentialsProvider, software.amazon.awssdk.identity.spi.IdentityProvider<software.amazon.awssdk.identity.spi.AwsCredentialsIdentity>

public class AWSCredentialsImpl extends BaseAmazonWebServicesCredentials
See Also:
  • Field Details

    • STS_CREDENTIALS_DURATION_SECONDS

      public static final int STS_CREDENTIALS_DURATION_SECONDS
      See Also:
  • Constructor Details

    • AWSCredentialsImpl

      public AWSCredentialsImpl(@CheckForNull com.cloudbees.plugins.credentials.CredentialsScope scope, @CheckForNull String id, @CheckForNull String accessKey, @CheckForNull String secretKey, @CheckForNull String description)
    • AWSCredentialsImpl

      public AWSCredentialsImpl(@CheckForNull com.cloudbees.plugins.credentials.CredentialsScope scope, @CheckForNull String id, @CheckForNull String accessKey, @CheckForNull String secretKey, @CheckForNull String description, @CheckForNull String iamRoleArn, @CheckForNull String iamMfaSerialNumber)
    • AWSCredentialsImpl

      @DataBoundConstructor public AWSCredentialsImpl(@CheckForNull com.cloudbees.plugins.credentials.CredentialsScope scope, @CheckForNull String id, @CheckForNull String accessKey, @CheckForNull String secretKey, @CheckForNull String description, @CheckForNull String iamRoleArn, @CheckForNull String iamMfaSerialNumber, String iamExternalId)
  • Method Details

    • getAccessKey

      public String getAccessKey()
    • getSecretKey

      public Secret getSecretKey()
    • getIamRoleArn

      public String getIamRoleArn()
    • getIamExternalId

      public String getIamExternalId()
    • getIamMfaSerialNumber

      public String getIamMfaSerialNumber()
    • getStsTokenDuration

      @NonNull public Integer getStsTokenDuration()
    • setStsTokenDuration

      @DataBoundSetter public void setStsTokenDuration(Integer stsTokenDuration)
    • requiresToken

      public boolean requiresToken()
    • resolveCredentials

      public software.amazon.awssdk.auth.credentials.AwsCredentials resolveCredentials()
    • resolveCredentials

      public software.amazon.awssdk.auth.credentials.AwsCredentials resolveCredentials(String mfaToken)
    • getCredentials

      @Deprecated public com.amazonaws.auth.AWSCredentials getCredentials()
      Deprecated.
    • getCredentials

      @Deprecated public com.amazonaws.auth.AWSCredentials getCredentials(String mfaToken)
    • refresh

      @Deprecated public void refresh()
      Deprecated.
      removed without replacement
    • getDisplayName

      public String getDisplayName()