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>
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptorNested classes/interfaces inherited from interface com.cloudbees.jenkins.plugins.awscredentials.AmazonWebServicesCredentials
AmazonWebServicesCredentials.NameProviderNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
com.cloudbees.plugins.credentials.common.IdCredentials.HelpersNested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials
com.cloudbees.plugins.credentials.common.StandardCredentials.NameProvider -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAWSCredentialsImpl(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String accessKey, String secretKey, String description) AWSCredentialsImpl(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String accessKey, String secretKey, String description, String iamRoleArn, String iamMfaSerialNumber) AWSCredentialsImpl(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String accessKey, String secretKey, String description, String iamRoleArn, String iamMfaSerialNumber, String iamExternalId) -
Method Summary
Modifier and TypeMethodDescriptioncom.amazonaws.auth.AWSCredentialsDeprecated.com.amazonaws.auth.AWSCredentialsgetCredentials(String mfaToken) Deprecated.voidrefresh()Deprecated.removed without replacementbooleansoftware.amazon.awssdk.auth.credentials.AwsCredentialssoftware.amazon.awssdk.auth.credentials.AwsCredentialsresolveCredentials(String mfaToken) voidsetStsTokenDuration(Integer stsTokenDuration) Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
equals, getDescription, getId, hashCodeMethods inherited from class com.cloudbees.plugins.credentials.BaseCredentials
getDescriptor, getScopeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.auth.credentials.AwsCredentialsProvider
identityType, resolveIdentityMethods inherited from interface com.cloudbees.plugins.credentials.Credentials
forRun, getDescriptor, getScopeMethods inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
getIdMethods inherited from interface software.amazon.awssdk.identity.spi.IdentityProvider
resolveIdentity, resolveIdentityMethods inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials
getDescription
-
Field Details
-
STS_CREDENTIALS_DURATION_SECONDS
public static final int STS_CREDENTIALS_DURATION_SECONDS- See Also:
-
-
Constructor Details
-
AWSCredentialsImpl
-
AWSCredentialsImpl
-
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
-
getSecretKey
-
getIamRoleArn
-
getIamExternalId
-
getIamMfaSerialNumber
-
getStsTokenDuration
-
setStsTokenDuration
-
requiresToken
public boolean requiresToken() -
resolveCredentials
public software.amazon.awssdk.auth.credentials.AwsCredentials resolveCredentials() -
resolveCredentials
-
getCredentials
Deprecated. -
getCredentials
Deprecated. -
refresh
Deprecated.removed without replacement -
getDisplayName
-
resolveCredentials()