---
title: What Is Resource Scoping in IAM?
url: https://docs.vultr.com/support/platform/iam/what-is-resource-scoping-in-iam
description: Scope a Vultr IAM policy to specific resource UUIDs instead of the * wildcard to limit access to chosen resources.
publish_date: 2026-03-25T15:28:23.031038Z
last_updated: 2026-10-26T23:38:27.406947Z
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

Resource scoping is the ability to restrict a [permission policy](https://docs.vultr.com/platform/iam/policies/how-to-create-a-policy) to specific resources rather than applying it broadly across an entire service. Without resource scoping, a policy that grants access to a service applies to all resources of that type in your organization. With resource scoping, the same policy can be restricted to only specific resources, giving you precise control over exactly which resources a user, group, or role can interact with.

## How Does Resource Scoping Work?

Every permission policy in Vultr IAM has a `Resource` field in its policy document that determines the scope of the policy. This field accepts either:

* **A wildcard (`*`)** — the policy applies to all resources of the targeted service and action.
* **One or more `type:id` entries** — the policy applies only to the specific resources identified, restricting access to exactly those resources and nothing else. Use the resource type followed by the resource ID, for example `instance:<id>`. Resource types include `instance`, `database`, `vpc`, `loadbalancer`, `kubernetes`, and `baremetal`.

For example, a policy that allows `compute.instance.*` actions with the resource set to `instance:<id>` will allow the user to perform those actions on that instance only. All other instances in the organization remain inaccessible to that user unless another policy explicitly grants access to them.

## Three Layers of Control

A permission policy in Vultr IAM operates across three layers simultaneously:

* **Service** — which Vultr service is targeted (for example `compute`)
* **Action** — which operations are permitted or denied, using the `service.resource.Action` format (for example `compute.instance.Create` or `compute.instance.*`)
* **Resource** — which specific resources the policy applies to, either all (`*`) or specific resources using the `type:id` format

When you create a permission policy through the [Vultr API](https://docs.vultr.com/platform/iam/policies/how-to-create-a-policy) or Terraform, you define the `Resource` field in the policy document. Set it to `*` to apply the policy broadly, or list `type:id` entries to scope it to specific resources.
