liveBook · Manning

Deployment pipeline

As explained in Authorization in Action

A CI/CD pipeline is an automated workflow that builds, tests, and delivers software or configuration changes through continuous integration and continuous delivery.

CI/CD is an automated workflow for validating, reviewing, packaging, and deploying authorization policy changes. A pull request can trigger schema validation, static analysis, and tests before approved policies reach runtime enforcement. section 10.2.4 section 14.2.2

A policy CI/CD workflow typically:

A policy change from pull request to runtime

When Bob submits a policy pull request, the pipeline validates action names and schema attributes, runs analysis and tests, and blocks merging on failure. After approval, it creates a signed Cedar bundle, publishes it to the policy store, and enables the authorizer to evaluate requests with the reviewed version. section 10.2.4

Figure 10.6 Continuous integration for policies. Bob’s pull request triggers validation, analysis, and testing. After the checks pass, his changes are merged, bundled into a signed package, and published to a policy store, where the authorizer uses them to evaluate requests at runtime.

Follow the flow from pull-request checks through merging, signed bundling, policy-store publication, and runtime authorization. section 10.2.4

How Authorization in Action covers it

How deep it goes
Traces changes from pull request through validation, review, signed publication, and runtime distribution, stopping short of implementation internals.
Examples
Uses Bob’s pull request, Cedar policy bundles, schema checks, automated tests, signed publication, and authorizer evaluation.
What it assumes
Assumes policy repositories, schemas, reviewers, automated tests, and runtime policy stores within an authorization architecture.
What you can do after
Operate repeatable policy delivery that catches errors before production and preserves review, version, testing, and rollback visibility.
How it connects
Connects policy as code with schemas, testing, static analysis, version control, policy stores, governance, and the policy management life cycle.

Also explained in

Compare how 30 books explain deployment pipeline →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Authorization in Action. The section links point to the parts of the book it draws on.