Interface RealmServiceIdentityConfiguration


public interface RealmServiceIdentityConfiguration
Represents service identity configuration for a specific realm.

Supports multiple identity types, such as AWS IAM. This interface allows each realm to define the credentials and metadata needed to resolve service-managed identities.

  • Method Details

    • awsIamServiceIdentity

      @WithName("aws-iam") Optional<AwsIamServiceIdentityConfiguration> awsIamServiceIdentity()
      Returns the AWS IAM service identity configuration for this realm, if present.
      Returns:
      an optional AWS IAM configuration
    • serviceIdentityConfigurations

      default List<? extends ResolvableServiceIdentityConfiguration> serviceIdentityConfigurations()
      Aggregates all configured service identity types into a list. This includes AWS IAM and potentially other types in the future.
      Returns:
      a list of configured service identity definitions
    • defaultConfiguration

      static RealmServiceIdentityConfiguration defaultConfiguration()
      Returns the default realm service identity configuration.

      This configuration is used only when the default realm (DEFAULT_REALM_KEY) has no explicit configuration. It serves as a fallback for development scenarios where credentials are obtained from the environment without requiring explicit configuration.

      Returns:
      the default realm service identity configuration