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

Azure Key Vault Private Key Passphrase not recognized #15176

Open
5 of 11 tasks
GiuffreLab opened this issue May 9, 2024 · 2 comments
Open
5 of 11 tasks

Azure Key Vault Private Key Passphrase not recognized #15176

GiuffreLab opened this issue May 9, 2024 · 2 comments

Comments

@GiuffreLab
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to security@ansible.com instead.)

Bug Summary

No response

AWX version

24.3.1

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

kubernetes

Modifications

no

Ansible version

No response

Operating system

Ubuntu 20.04

Web browser

Edge

Steps to reproduce

  • Created a Microsoft Azure Key Vault credential
  • Successfully performed vault test of Secret value
  • Successfully used MS-AKV lookup Machine credentials (Password) or Created Credential values in other playbook tasks
  • Create a SSH key (RSA 4096) with passphrase that was copied manually from MS-AKV secrets
  • Create a Machine Credential copying the SSH Private key
  • Use the Private key Passphrase information from the external secret manager (MS-AKV credential/secret)
  • Save new credential

Expected results

Successful creation of the Machine key

Actual results

Error "must be set when SSH key is encrypted" shown below the Private Key Passphrase field and unable to save.

Additional information

This was also seen on AWX version 24.0.0 before upgrading to 24.3.1 on the same environment.

@TheRealHaoLiu
Copy link
Member

can you send a screenshot of this and also can you try this on the new UI (ui_next) to see if this problem still exist.

@GiuffreLab
Copy link
Author

can you send a screenshot of this and also can you try this on the new UI (ui_next) to see if this problem still exist.

The new interface does not have the option to use an external secret management system (and the fields that do, do nothing when clicked).

image

This is testing the secret value against the key vault

image

This is the error you see when trying to save an Azure Key Vault secret in the private key passphrase

image

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

No branches or pull requests

2 participants