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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessPolicy.DefinitionStages.WithAttach<ParentT>forApplicationId(String applicationId)Application ID of the client making request on behalf of a principal.AccessPolicy.DefinitionStages.WithAttach<ParentT>forGroup(ActiveDirectoryGroup activeDirectoryGroup)Specifies the Active Directory group this access policy is for.AccessPolicy.DefinitionStages.WithAttach<ParentT>forObjectId(String objectId)Specifies the object ID of the Active Directory identity this access policy is for.AccessPolicy.DefinitionStages.WithAttach<ParentT>forServicePrincipal(ServicePrincipal servicePrincipal)Specifies the Active Directory service principal this access policy is for.AccessPolicy.DefinitionStages.WithAttach<ParentT>forServicePrincipal(String servicePrincipalName)Specifies the Active Directory service principal this access policy is for.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.AccessPolicy.DefinitionStages.WithAttach<ParentT>forUser(ActiveDirectoryUser user)Specifies the Active Directory user this access policy is for.AccessPolicy.DefinitionStages.WithAttach<ParentT>forUser(String userPrincipalName)Specifies the Active Directory user this access policy is for.
-
-
-
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(ActiveDirectoryUser user)
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
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
-
forGroup
AccessPolicy.DefinitionStages.WithAttach<ParentT> forGroup(ActiveDirectoryGroup activeDirectoryGroup)
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
-
-