ecret-rotation.aws-parameterstore-secret-supplier-base_2.13.13.0.0.source-code.MinimalAwsSdkWrapper.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-parameterstore-secret-supplier-base_2.13 Show documentation
Show all versions of aws-parameterstore-secret-supplier-base_2.13 Show documentation
aws-parameterstore-secret-supplier-base
The newest version!
package com.gu.play.secretrotation.aws.parameterstore
import java.time.Instant
case class Metadata(version: Long, lastModified: Instant)
case class ParameterValue(value: String, metadata: Metadata)
/** This is the minimal functionality we need from AWS SSM ParameterStore,
* acting as a veneer hiding the differences between v1 & v2 of the AWS SDK for Java,
* so that we can support both versions of the AWS SDK simultaneously.
*/
trait MinimalAwsSdkWrapper {
def fetchValues(parameters: Seq[String]): Iterable[ParameterValue]
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy