Class AssumeRoleForPodIdentityResponse

    • Method Detail

      • subject

        public final Subject subject()

        The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.

        Returns:
        The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
      • audience

        public final String audience()

        The identity that is allowed to use the credentials. This value is always pods.eks.amazonaws.com.

        Returns:
        The identity that is allowed to use the credentials. This value is always pods.eks.amazonaws.com.
      • podIdentityAssociation

        public final PodIdentityAssociation podIdentityAssociation()

        The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.

        Returns:
        The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.
      • assumedRoleUser

        public final AssumedRoleUser assumedRoleUser()

        An object with the permanent IAM role identity and the temporary session name.

        The ARN of the IAM role that the temporary credentials authenticate to.

        The session name of the temporary session requested to STS. The value is a unique identifier that contains the role ID, a colon (:), and the role session name of the role that is being assumed. The role ID is generated by IAM when the role is created. The role session name part of the value follows this format: eks-clustername-podname-random UUID

        Returns:
        An object with the permanent IAM role identity and the temporary session name.

        The ARN of the IAM role that the temporary credentials authenticate to.

        The session name of the temporary session requested to STS. The value is a unique identifier that contains the role ID, a colon (:), and the role session name of the role that is being assumed. The role ID is generated by IAM when the role is created. The role session name part of the value follows this format: eks-clustername-podname-random UUID

      • credentials

        public final Credentials credentials()

        The Amazon Web Services Signature Version 4 type of temporary credentials.

        Returns:
        The Amazon Web Services Signature Version 4 type of temporary credentials.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object