public class EcrExtendedAuth extends Object
Constructor and Description |
---|
EcrExtendedAuth(Logger 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, org.apache.maven.plugin.MojoExecutionException
localCredentials
- IAM id/secretIOException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2021. All rights reserved.