---
title: "GET /authpolicy/{resourceIdentifier}"
method: GET
path: "/authpolicy/{resourceIdentifier}"
---

# GET /authpolicy/{resourceIdentifier}

`GET /authpolicy/{resourceIdentifier}`

Retrieves information about the auth policy for the specified service or service network.

## Path parameters

- `resourceIdentifier` string, required

## Response `200`

Success

- GetAuthPolicyResponse
  - `policy` string — The auth policy.
  - `state` 'Active' | 'Inactive' — The state of the auth policy. The auth policy is only active when the auth type is set to <code>AWS_IAM</code>. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the auth type is <code>NONE</code>, then any auth policy that you provide remains inactive. For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#create-service-network">Create a service network</a> in the <i>Amazon VPC Lattice User Guide</i>.
  - `createdAt` string, date-time — The date and time that the auth policy was created, in ISO-8601 format.
  - `lastUpdatedAt` string, date-time — The date and time that the auth policy was last updated, in ISO-8601 format.

## Other responses

- `480` — ValidationException
- `481` — AccessDeniedException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — InternalServerException

---

[API](https://skmtc.net/aws/apis/vpc-lattice.md) · [All operations](https://skmtc.net/aws/apis/vpc-lattice/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/vpc-lattice/versions/bbec5439e0f7/schema)
