├── .github ├── CODEOWNERS └── workflows │ ├── ci.yml │ ├── release.yml │ └── sbt-dependency-graph.yaml ├── .gitignore ├── .scala-steward.conf ├── .tool-versions ├── README.md ├── aws-parameterstore ├── README.md ├── lambda │ ├── Lambda.scala │ └── build.sbt └── secret-supplier │ ├── MinimalAwsSdkWrapper.scala │ ├── SecretSupplier.scala │ ├── aws-sdk-v1 │ └── AwsSdkV1.scala │ └── aws-sdk-v2 │ └── AwsSdkV2.scala ├── core └── src │ ├── main │ └── scala │ │ └── com │ │ └── gu │ │ └── play │ │ └── secretrotation │ │ ├── DualSecretTransition.scala │ │ ├── Phase.scala │ │ ├── SnapshotProvider.scala │ │ └── TransitionTiming.scala │ └── test │ └── scala │ └── com │ └── gu │ └── play │ └── secretrotation │ └── PhaseScheduleSpec.scala ├── play ├── play-v29 │ └── RotatingSecretComponents.scala └── play-v30 │ └── RotatingSecretComponents.scala ├── project ├── build.properties └── plugins.sbt ├── secret-generator └── src │ └── main │ └── scala │ └── com │ └── gu │ └── play │ └── secretrotation │ └── SecretGenerator.scala └── version.sbt /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/sbt-dependency-graph.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/.github/workflows/sbt-dependency-graph.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/.gitignore -------------------------------------------------------------------------------- /.scala-steward.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/.scala-steward.conf -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | java corretto-11.0.22.7.1 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/README.md -------------------------------------------------------------------------------- /aws-parameterstore/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/aws-parameterstore/README.md -------------------------------------------------------------------------------- /aws-parameterstore/lambda/Lambda.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/aws-parameterstore/lambda/Lambda.scala -------------------------------------------------------------------------------- /aws-parameterstore/lambda/build.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/aws-parameterstore/lambda/build.sbt -------------------------------------------------------------------------------- /aws-parameterstore/secret-supplier/MinimalAwsSdkWrapper.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/aws-parameterstore/secret-supplier/MinimalAwsSdkWrapper.scala -------------------------------------------------------------------------------- /aws-parameterstore/secret-supplier/SecretSupplier.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/aws-parameterstore/secret-supplier/SecretSupplier.scala -------------------------------------------------------------------------------- /aws-parameterstore/secret-supplier/aws-sdk-v1/AwsSdkV1.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/aws-parameterstore/secret-supplier/aws-sdk-v1/AwsSdkV1.scala -------------------------------------------------------------------------------- /aws-parameterstore/secret-supplier/aws-sdk-v2/AwsSdkV2.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/aws-parameterstore/secret-supplier/aws-sdk-v2/AwsSdkV2.scala -------------------------------------------------------------------------------- /core/src/main/scala/com/gu/play/secretrotation/DualSecretTransition.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/core/src/main/scala/com/gu/play/secretrotation/DualSecretTransition.scala -------------------------------------------------------------------------------- /core/src/main/scala/com/gu/play/secretrotation/Phase.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/core/src/main/scala/com/gu/play/secretrotation/Phase.scala -------------------------------------------------------------------------------- /core/src/main/scala/com/gu/play/secretrotation/SnapshotProvider.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/core/src/main/scala/com/gu/play/secretrotation/SnapshotProvider.scala -------------------------------------------------------------------------------- /core/src/main/scala/com/gu/play/secretrotation/TransitionTiming.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/core/src/main/scala/com/gu/play/secretrotation/TransitionTiming.scala -------------------------------------------------------------------------------- /core/src/test/scala/com/gu/play/secretrotation/PhaseScheduleSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/core/src/test/scala/com/gu/play/secretrotation/PhaseScheduleSpec.scala -------------------------------------------------------------------------------- /play/play-v29/RotatingSecretComponents.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/play/play-v29/RotatingSecretComponents.scala -------------------------------------------------------------------------------- /play/play-v30/RotatingSecretComponents.scala: -------------------------------------------------------------------------------- 1 | ../play-v29/RotatingSecretComponents.scala -------------------------------------------------------------------------------- /project/build.properties: -------------------------------------------------------------------------------- 1 | sbt.version=1.11.7 2 | -------------------------------------------------------------------------------- /project/plugins.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/project/plugins.sbt -------------------------------------------------------------------------------- /secret-generator/src/main/scala/com/gu/play/secretrotation/SecretGenerator.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guardian/play-secret-rotation/HEAD/secret-generator/src/main/scala/com/gu/play/secretrotation/SecretGenerator.scala -------------------------------------------------------------------------------- /version.sbt: -------------------------------------------------------------------------------- 1 | ThisBuild / version := "15.2.7-SNAPSHOT" 2 | --------------------------------------------------------------------------------