Comments (5)
Thank you @johlju for the assistance. Closing this task.
from sqlserverdsc.
In production you should use certificates to encrypt and decrypt PSCredential object, otherwise they will be in clear text in the compiled MOF file.
For non-production environment (e.g lab environment) you can override it by saying it should allow clear-text password.
See here for more information: https://learn.microsoft.com/en-us/powershell/dsc/configurations/configdatacredentials?view=dsc-1.1
from sqlserverdsc.
In production you should use certificates to encrypt and decrypt PSCredential object, otherwise they will be in clear text in the compiled MOF file.
For non-production environment (e.g lab environment) you can override it by saying it should allow clear-text password.
See here for more information: https://learn.microsoft.com/en-us/powershell/dsc/configurations/configdatacredentials?view=dsc-1.1
Thank you @johlju. Follow-up question, and I haven't looked so if this is quickly searchable I apologize in advance for my laziness, but is the cert and such something that can be done inside DSC before we get to the sqlsetup part?
Thanks,
Nathan
from sqlserverdsc.
You answered the question yourself already, the link you provided in the issue description. 🙂 It describes what is needed.
You can't set up the certificate part in the same configuration your compiling because that would be a catch-22. You can't compile it because you need a cert and you can't get a cert because you can't compile.
You need to set up the certificate on the target node and use that to compile the configuration. Also (assuming you using LCM) you need to configure LCM on the target node with the certificate so you can use the compiled configuration (so it ca decrypt the secret information).
from sqlserverdsc.
ah, I see what you are saying. Makes sense. Really appreciate your help and support. Time to talk with Windows and InfoSec to see how we can do this.
Nathan
from sqlserverdsc.
Related Issues (20)
- SqlIntegrationServicesCatalog: Resource to perform the initial creation of the Integration Services Catalog HOT 5
- [SqlAGListeners]SqlAGListeners] The character length of the 16 argument is too long HOT 4
- SqlDatabaseObjectPermission: INSERT permission never shows as InDesiredState when other permissions are on the table HOT 4
- SqlRs: Integration test fails on SQL Server 2022 HOT 3
- Install-SqlDscReportingServices: New command proposal
- Get-SqlDscReportingServices: New command proposal
- Uninstall-SqlDscReportingServices: New command proposal
- Get-SqlDscReportingsServicesConfiguration: New command proposal
- Initialize-SqlDscReportServer: New command proposal
- Set-SqlDscReportServerVirtualDirectory: New command proposal
- Add-SqlDscReportServerUrlReservation: New command proposal
- Request-SqlDscReportServerDatabaseScript: New command proposal
- Register-SqlDscReportServerDatabaseScript: New command proposal HOT 1
- Request-SqlDscReportServerDatabaseRightsScript: New command proposal
- Register-SqlDscReportServerDatabaseRightsScript: New command proposal HOT 1
- Set-SqlDscReportServerDatabaseConnection: New command proposal
- Enable-SqlDscReportServerTls: New command proposal HOT 1
- Disable-SqlDscReportServerTls: New command proposal
- Remove-SqlDscReportServerUrlReservation: New command proposal
- Restore-SqlDscDatabase: New command proposal HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlserverdsc.