You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating System: any
VenafiPS version: 4.6.0
PowerShell version: 5.1+
TPP version (if applicable): 21.4
Steps to reproduce
Reading a Custom Field using its label works, however, setting the value by label returns an error when this custom field can be controlled by Policy. You can still set the value for such a custom field by its' guid.
Custom fields that are not policy enabled can be set by their label.
If the provided custom field label conflicts with a built-in attribute then an error can be returned. Alternatively, please add an optional switch in the function to explicitly state the passed attribute is a custom field.
The text was updated successfully, but these errors were encountered:
Environment
Steps to reproduce
Reading a Custom Field using its label works, however, setting the value by label returns an error when this custom field can be controlled by Policy. You can still set the value for such a custom field by its' guid.
Custom fields that are not policy enabled can be set by their label.
Set value for non-policy custom field by label works.
PS /Users/saad.humayun> Set-TppAttribute -Path '\VED\Policy\Certificates\Teams\New team\test cert' -Attribute @{'Application Id'='My App 23'}
Expected behavior
Since reading work by label, so should writing.
Actual behavior
An error is returned.
More Info
If the provided custom field label conflicts with a built-in attribute then an error can be returned. Alternatively, please add an optional switch in the function to explicitly state the passed attribute is a custom field.
The text was updated successfully, but these errors were encountered: