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

System.Object
  Amazon.ECR.Model.AuthorizationData

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

Syntax

C#
public class AuthorizationData

The AuthorizationData type exposes the following members

Constructors

NameDescription
Public Method AuthorizationData()

Properties

NameTypeDescription
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 https://aws_account_id.dkr.ecr.region.amazonaws.com. For example, https://012345678910.dkr.ecr.us-east-1.amazonaws.com..

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