Skip to content

Instantly share code, notes, and snippets.

View zachcasper's full-sized avatar

Zach Casper zachcasper

  • Microsoft
  • Austin, TX
  • 20:44 (UTC -05:00)
View GitHub Profile
@zachcasper
zachcasper / secrets.yaml
Last active August 26, 2025 22:28
Secrets resource type definition
namespace: Radius.Security
types:
secrets:
description: |
The Radius.Security/secrets Resource Type stores sensitive data such as tokens, passwords, keys, and certificates. To create a new Secret, start by adding parameter to your application definition decorated with `@secure()`. Then add a `secrets` resource. Never include secret values in an application definition.
@secure()
param myTokenValue string
resource mySecret 'Radius.Security/secrets@2025-08-01-preview' = {
@zachcasper
zachcasper / README.md
Last active August 26, 2025 22:29
Secrets README

Overview

The Radius.Security/secrets Resource Type stores sensitive data such as tokens, passwords, keys, and certificates. It is used by developers as part of their applications as well as by platform engineers to configure authentication for Radius to access Bicep Recipes stored in OCI registries and Terraform Recipes stored in Git repositories.

Developer documentation is embedded in the Resource Type definition YAML file. Developer documentation is accessible via rad resource-type show Radius.Security/secrets.

Recipes

A list of available Recipes for this Resource Type, including links to the Bicep and Terraform templates.:

|Platform| IaC Language| Recipe Name | Stage |

Radius Cheat Sheet

Create an AKS cluster

export RADIUS_NAME=

export AZURE_SUBSCRIPTION_ID=`az account show | jq  -r '.id'`

User-Defined Type User Stories

Scenario 1 – Day 0 and Day 1

Basic Setup

  1. As a platform engineer, I need to create a resource type in Radius. I want to define typed parameters for my developers to use in their application definitions and include documentation and examples.
    • Blocker for first app launch in H1:* YES
@zachcasper
zachcasper / Radius Priorities.md
Last active December 3, 2024 19:02
Zach's Radius Priorities

Zach's Radius Priorities

Q1 2025

  1. Flux GitOps (ship and document)
  2. UDT
  3. Comcast and MBCP
  4. DE
  5. Support external PRs

Radius Extensibility

What is it?

Radius is a development tool. In the majority of use cases, no human will use Radius directly. As such, Radius must be highly extensible to enable users to customize, extend, and integrate Radius to meet their needs.

Customize