# AuthorizationToken

Authorization token to access private ECR repositories in the current environment via Docker CLI.

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

## Example

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

## Methods

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