public class EcrExtendedAuth extends Object
Constructor and Description |
---|
EcrExtendedAuth(KitLogger logger,
String registry)
Initialize an extended authentication for ecr registry.
|
Modifier and Type | Method and Description |
---|---|
AuthConfig |
extendedAuth(AuthConfig localCredentials)
Perform extended authentication.
|
boolean |
isAwsRegistry()
Is the registry an ecr registry?
|
static boolean |
isAwsRegistry(String registry)
Is given the registry an ecr registry?
|
public static boolean isAwsRegistry(String registry)
registry
- the registry namepublic boolean isAwsRegistry()
public AuthConfig extendedAuth(AuthConfig localCredentials) throws IOException
localCredentials
- IAM id/secretIOException
- IO ExceptionCopyright © 2019. All rights reserved.