MECHANICAL
ROCK
MECHANICAL
ROCK

We help companies design, build and deliver cloud-native solutions, leverage data platforms and unlock AI so your systems can run securely, reliably and at scale.

ABOUT

Our StoryImpact PartnersTechnology PartnersOur Work

SERVICES

INDUSTRY SOLUTIONS

LEARN

BlogTrainingEventsVideosPodcast

CONTACT US

Mechanical Rock Pty Ltd

contact@mechanicalrock.io
(+61) 08 9126 9454


Perth Office
Old Cloisters Building
Level 1, 200 St Georges Terrace
Perth, Western Australia 6000

UK Office
4th Floor, 100 Fenchurch St
London EC3M 5JD, UK
Contact Us
Spotify Logo

© Mechanical Rock 2026

<< Back to all Blogs
Where do I Stick it?

Where do I Stick it?

Pete Yandell3 August 2020

I was recently working on an application migration project, and the question of where to stick environment specific values came up. These were values that included server names, API keys, database credentials, schema names, etc

This got me thinking, how do you determine where to stick these values? It's not always an easy answer when you consider facets such as:

  1. Is it a secret or sensitive?
  2. Does it need to be rotated on a schedule?
  3. Is it re-used across the same AWS account?
  4. Does it need to be accessible across AWS accounts?

So to help with the decision making, I’ve created everyone’s favourite; a FLOWCHART!!!

flowchart

When would you use each location?

CloudFormation Parameters

  • The value is not shared; and
  • It is not considered a secret nor sensitive; and
  • Can be stored in plain text in your source code repository of choice; and
  • It does not require regular automatic rotation

Parameter Store (plain-text)

  • The value is shared within an AWS Account; and
  • It is not considered a secret nor sensitive; and
  • It does not require regular automatic rotation

Parameter Store (encrypted)

  • The value is shared within an AWS Account; and
  • It is considered a secret or sensitive; and
  • It does not require regular automatic rotation

Secrets Manager

  • When the value needs to be shared between AWS Accounts; and/or
  • When it is considered a secret or sensitive; and
  • When it does require regular automatic rotation

Hope this helps!