This topic covers details for writing policies to control access to the File Storage Service.
Aggregate Resource-Type
file-family
Individual Resource-Types 🔗
file-systems
filesystem-snapshot-policies
mount-targets
outbound-connectors
export-sets
replications
replication-targets
work-requests
Comments
A policy that uses <verb> file-family is equivalent to writing one with a separate <verb> <individual resource-type> statement for each of the individual resource-types.
Details for Verb + Resource-Type Combinations 🔗
The following tables show the permissions and API operations covered by each verb. The level of access is cumulative as you go from inspect > read > use > manage. For example, a group that can use a resource can also inspect and read that resource. A plus sign (+) in a table cell indicates incremental access compared to the cell directly above it, whereas "no extra" indicates no incremental access.
For example, the read verb for the file-systems resource-type includes the same permissions and API operations as the inspect verb, plus the FILE_SYSTEM_READ permission and a number of API operations (e.g., GetFileSystem, ListMountTargets, etc.). The use verb covers still another permission and set of API operations compared to read. Lastly, manage covers two more permissions and operations compared to use.
If creating a file system or clone encrypted with a Key Management master encryption key,
also need use key-delegate (for the caller) and
read keys (for the service principal). For more
information, see Details for the Vault Service.
Cloning a file system uses the
CreateFileSystem API and requires
FILE_SYSTEM_CLONE.
The following table lists the API operations in a logical order, grouped by resource type.
Tip
If a group uses the Console to create file systems, permissions to read mount targets is required. See the File Storage policy examples for further guidance.
For information about permissions, see Permissions.
API Operation
Permissions Required to Use the Operation
ListExports
EXPORT_SET_READ
CreateExport
EXPORT_SET_UPDATE + FILE_SYSTEM_NFSv3_EXPORT
GetExport
EXPORT_SET_READ
AddExportLock
EXPORT_SET_UPDATE +
RESOURCE_LOCK_ADD
RemoveExportLock
EXPORT_SET_UPDATE +
RESOURCE_LOCK_REMOVE
DeleteExport
EXPORT_SET_UPDATE + FILE_SYSTEM_NFSv3_UNEXPORT
ListExportSets
EXPORT_SET_INSPECT
CreateExportSet
EXPORT_SET_CREATE
GetExportSet
EXPORT_SET_READ
UpdateExportSet
EXPORT_SET_UPDATE
DeleteExportSet
EXPORT_SET_DELETE
ListFileSystems
FILE_SYSTEM_INSPECT
CreateFileSystem
FILE_SYSTEM_CREATE
Cloning a file system also requires FILE_SYSTEM_CLONE
Associating the file system with a snapshot policy also requires FILE_SYSTEM_UPDATE_FILESYSTEM​_SNAPSHOT_POLICY
GetFileSystem
FILE_SYSTEM_READ
UpdateFileSystem
FILE_SYSTEM_UPDATE
Associating the file system with a snapshot policy also requires FILE_SYSTEM_UPDATE_FILESYSTEM​_SNAPSHOT_POLICY