Class AWSCredentialsImpl

    • Field Detail

      • STS_CREDENTIALS_DURATION_SECONDS

        public static final int STS_CREDENTIALS_DURATION_SECONDS
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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 Detail

      • 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()
      • getCredentials

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

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

        public void refresh()
      • getDisplayName

        public String getDisplayName()