Skip to content

Conversation

SteveL-MSFT
Copy link
Member

@SteveL-MSFT SteveL-MSFT commented Mar 14, 2024

PR Summary

  • Add ability to pass secureString and secureObject parameter types
  • These get passed as JSON (aligned with how you'd define them in an ARM parameters file) to resources where properties match:
{
  "secureString": "string"
}

and

{
  "secureObject": { }
}
  • See the test Echo resource as an example
  • Enable execution of expressions for parameter default values
  • Enable type validation of default values for parameters
  • Removed redundant input JSON schema validation since it's already being done in the command resource method invocation

PR Context

@SteveL-MSFT SteveL-MSFT merged commit c867585 into PowerShell:main Mar 22, 2024
@SteveL-MSFT SteveL-MSFT deleted the secure-params branch March 22, 2024 19:42
michaeltlombardi added a commit to michaeltlombardi/DSC that referenced this pull request Apr 12, 2024
This change updates the casing for the secure parameter types from
`securestring` and `secureobject` to `secureString` and `secureObject`,
as implemented in PowerShell#364.

It updates both the source and composed schemas.
michaeltlombardi added a commit to michaeltlombardi/DSC that referenced this pull request Apr 15, 2024
This change updates the casing for the secure parameter types from
`securestring` and `secureobject` to `secureString` and `secureObject`,
as implemented in PowerShell#364.

It updates both the source and composed schemas.
michaeltlombardi added a commit to michaeltlombardi/DSC that referenced this pull request Apr 16, 2024
This change updates the casing for the secure parameter types from
`securestring` and `secureobject` to `secureString` and `secureObject`,
as implemented in PowerShell#364.

It updates both the source and composed schemas.
michaeltlombardi added a commit to michaeltlombardi/DSC that referenced this pull request Apr 18, 2024
This change updates the casing for the secure parameter types from
`securestring` and `secureobject` to `secureString` and `secureObject`,
as implemented in PowerShell#364.

It updates both the source and composed schemas.
michaeltlombardi added a commit to michaeltlombardi/DSC that referenced this pull request Apr 18, 2024
This change updates the casing for the secure parameter types from
`securestring` and `secureobject` to `secureString` and `secureObject`,
as implemented in PowerShell#364.

It updates both the source and composed schemas.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants