migration.adoc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. = Migration from 2.x to 3.x
  2. [WARNING]
  3. ====
  4. Migration guide is work in progress.
  5. ====
  6. Properties that have changed from 2.x to 3.x are listed below:
  7. [cols="2*", options="header", width=100%, %autowidth]
  8. |===
  9. |Version 2.x
  10. |Version 3.x
  11. |`cloud.aws.credentials.access-key`
  12. |`spring.cloud.aws.credentials.access-key`
  13. |`cloud.aws.credentials.secret-key`
  14. |`spring.cloud.aws.credentials.secret-key`
  15. |`cloud.aws.region.static`
  16. |`spring.cloud.aws.region.static`
  17. |`aws.paramstore.region`
  18. |`spring.cloud.aws.parameterstore.region`
  19. |`aws.secretsmanager.region`
  20. |`spring.cloud.aws.secretsmanager.region`
  21. |`management.metrics.export.cloudwatch.*`
  22. |`management.cloudwatch.metrics.export.*`
  23. |===
  24. Properties that have been removed in 3.x are listed below:
  25. * Cognito Properties
  26. ** `spring.cloud.aws.security.cognito.app-client-id`
  27. ** `spring.cloud.aws.security.cognito.user-pool-id`
  28. ** `spring.cloud.aws.security.algorithm`
  29. ** `spring.cloud.aws.security.region`
  30. ** `spring.cloud.aws.security.enabled`
  31. The same behaviour can be enabled using Spring Boot integration with Spring Security OAuth2 support:
  32. [source,properties]
  33. ----
  34. spring.security.oauth2.resourceserver.jwt.issuer-uri=http://127.0.0.1:4566/us-east-1_f865f8979c4d4361b6af703db533dbb4
  35. spring.security.oauth2.resourceserver.jwt.jwk-set-uri=http://127.0.0.1:4566/us-east-1_f865f8979c4d4361b6af703db533dbb4/.well-known/jwks.json
  36. ----
  37. The example above set the URIs to LocalStack's Cognito Server.