Skip to main content
INS // Insights

AWS build with no standing keys

Updated November 2026 · 8 min read

Rutagon builds one AWS system for a company that needs that system in production and will not leave a standing access key in the pipeline or on a laptop. The aws consultant delivery is the application path, the data store, and the roles that deploy and run it, handed over running.

Book a technical call

What an aws consultant ships on this build

The boundary is one system. Not an organization redesign, not a multi-year platform program, and not a second product beside the one you named. You point at the job the system has to do. We put that job on AWS, and every caller that reaches AWS does it with a role.

The shape we have shipped before is a small service with a clear edge. An API in front. A data store behind it. A queue or a schedule when the work is not a request. Compute that scales to the traffic you actually have. On a production SaaS platform that meant Lambda in front of Aurora Serverless v2, with the mobile and web clients calling an API that never held a long-lived cloud key. On this engagement the services follow the job. The rule does not. Nothing in the repo, the task definition, or a developer laptop is an access key that can outlive the person who created it.

AWS documents what an access key is and why a role should replace it for workloads in the IAM access key guidance. We treat that page as the constraint, not as a reading assignment. The build is done when a deploy from the real pipeline succeeds and a search of the account shows no active access keys for the paths this system uses.

What you receive is the running system, the Terraform that rebuilds it, the pipeline that assumes a role, and a short note of what the role can do. What you do not receive is a catalog of every AWS service, a second environment you did not ask for, or a key "just for break-glass" stuffed into a secret with no expiry. Break-glass, if you need it, is a role with a named approver and a session that ends. It is not an access key in a password manager.

Rutagon ships this from Alaska. The work is the system. The call is how we confirm the one job, the data it touches, and the people who are allowed to deploy it.

Roles instead of keys

Two roles are the usual split, and we keep them split on purpose. The deploy role is what the pipeline assumes. It can change the infrastructure this system owns. It cannot read the customer data the runtime role can read, and it cannot be assumed by a person browsing the console. The runtime role is what the compute holds. It can reach the table, the queue, and the parameters this system needs. It cannot change IAM, and it cannot deploy itself.

The trust on the deploy role names the CI provider and the repository, and it refuses every other subject. The fragment we leave in Terraform looks like this. The issuer and the subject claim are filled from the CI you already use. They are not a wildcard.

resource "aws_iam_role" "deploy" {
  name = "one-system-deploy"
  assume_role_policy = jsonencode({
    Version = "2012-10-17"
    Statement = [{
      Effect    = "Allow"
      Principal = { Federated = aws_iam_openid_connect_provider.ci.arn }
      Action    = "sts:AssumeRoleWithWebIdentity"
      Condition = {
        StringEquals = { "ci.example:aud" = "sts.amazonaws.com" }
        StringLike   = { "ci.example:sub" = "repo:ORG/one-system:ref:refs/heads/main" }
      }
    }]
  })
}

A condition that trusts the whole provider, with no subject, is a standing grant to every repository in that provider. We do not merge that. If the CI cannot emit a subject we can pin, we stop and change the CI. We do not paper over it with a static key "until the provider supports federation." That sentence is how keys survive.

The same refusal applies to local development. A developer assumes a role through the identity you already run, for a session that expires. We do not create an IAM user named dev and email the secret. If someone already created that user, deleting it is part of the build, after the role path is proven. Removing long-lived credentials from AWS is the neighboring cutover when the keys are already scattered. This engagement is the build that refuses to create them.

What "one system" keeps out

Scope is the thing that makes the date real. One system means one deployable unit, one data store you can name, and one pipeline. It does not mean every internal tool the company owns, and it does not mean a landing zone for accounts you might open later. If the system needs a network, we build the network it needs. If it can run without a private subnet, we do not add a NAT gateway so the diagram looks complete. Idle network parts are a bill, and they are a separate job from this build.

We also do not take the product decisions you have not made. The engagement starts from a workflow a person can describe in one sitting: who calls it, what it stores, what "done" looks like on a Tuesday. If that description is still three products, we write the one we will build and leave the other two out. A content platform we delivered stayed inside Terraform for the same reason. The boundary was the site and the infrastructure that served it, not a second platform beside it.

Logging is in the build because a system you cannot explain after an incident is not finished. CloudTrail for the account actions, application logs with a retention you choose, and alarms on the errors a person should see. We do not turn on every paid security product in the account. Each one is a meter. We add the ones this system needs to operate and to show an auditor, later, that deploys came from a role.

A custom data path of this kind is the sort of build described in a serverless data pipeline on AWS. The difference here is the credential rule sitting on top of the design. The pipeline, the function, and the table can all be replaced. The key cannot be allowed back in. AWS cloud infrastructure is the lane this build sits in when the account itself also needs work. If the account is already in good shape, we stay inside it and do not rebuild it.

The trade-off we accept

Federation adds a dependency on the CI provider's token. When that token service has a bad hour, deploys wait. A static key would have kept deploying, and it would have kept working for anyone who copied it. We take the wait. A key that survives a bad hour also survives a laptop, a log line, and a contractor who left.

The other trade-off is a narrower role than a team is used to. The first week, someone will want the deploy role to read production rows "just to check." We split that into a read role with its own trust, or we say no. A role that can deploy and read customer data is two jobs glued together, and the next review cannot tell them apart.

Handover is a working deploy from the default branch, a destroyed-and-rebuilt environment in a non-production account if you have one, and a list of IAM users and access keys that were removed. If a key must remain for a vendor that cannot federate, it is named, owned, and dated. An unnamed exception is a failure of the build, not a footnote.

We do not staff the system after handover unless you ask for a separate arrangement. The Terraform and the pipeline are the part that stays. A person on your side can change the application without creating a key, because the path they were given cannot create one. That is the boundary. One system. No standing keys.

Frequently Asked Questions

### Do we have to move everything into a new AWS account first? No. The build lands in the account you name, as long as that account can hold a role and a pipeline. A new account with guardrails is a different engagement. We will not block this system on an organization redesign you did not hire.

### Can a developer still log in and look at logs? Yes. A person assumes a role through your existing identity, for a session that expires. The console user with an access key is the thing we remove. Logs stay readable. The credential that reads them does not sit on disk.

### What if a vendor API only accepts an access key? We isolate that key to the vendor call, in a secret the runtime role can read, with an owner and a date. The pipeline that deploys your system still assumes a role. One stubborn vendor is not a reason to put a key back in CI.

### Will this include the product's feature backlog? No. The delivery is the system that performs the one job you named, deployed without standing keys. Feature work after that is a later change to the same repo. It is not bundled into the build to make the scope feel larger.

Book a technical call. 907-841-8407. contact@rutagon.com.