Interface AccessPolicy.DefinitionStages.WithIdentity<ParentT>

Type Parameters:
ParentT - the stage of the parent definition to return to after attaching this definition
All Known Subinterfaces:
AccessPolicy.Definition<ParentT>, AccessPolicy.DefinitionStages.Blank<ParentT>
Enclosing interface:
AccessPolicy.DefinitionStages

public static interface AccessPolicy.DefinitionStages.WithIdentity<ParentT>
The access policy definition stage allowing the Active Directory identity to be specified.
  • Method Details

    • forObjectId

      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

      Specifies the Active Directory user this access policy is for.
      Parameters:
      user - the AD user object
      Returns:
      the next stage of access policy definition
    • forUser

      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

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

      Specifies the Active Directory group this access policy is for.
      Parameters:
      activeDirectoryGroup - the AD group object
      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