public class GroupsApi extends Object
Constructor and Description |
---|
GroupsApi() |
GroupsApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
List<AzureKeyVaultResponse> |
azureVaults()
List all Azure Key Vaults available to back a group
Given an Azure HMG configuration, fetch a list of available Azure key vaults which can be used to back a group.
|
void |
checkGroupHmg(String groupId)
Check the HMG configuration of a group
Check that the HMG configuration for a particular group is valid and reachable.
|
void |
checkHmg(HmgConfig body)
Check a HMG configuration
Check that the HMG configuration provided is valid and reachable.
|
Group |
createGroup(GroupRequest body)
Create new group
Create a new group with the specified properties.
|
void |
deleteGroup(String groupId)
Delete group
Remove a group from SDKMS.
|
ApiClient |
getApiClient() |
Group |
getGroup(String groupId)
Get a specific group
Look up a specific group by group ID.
|
List<Group> |
getGroups()
Get all groups
Get detailed information about all groups the authenticated User or authenticated Application belongs to.
|
List<KeyObject> |
scanHmg(String groupId)
Scan all keys from the external source for a particular group
For a group backed by an external source, scan the external source for changes since the last scan, and accordingly update the group.
|
void |
setApiClient(ApiClient apiClient) |
Group |
updateGroup(String groupId,
GroupRequest body)
Update group
Change a group's properties.
|
public GroupsApi()
public GroupsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<AzureKeyVaultResponse> azureVaults() throws ApiException
ApiException
- if fails to make API callpublic void checkGroupHmg(String groupId) throws ApiException
groupId
- Group Identifier (required)ApiException
- if fails to make API callpublic void checkHmg(HmgConfig body) throws ApiException
body
- Request to check validity and reachability of an external configuration (required)ApiException
- if fails to make API callpublic Group createGroup(GroupRequest body) throws ApiException
body
- Name of group (required)ApiException
- if fails to make API callpublic void deleteGroup(String groupId) throws ApiException
groupId
- Group Identifier (required)ApiException
- if fails to make API callpublic Group getGroup(String groupId) throws ApiException
groupId
- Group Identifier (required)ApiException
- if fails to make API callpublic List<Group> getGroups() throws ApiException
ApiException
- if fails to make API callpublic List<KeyObject> scanHmg(String groupId) throws ApiException
groupId
- Group Identifier (required)ApiException
- if fails to make API callpublic Group updateGroup(String groupId, GroupRequest body) throws ApiException
groupId
- Group Identifier (required)body
- Name of group (required)ApiException
- if fails to make API callCopyright © 2017-2023 Fortanix Inc. All Rights Reserved