All Known Implementing Classes:
MockRoleService, NoopRoleService

public interface RoleService
Author:
mortent
  • Method Details

    • createTenantRole

      Optional<TenantRoles> createTenantRole(Tenant tenant)
    • getTenantRole

      TenantRoles getTenantRole(com.yahoo.config.provision.TenantName tenant)
      Retrieve the names of the tenant roles (host and container). Does not guarantee these roles exist
    • deleteTenantRole

      void deleteTenantRole(com.yahoo.config.provision.TenantName tenant)
    • createTenantPolicy

      String createTenantPolicy(com.yahoo.config.provision.TenantName tenant, String policyName, String awsId, String role)
    • deleteTenantPolicy

      void deleteTenantPolicy(com.yahoo.config.provision.TenantName tenant, String policyName, String role)
    • maintainRoles

      double maintainRoles(List<com.yahoo.config.provision.TenantName> tenants)
    • cleanupRoles

      void cleanupRoles(List<com.yahoo.config.provision.TenantName> deletedTenants)