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

Retreiving a field value fails. #69

Closed
dpavlotzky opened this issue Jan 25, 2023 · 1 comment
Closed

Retreiving a field value fails. #69

dpavlotzky opened this issue Jan 25, 2023 · 1 comment

Comments

@dpavlotzky
Copy link

dpavlotzky commented Jan 25, 2023

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6.28.0
  • Ruby:
  • Distribution: Windows Server 2019
  • Module version: 0.6.0

How to reproduce (e.g Puppet code you use)

$v = vault_lookup::lookup('ad/creds/puppet',
  "https://vault.${trusted['domain']}:8200",
  'v1/auth/cert',
  'wsus',
  nil,
  'current_password'
)

What are you seeing

Error: Failed to apply catalog: Error parsing json secret data from vault response

What behaviour did you expect instead

Compiled catalog and value of current_password field retrieved.

Output log

Any additional information you'd like to impart

@kenyon kenyon changed the title Retreiving a fiel value fails. Retreiving a field value fails. Jan 25, 2023
@dpavlotzky
Copy link
Author

I was using the this module to lookup a value from a Active Directory secret engine. This module is only intended for use with the Key/Value secret engine. Sorry about the noise.

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

Successfully merging a pull request may close this issue.

1 participant