Example usage for com.amazonaws.services.secretsmanager.model SecretListEntry getARN

List of usage examples for com.amazonaws.services.secretsmanager.model SecretListEntry getARN

Introduction

In this page you can find the example usage for com.amazonaws.services.secretsmanager.model SecretListEntry getARN.

Prototype


public String getARN() 

Source Link

Document

The Amazon Resource Name (ARN) of the secret.

Usage

From source file:com.netflix.spinnaker.clouddriver.ecs.provider.agent.SecretCachingAgent.java

License:Open Source License

public static Map<String, Object> convertSecretToAttributes(String accountName, String region,
        SecretListEntry secret) {
    Map<String, Object> attributes = new HashMap<>();
    attributes.put("account", accountName);
    attributes.put("region", region);
    attributes.put("secretName", secret.getName());
    attributes.put("secretArn", secret.getARN());
    return attributes;
}