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 Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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