List of usage examples for com.amazonaws.services.secretsmanager.model SecretListEntry getARN
public String getARN()
The Amazon Resource Name (ARN) of the secret.
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; }