Edit vault access

Edit the IBM Cloud Object Storage Accesser® assigned to the vault. It can take up to 5 minutes for any changes here to update across the system. Adding an Accesser to a vault makes the vault available to a traditional storage client over a protocol such as HTTP or iSCSI.

Request

Security

Table 1. Roles capable of executing the Edit vault access API method
Any Super User System Admin Security Admin Operator
  superUser systemAdmin    

HTTP method

POST /manager/api/{apiResponseType}/1.0/editVaultAccess.adm HTTP/1.1 Host:{manager.dsnet} id={vaultId}&accessDeviceIps={ip1}&accessDeviceIps={ip2}

Curl method

curl -u {admin}:{password} -k ”https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/editVaultAccess.adm“ -d ”id={vaultId}&accessDeviceIps={ip1}&accessDeviceIps={ip2}“

Parameters

Table 2. Request parameters for Edit vault access (editVaultAccess) API method
Parameter Type Usage Default Description
id Long Required  

ID of vault to edit. This ID is returned after vault creation.

accessPoolIds Set[{accessPoolId}] Optional  

A list of Access Pool IDs to deploy to the vault. It should not be provided along with accessPoolMap.

accessPoolMap Map[{accessPoolId}] Optional  

Map of Access Pool IDs to action, to either add or remove visibility. It should not be provided along with accessPoolIds.

accessIds Set[{accessPoolId}] Optional  

A comma-separated list of ALL IP addresses (+ optionally action groups) that should have access to the vault.

accessMap Map[{accessPoolId}] Optional  

A map of IP address to action representing whether to add or remove the IP (+ optionally action groups) from the set of allowed.