microsoft / microsoft/aspire

Default App container deployment encoded secrets

Open
#10,693 4 comments 0 reactions 0 assignees View on GitHub
area-deployment area-tooling
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Describe the bug

When I deploy an Aspire solution using Visual Studio and Aspire, the secrets are encoded and the deployed secrets have incorrect values.

Examples of secrets with incorrect deployed values:

- "Parameters:issuersdjwtkey": "-----BEGIN EC PRIVATE KEY-----\nM
- "Parameters:postgrespassword": "Ssssfefff(cc"

The special chars get encoded or the \n cannot be deployed correctly.

Deployment target: Azure App containers

### Expected Behavior

Secrets should be deployed correctly.

### Steps To Reproduce

Setup up a default project and deploy secrets with special characters or incorrect values.

### Exceptions (if any)

_No response_

### .NET Version info

_No response_

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.