

# Permissions your resources need

Registering and protecting a resource involves two kinds of permissions: the AWS permissions that AWS Backup and your appliance role use in your account, and the source-side privileges your appliance needs to connect to each workload.

## AWS permissions
<a name="permissions-aws"></a>
+ **Secrets Manager read access.** For workloads that use credentials, your appliance IAM role must be able to read the AWS Secrets Manager secret that holds the credentials. For a secret in another account, its resource policy and AWS KMS key policy must grant read access to that appliance role.
+ **Backup and restore roles.** Use your AWS Backup service role for backup, copy, and restore operations, as you do for AWS resources.

## Source-side privileges per workload
<a name="permissions-source-side"></a>

Each workload requires specific privileges or accounts on the source so that your appliance can discover and back up resources. The following summarizes the per-workload requirements. See each Prepare page for details.
+ **VMware.** A vCenter or ESXi account with privileges to discover VMs and create snapshots.
+ **NAS (NFS).** IP allowlisting for the appliance node IPs on the NAS server (no credentials).
+ **NAS (SMB).** A username and password stored in an AWS Secrets Manager secret, with read-only access for backup and read/write for restore.
+ **SQL Server.** The agent's Windows service must run as a domain account that is a local administrator, holds the sysadmin role in SQL Server, and has the Log on as a service right. See [Prepare SQL Server](prepare-sql-server.md).
+ **Oracle.** OS authentication only. The agent runs as root or a dedicated account with SYSDBA or SYSBACKUP.
+ **Linux and Windows servers.** The agent is installed with local administrator or local system privileges on each server.