Interface AccessPolicy.DefinitionStages.WithIdentity<ParentT>

    • Method Detail

      • forObjectId

        AccessPolicy.DefinitionStages.WithAttach<ParentT> forObjectId​(String objectId)
        Specifies the object ID of the Active Directory identity this access policy is for.
        Parameters:
        objectId - the object ID of the AD identity
        Returns:
        the next stage of access policy definition
      • forUser

        AccessPolicy.DefinitionStages.WithAttach<ParentT> forUser​(String userPrincipalName)
        Specifies the Active Directory user this access policy is for.
        Parameters:
        userPrincipalName - the user principal name of the AD user
        Returns:
        the next stage of access policy definition
      • forApplicationId

        AccessPolicy.DefinitionStages.WithAttach<ParentT> forApplicationId​(String applicationId)
        Application ID of the client making request on behalf of a principal.
        Parameters:
        applicationId - the application ID
        Returns:
        the next stage of access policy definition
      • forTenantId

        AccessPolicy.DefinitionStages.WithAttach<ParentT> forTenantId​(String tenantId)
        Specifies the Azure Active Directory tenant ID that should be used for authenticating requests to the key vault.
        Parameters:
        tenantId - the tenant ID for the key vault.
        Returns:
        the next stage of access policy definition
      • forServicePrincipal

        AccessPolicy.DefinitionStages.WithAttach<ParentT> forServicePrincipal​(ServicePrincipal servicePrincipal)
        Specifies the Active Directory service principal this access policy is for.
        Parameters:
        servicePrincipal - the AD service principal object
        Returns:
        the next stage of access policy definition
      • forServicePrincipal

        AccessPolicy.DefinitionStages.WithAttach<ParentT> forServicePrincipal​(String servicePrincipalName)
        Specifies the Active Directory service principal this access policy is for.
        Parameters:
        servicePrincipalName - the service principal name of the AD user
        Returns:
        the next stage of access policy definition