---
title: "GET /{accountId}/vaults/{vaultName}/access-policy"
method: GET
path: "/{accountId}/vaults/{vaultName}/access-policy"
---

# GET /{accountId}/vaults/{vaultName}/access-policy

`GET /{accountId}/vaults/{vaultName}/access-policy`

This operation retrieves the <code>access-policy</code> subresource set on the vault; for more information on setting this subresource, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-SetVaultAccessPolicy.html">Set Vault Access Policy (PUT access-policy)</a>. If there is no access policy set on the vault, the operation returns a <code>404 Not found</code> error. For more information about vault access policies, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-access-policy.html">Amazon Glacier Access Control with Vault Access Policies</a>.

## Path parameters

- `accountId` string, required
- `vaultName` string, required

## Response `200`

Success

- GetVaultAccessPolicyOutput — Output for GetVaultAccessPolicy.
  - `policy` object — Contains the returned vault access policy as a JSON string.
    - `Policy` string — The vault access policy.

## Other responses

- `480` — ResourceNotFoundException
- `481` — InvalidParameterValueException
- `482` — MissingParameterValueException
- `483` — ServiceUnavailableException

---

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