# prov.authorize.policies.set

prov.authorize.policies.set in Node SDK.

## Signature

```ts
prov.authorize.policies.set(document: AnyPolicyDocument, opts?: { note?: string }): Promise<PolicyVersion>
```

## Parameters

- `document` (AnyPolicyDocument)
- `opts` ({ note?: string }, optional)

## Returns

`Promise<PolicyVersion>`

Runs locally, with no request to the API.
