secureString parameter cannot be passed to properties
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 40/100
Línea de trabajo
The payload names no source files, so start by finding where parameter type validation emits "is not a string" and where the secret() function result is resolved. Run the YAML from the report to reproduce the error. Done means a secureString parameter returned by secret() can be used in a string property and the value is written in clear text, with a test covering it.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Summary
The secureString parameter handling should be consistent with ARM templates usage. I need to be able to retrieve a secret from somewhere and pass it any property of any resource that accepts a string.
Steps to reproduce
parameters:
message:
type: secureString
defaultValue: "[secret('test')]"
resources:
- name: Echo parameter
type: Microsoft.Filesystem.File/Content
properties:
path: c:\temp\hello-dsc.txt
content: "[parameters('message')]"
Expected behavior
The secret value gets written in clear text into c:\temp\hello-dsc.txt
Actual behavior
ERROR Parameter input failure: Validation: Parameter 'message' is not a string
Error details
ERROR Parameter input failure: Validation: Parameter 'message' is not a string
Environment data
v3.3.0
Version
v3.3.0
Visuals
No response
- Lenguaje dominante
- Rust
- Estrellas
- 536
- Forks
- 76
- Merge medio
- 1 d 11 h
- PR fusionados (30 d)
- 15
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PowerShell/DSC
-
Issue-Enhancement Needs Triage
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
PowerShell/DSC#1750 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Issue-Bug Need-Review
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
PowerShell/DSC#1749 ·
Los mantenedores suelen responder en 1 día
-
"apt install dsc" will install the preview release instead of stablePosiblemente ocupada @SteveL-MSFT la tomó hace 1 día. AbiertoIssue-Bug Need-Review
PowerShell/DSC#1746 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Issue-Enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
PowerShell/DSC#1737 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Issue-Bug
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
PowerShell/DSC#1736 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de PowerShell/DSC
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
rescript-lang/rescript#8765 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
farion1231/cc-switch#8072 ·
Los mantenedores suelen responder en 1 día
-
Python 3.15 supportPosiblemente ocupada @amnesiaof la tomó hoy. AbiertoL: python L: python:uv
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
dependabot/dependabot-core#16524 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
[Bug]: Migration link in chromadb/config.py error message returns 404Posiblemente ocupada @Imad2702 la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
chroma-core/chroma#7879 ·
Los mantenedores suelen responder en 1 día