Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password Alias attribute for dcm:key and dcm:certificate elements #86

Open
zfivgas opened this issue Jan 8, 2018 · 4 comments
Open

Comments

@zfivgas
Copy link

zfivgas commented Jan 8, 2018

The dcm:certificate and dcm:key elements indicate a password attribute however that is deprecated. Is there password alias attribute that can be used?

@nhmathis
Copy link
Collaborator

Could you please further explain your error? Which targets are you expecting to use? I'm not seeing references to a deprecated password attribute.

@richgroot
Copy link
Contributor

richgroot commented Jan 29, 2018 via email

@zfivgas
Copy link
Author

zfivgas commented Jan 29, 2018

@nhmathis The use of passwords in certain objects like certificates and keys (http://www-01.ibm.com/support/docview.wss?uid=swg21702755) has been deprecated since v7.2.

http://www-01.ibm.com/support/docview.wss?uid=swg21634531#dr720

@richgroot I would probably do more harm than good trying to update the code. I am not in any rush as this will be an enhancement to some of our process automation. Thank you!

@samdjones
Copy link
Contributor

This missing feature has also irritated me for quite some time and I'm quite sure it has lost DCM some users over the years.

That said, I wouldn't worry too much about using a deprecated DP feature in pre-production environments. So you are ok where you absolutely need deployments to be fully automated (e.g. CI/CD pipelines).

When it comes to production, you can minimize the pain by using the "objects-from-def" DCM task and a definition file with something like this:

<dcm:object-create> <PasswordAlias name="MyPasswordAlias"> <mAdminState>enabled</mAdminState> <UserSummary>Blah blah blah</UserSummary> <Password>${my.password}</Password> </PasswordAlias> </dcm:object-create>

Then post-deploy you will just need to manually use the UI to select the correct PasswordAlias for all your Key objects. Good enough for a handful of passwords; bad luck if you have dozens I'm afraid...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants