Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Reference and use a secret store within a UDT #8736

Open
1 task
willtsai opened this issue Mar 6, 2025 · 1 comment
Open
1 task

Feature Request: Reference and use a secret store within a UDT #8736

willtsai opened this issue Mar 6, 2025 · 1 comment
Labels
feature This issue describes a feature request in Radius

Comments

@willtsai
Copy link
Contributor

willtsai commented Mar 6, 2025

Overview of feature request

As a developer, I can specify a Applications.Core/secretStores in my custom user-defined resource once the user-defined types feature is implemented.

For example, I should be able to reference values from a secret store in a UDT like so:

resource authcreds 'Applications.Core/secretStores@2023-10-01-preview' = {
  name: 'authcreds'
  properties:{
    application: application
    type: 'generic'
    data: {
      'username': {
        value: username
      }
      'password': {
        value: password
      }
      'uri': {
        value: uri
      }
      'connectionString': {
        value: connectionString
      }
    }
  }
}

resource customtype 'Applications.Core/udt@2023-10-01-preview' = {
  name: 'customtype'
  properties: {
    application: application
    environment: environment
    secrets: {
         password: {
           valueFrom: {
             secretRef: {
               source: authcreds.id
               key: 'password'
             }
           }
         }
    }
  }
}

Note: This scenario is a future feature since UDT is not fully implemented yet, nor is its schema finalized. The proposal here is to follow the same valueFrom syntax as the Applications.Core/containers resource type for referencing Radius Secrets in the Applications.Core/udt resource type, but this may change during tech design and implementation.

Acceptance criteria

The user is able to define and create an Applications.Core/secretStores resource, then reference values from the secret store in their Applications.Core/udt resource.

Additional context

See the secret store feature spec for more details.

Would you like to support us?

  • Yes, I would like to support you

AB#14759

@willtsai willtsai added the feature This issue describes a feature request in Radius label Mar 6, 2025
@radius-triage-bot
Copy link

👋 @willtsai Thanks for filing this feature request.

A project maintainer will review this feature request and get back to you soon.

We also welcome community contributions! If you would like to pick this item up sooner and submit a pull request, please visit our contribution guidelines and assign this to yourself by commenting "/assign" on this issue.

For more information on our triage process please visit our triage overview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue describes a feature request in Radius
Projects
None yet
Development

No branches or pull requests

1 participant