AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

An object representing authorization data for an Amazon ECR registry.

Inheritance Hierarchy


Namespace: Amazon.ECR.Model
Assembly: AWSSDK.ECR.dll
Version: 3.x.y.z


public class AuthorizationData

The AuthorizationData type exposes the following members


Public Method AuthorizationData()


Public Property AuthorizationToken System.String

Gets and sets the property AuthorizationToken.

A base64-encoded string that contains authorization data for the specified Amazon ECR registry. When the string is decoded, it is presented in the format user:password for private registry authentication using docker login.

Public Property ExpiresAt System.DateTime

Gets and sets the property ExpiresAt.

The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.

Public Property ProxyEndpoint System.String

Gets and sets the property ProxyEndpoint.

The registry URL to use for this authorization token in a docker login command. The Amazon ECR registry URL format is For example,

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms