# PublicGalleryAuthorizationToken

Authorization token to access the global public ECR Gallery via Docker CLI.

- Source: [`aws-ecr/lib/auth-token.ts`](https://github.com/aws/aws-cdk/blob/v2.273.0/packages/aws-cdk-lib/aws-ecr/lib/auth-token.ts#L29)

## Example

```ts
const user = new iam.User(this, 'User');
ecr.PublicGalleryAuthorizationToken.grantRead(user);
```

## Methods

- `grantRead(grantee: IGrantable): void` (static) — Grant access to retrieve an authorization token.
